joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47fd04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x47fd19
add esp, 0xfffffff0
call fcn.00403594
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404470
xor eax, eax
push ebp
push 0x47fddc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0047be80
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d60
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d60
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d60
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d60
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412d88
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fde3
lea eax, [ebp - 4]
call fcn.00403fc0
ret
Function at 0x484118
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4841f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x48420c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404014
push 0xffffffffffffffff
mov ecx, 0x48421c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x484238
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00470960
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x484254
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047084c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x484268
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047084c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x484280
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00470960
mov byte [ebx + 0x34], al
mov ecx, 0x484294
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047bb5c
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841fc
lea eax, [ebp - 4]
call fcn.00403fc0
ret

Function at 0x4a0f58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4a0f90]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a0f6e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a0f7d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a0f8c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4a1898
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4378a8]
call fcn.004033fc
test al, al
je 0x4a18da
mov eax, dword [0x4c1c18]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a18da
mov edx, dword [0x4c1c18]
xor edx, edx
call fcn.00454a3c
push 0
mov eax, dword [0x4c1c18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4b71d8
Capabilities:
Stop service

Disassembly:
push ebx
add esp, 0xffffffe4
mov ebx, eax
push esp
push 1
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x1c
pop ebx
ret
Function at 0x4b722c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404470
mov eax, dword [ebp - 8]
call fcn.00404470
xor eax, eax
push ebp
push 0x4b72e6
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
push 0xf003f
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004b7184
test al, al
je 0x4b72cb
mov eax, dword [ebp - 4]
call fcn.00404480
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.004b71b4
test al, al
jne 0x4b72c9
push 0
mov eax, dword [ebp - 8]
call fcn.00404480
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x1f
jbe 0x4b72c2
push 0x3e8
call sub.kernel32.dll_Sleep
mov edx, esi
mov eax, ebx
call fcn.004b71b4
test al, al
je 0x4b72bb
mov esi, 1
jmp 0x4b72cb
mov esi, 2
jmp 0x4b72cb
mov esi, 2
jmp 0x4b72cb
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b72ed
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fe4
ret

Function at 0x4b964c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404470
mov eax, dword [ebp - 8]
call fcn.00404470
xor eax, eax
push ebp
push 0x4b975a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa7]
xor ecx, ecx
mov edx, 0x81
call fcn.00402c70
lea eax, [ebp - 0x128]
xor ecx, ecx
mov edx, 0x81
call fcn.00402c70
lea eax, [ebp - 0xa7]
mov edx, dword [ebp - 4]
call fcn.0040891c
mov eax, ebx
dec eax
jne 0x4b96c3
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
call fcn.0040891c
xor eax, eax
mov dword [ebp - 0x26], eax
dec ebx
je 0x4b96d0
dec ebx
je 0x4b96d9
jmp 0x4b96e2
mov dword [ebp - 0x22], 2
jmp 0x4b96e9
mov dword [ebp - 0x22], 3
jmp 0x4b96e9
mov dword [ebp - 0x22], 2
lea eax, [ebp - 0xa7]
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b9733
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b973f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9761
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fe4
ret
Function at 0x403274
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ae8
test esi, esi
jne 0x4032aa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404bd8
jmp 0x4032c8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403178
mov edi, eax
test esi, esi
je 0x4032c8
cmp dword [ebx], 0
je 0x4032c8
dec esi
jmp 0x4032b1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a1020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a98
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a78
xor eax, eax
push ebp
push 0x403a71
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ab4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4a1020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a1020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4048b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a504c], 0
je 0x404915
cmp word [0x4a5220], 0xd7b2
jne 0x4048dd
cmp dword [0x4a5228], 0
jbe 0x4048dd
mov eax, 0x4a521c
call dword [0x4a5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40493c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a102c], 0
jne 0x404931
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404a6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4a1030], 0
je 0x404a92
mov edx, esi
mov eax, ebx
call dword [0x4a1030]
jmp 0x404aa1
mov eax, 8
call fcn.00402e88
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4a504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404a34
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4061b0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406233
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406233
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4062bc
xor eax, eax
push ebp
push 0x4062b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405fec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40629a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40641c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40629a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062bc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4063d6
cmp byte [ebp - 0xd], 0
jne 0x406303
cmp byte [ebp - 0x12], 0
je 0x4063d6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40631c
dec ebx
cmp byte [ebx], 0x2e
je 0x40632b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40631b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4063d6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406368
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063d6
cmp byte [ebp - 0xd], 0
je 0x4063d6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063d6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408a3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408a8e
test eax, edx
je 0x408a91
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408a51
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408a77
add ecx, 4
js 0x408a67
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408a74
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408a9d
test edx, edx
jne 0x408a44
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4095d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f78
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4095ee
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40960f
cmp ebx, 3
je 0x40960f
cmp ebx, 0x7b
je 0x40960f
mov eax, esi
call fcn.00409590
test al, al
jne 0x409613
xor eax, eax
jmp 0x409615
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c234
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c26d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bd8
jmp 0x40c276
mov eax, ebx
mov edx, esi
call fcn.00404b3c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c280
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c2a2
movzx eax, byte [esp]
jmp 0x40c2a4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c934
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c7ac
mov eax, dword [0x4a4da0]
cmp byte [eax], 0
je 0x40c9b0
mov eax, dword [0x4a4ac8]
call fcn.0040338c
call fcn.00402fe4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004097d0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c9f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c9e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a4a58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a77f8]
call fcn.00405f94
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d2dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d3b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b80
lea eax, [ebp - 4]
call fcn.00404fd0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d39c
mov eax, ebx
call fcn.00402e88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d395
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d37f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d3c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d37f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d39c
mov eax, dword [ebp - 0x10]
call fcn.00402ea4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3b9
lea eax, [ebp - 4]
call fcn.00404ae8
ret

Function at 0x41f358
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041f068
dec esi
jne 0x41f37a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4204ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a99f0
cmp dword [edi], 0
jne 0x420568
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a99ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a1b88
mov ecx, 2
call fcn.00403078
mov edx, 0x4204c4
lea eax, [esi + 5]
call fcn.004204e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004204e4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42053d
mov dword [0x4a99ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x423fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f78
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x424018
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a4f3c]
mov dl, 1
mov eax, dword [0x4238fc]
call fcn.0040cb18
call fcn.0040447c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00423a70
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4253b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4253b6
ret
Function at 0x43f284
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404ae8
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43f2d2
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d58
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4443b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4444e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42395c]
call fcn.00423a98
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4444bd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00423b74
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404d58
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4444fc
call fcn.00404e00
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00423d00
lea ecx, [ebp - 4]
mov edx, 0x444538
mov eax, dword [ebp - 0xc]
call fcn.00423f48
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e590
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4444a0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x444544
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4a25e4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4444a7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x444594
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4445db
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445be
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445cf
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4445db
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x449a3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a9c54], 0
je 0x449b85
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a4d08]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x449b85
mov eax, dword [0x4a9c58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a9c54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x449b54
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a9c54]
call fcn.0041846c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x449b4c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x449b4c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x449b4c
mov eax, dword [ebp - 0x14]
call fcn.0045433c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x449b4c
push ebp
call fcn.004499f8
pop ecx
test al, al
jne 0x449b4c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403e04
test al, al
je 0x449b4c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403e04
cmp byte [ebp - 1], 0
je 0x449b4c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x449b4c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a9c58]
call fcn.00449168
inc edi
dec ebx
jne 0x449aa1
mov eax, dword [0x4a9c58]
cmp dword [eax + 8], 0
jle 0x449b6c
mov eax, dword [0x4a9c58]
call fcn.00449220
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x449b85
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044985c
pop ecx
test al, al
jne 0x449b85
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret