joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ff3c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4500e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4500c8
mov dl, 1
mov eax, dword [0x411a34]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4500b7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043df70
test al, al
je 0x4500aa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4500f8
lea eax, [ebp - 0x254]
call fcn.00408990
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4500aa
xor eax, eax
push ebp
push 0x4500a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450130
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45008c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45008c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4500aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ffad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415510
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4500ee
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x450a1c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x458bdc]
cmp byte [eax + 0xa5], 0
jne 0x450a8d
cmp dword [0x458bf4], 0
jne 0x450a4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4509d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x458bf4], eax
cmp dword [0x458bf0], 0
jne 0x450a69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x458bf0], eax
cmp dword [0x458bf8], 0
jne 0x450a8d
push esp
push 0
push 0
push 0x45097c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x458bf8], eax
pop edx
ret
Function at 0x450b84
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450b9b
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419320
mov eax, dword [0x456fc4]
cmp word [eax + 2], 0
jne 0x450bc3
mov eax, dword [0x456fc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004522ec
mov eax, dword [0x457070]
cmp word [eax + 2], 0
jne 0x450bdd
mov eax, dword [0x457070]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004524e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411618]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411618]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b854]
call fcn.00422bcc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450d64
mov eax, dword [0x456eec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422f9c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452a84
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x456eec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c060
test eax, eax
je 0x450cd2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408384
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c088
test eax, eax
je 0x450ce6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x456de0]
cmp byte [eax], 0
jne 0x450d1a
mov eax, ebx
call fcn.00450e8c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00452c60
mov eax, ebx
call fcn.00453624
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450d5a
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45110c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x458bdc]
cmp dword [eax + 0x30], 0
je 0x4511b6
cmp dword [ebx + 0x94], 0
jne 0x4511b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45109c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4511b0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451176
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4511b0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413980
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451185
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451d18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451d4d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x451d5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452e3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452e7d
mov eax, esi
call fcn.00439630
test al, al
je 0x452e7d
mov eax, dword [ebx + 0x84]
call fcn.0043932c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452e7d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043932c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x453d70
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov eax, edi
call fcn.00403e4c
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x453df5
test bl, bl
je 0x453db0
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
mov esi, eax
shl esi, 0x10
or esi, 0x1000000
jmp 0x453dc4
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
mov esi, eax
shl esi, 0x10
test esi, esi
je 0x453e9f
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push esi
call sub.user32.dll_GetKeyNameTextA
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
jmp 0x453e9f
test bl, bl
je 0x453e1b
mov eax, dword [0x458c00]
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyExA
mov esi, eax
shl esi, 0x10
or esi, 0x1000000
jmp 0x453e35
mov eax, dword [0x458c00]
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyExA
mov esi, eax
shl esi, 0x10
test esi, esi
je 0x453e9f
push 0
call sub.user32.dll_GetKeyboardLayout
mov ebx, eax
cmp ebx, dword [0x458c00]
je 0x453e57
push 0
mov eax, dword [0x458c00]
push eax
call sub.user32.dll_ActivateKeyboardLayout
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push esi
call sub.user32.dll_GetKeyNameTextA
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
cmp ebx, dword [0x458c00]
je 0x453e9f
cmp byte [0x458c04], 0
je 0x453e97
mov eax, dword [0x458c00]
push eax
call sub.user32.dll_UnloadKeyboardLayout
push 0
push ebx
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [edi]
call fcn.0040410c
dec eax
jg 0x453ed2
lea ecx, [ebp - 4]
lea edx, [ebp - 2]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00453854
mov ax, word [ebp - 4]
call fcn.00453888
test al, al
je 0x453ed2
mov edx, edi
mov ax, word [ebp - 4]
call fcn.0045389c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10ee2
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
xor esi, esi
cmp dword [esi*4 + 0x115a0], 0
je 0x10ef6
inc esi
cmp esi, 0x1f
jb 0x10ee6
mov edi, dword [esp + 0xc]
push edi
push esi
push 0x10ece
call sub.ntoskrnl.exe_DbgPrint
and dword [esi*4 + 0x115a4], 0
add esp, 0xc
mov dword [esi*4 + 0x115a0], edi
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x112c1
Capabilities:
Persist via run registry key
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x111e8
lea eax, [ebp - 0xc]
push eax
call edi
mov esi, dword [ebp + 8]
push esi
call fcn.0001054c
lea eax, [esi + eax*2]
jmp 0x112f0
cmp word [eax], 0x5c
je 0x112fa
dec eax
dec eax
cmp eax, esi
jne 0x112e8
cmp word [eax], 0x5c
jne 0x112fc
inc eax
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
xor edi, edi
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0xc0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
je 0x11340
push 0x11268
jmp 0x11363
push esi
call fcn.0001054c
shl eax, 1
push eax
push esi
push 1
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
test eax, eax
je 0x1136c
push 0x1127c
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x11379
push 0x112a0
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
inc eax
pop ecx
pop edi
pop esi
leave
ret 4
Function at 0x1000261d
Capabilities:
Resume thread

Disassembly:
push 8
mov eax, 0x1000b431
call fcn.1000a6a6
mov esi, 0x10015024
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x10014fed], bl
jne 0x1000269a
push str.starting_PDFL_thread..._n
call fcn.100026ab
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [0x10014ff0], eax
mov byte [0x10014fec], bl
cmp dword [0x10014fe4], ebx
jne 0x10002676
call fcn.100025f7
push dword [0x10014fe4]
call dword [sym.imp.kernel32.dll_ResumeThread]
push 0xea60
push dword [0x10014ff0]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [0x10014fed], 1
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.1000a77e
ret

Function at 0x100026ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x100026ba
pop dword [ebp - 0x3c]
mov eax, 0x7029d874
sub eax, 0x6029b1ba
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x15b238ec
sub dword [ebp - 0x4c], 0xc75ff3a1
mov dword [ebp - 0x48], 0x46755e2f
sub dword [ebp - 0x48], 0x144211ea
mov dword [ebp - 0x44], 0x432b2880
add dword [ebp - 0x44], 0x9211bae
mov dword [ebp - 0x40], 0x7dc012ae
add dword [ebp - 0x40], 0x823fed52
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x75ecdf65
add eax, 0x9a13f193
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc2cd9ed7
add dword [ebp - 0x4c], 0xb1a4ca7f
mov dword [ebp - 0x48], 0x31846079
add dword [ebp - 0x48], 0xfe800fc
mov dword [ebp - 0x44], 0xf9e67715
sub dword [ebp - 0x44], 0x96770aa9
mov dword [ebp - 0x40], 0xccd7c552
add dword [ebp - 0x40], 0x33283aae
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3950f
push 0
call eax
mov ecx, 0x3897c3f7
add ecx, 0xc76887b0
mov edi, eax
mov edx, 0x10019c00
add edx, dword [ebp - 0x3c]
mov esi, 0x2a5d365
add esi, 0x754d53fa
sub dword [ebp - 4], edi
mov ebx, dword [edx]
xor dword [ebp - 0xc], 0xcbb59718
sub ebx, esi
sub dword [ebp - 0x24], 0xf1fb7cd9
mov dword [edi], ebx
xor dword [ebp - 4], 0x22041eec
add edi, 4
add edx, 0xa44fbdc1
sub edx, 0xa44fbdbd
loop 0x100027d1
add eax, 0x1216f
xor ebx, ebx
add ebx, eax
add eax, 0xb364328d
add eax, 0x4c9bcd78
mov ecx, 0x59dedb67
add ecx, 0xb6212499
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10009a58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000b983
call fcn.1000a745
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call fcn.10006ab2
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x10009ab0
call fcn.10004252
mov esi, eax
jmp 0x10009b86
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x10009ac9
call fcn.10004252
jmp 0x10009b78
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x10009abf
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x10009b03
mov esi, 0x8007000e
jmp 0x10009b7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100026ab
mov dword [ebp - 4], 1
jmp 0x10009b31
cmp dword [ebp - 0x418], esi
je 0x10009afc
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x10009abf
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.100026ab
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009b9f
lea ecx, [ebp - 0x418]
call fcn.100061ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10004520
mov eax, esi
call fcn.1000a7a1
ret 0x10
Function at 0x1001dc93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001dca2
pop dword [ebp - 4]
mov eax, 0x519d3597
add eax, 0xbe64a70b
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xb545ef55
add dword [ebp - 0x14], 0x990c55f6
mov dword [ebp - 0x10], 0xc597ccd3
add dword [ebp - 0x10], 0x6c9b7f72
mov dword [ebp - 0xc], 0xa75b180
add dword [ebp - 0xc], 0x41d692ae
mov dword [ebp - 8], 0xab3f3f0
sub dword [ebp - 8], 0xab3f3f0
lea eax, [ebp - 0x14]
push eax
mov eax, 0x6e09a1b
sub eax, 0xf6de79d7
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x4d2a7398
add dword [ebp - 0x14], 0x2747f5be
mov dword [ebp - 0x10], 0x78e5cf16
sub dword [ebp - 0x10], 0x37796da1
mov dword [ebp - 0xc], 0xac78e24f
add dword [ebp - 0xc], 0xb6f68a1d
mov dword [ebp - 8], 0xa847da28
sub dword [ebp - 8], 0xa847da28
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xc585ed0a
add eax, 0x4a7c3336
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x35b24
push 0
call eax
mov ecx, 0x7620cc69
add ecx, 0x89df71dd
xor edx, edx
add edx, eax
mov ebx, 0x10031c00
add ebx, dword [ebp - 4]
mov esi, 0x18d4341a
add esi, 0xd3eedc90
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 4
add ebx, 0x72d0c5d1
sub ebx, 0x72d0c5cd
loop 0x1001ddc0
add eax, 0xaa639006
sub eax, 0xaa62a41b
mov ebx, eax
add eax, 0xbc2e0baf
add eax, 0x43d1f456
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x1001deb6
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [edi + 0x289c]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x292c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [edi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x2930], eax
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1001df26
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x28a0]
push dword [edi + 0x289c]
push dword [edi + 0x2930]
push dword [edi + 0x292c]
push dword [edi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push edi
call fcn.1001df2f
pop ecx
pop edi
ret
Function at 0x40834c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x4c
mov eax, dword [0x525a6c]
test eax, eax
je 0x40837e
mov dword [esp + 8], eax
xor ebx, ebx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.004280dd
test eax, eax
setne bl
jmp 0x40849b
xor edi, edi
test edx, edx
je 0x40838e
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov edi, eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4083c7
mov dword [esp + 8], 0x91
mov dword [esp + 4], 0x4982d4
mov dword [esp], 0x4982ea
call dword [0x494088]
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], 0x2001d
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x4083fb
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x408445
lea eax, [ebp - 0x1c]
mov dword [esp + 0x14], 7
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x498328
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
je 0x408449
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor ebx, ebx
jmp 0x408479
xor ecx, ecx
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
test eax, eax
sete bl
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40848a
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40849b
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4084a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
xor edx, edx
mov ecx, 0x41
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
sub esp, 0x16c
mov dword [ebp - 0x13c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x130], edx
mov ecx, 0x1ff
mov dword [ebp - 0x12c], edx
mov edx, 0x4e23c0
mov dword [ebp - 0x124], 0xffffffff
mov edi, edx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x120], 0x1ff
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebp - 0x11c]
mov ecx, eax
mov ebx, eax
test ebx, ebx
je 0x4085bd
mov eax, dword [ebp - 0x13c]
cmp byte [eax + ebx], 0x5c
je 0x408525
dec ebx
jmp 0x40850e
cmp ebx, 0x103
ja 0x4086b8
mov eax, 0x104
inc ecx
mov esi, dword [ebp - 0x13c]
mov edi, edx
cmp ecx, eax
cmova ecx, eax
mov eax, dword [ebp - 0x13c]
rep movsb byte es:[edi], byte [esi]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebp - 0x11c]
lea ecx, [eax + 1]
cmp ecx, 0x104
mov ecx, 0x103
cmovae eax, ecx
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x12c]
mov byte [ebp + ebx - 0x11c], 0
inc ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x408650
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x408690
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x2001d
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x498347
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x4085fe
xor eax, eax
mov dword [ebp - 0x130], eax
jmp 0x408690
lea eax, [ebp - 0x128]
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], 7
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x498350
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x4085b0
lea eax, [ebp - 0x120]
xor ecx, ecx
mov dword [esp + 0x10], 0x4e23c0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x13c]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4086a4
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4086b8
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret