joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ffbc
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov dword [esp + 4], ecx
mov esi, edx
mov dword [esp], eax
mov dword [esp + 0x1c], 0xffffffff
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0xc
mov eax, 3
and eax, esi
cmp eax, 2
ja 0x430000
mov edx, 1
and edx, esi
mov ecx, 8
and ecx, esi
and edx, ecx
je 0x430008
or eax, 0xffffffff
jmp 0x4301dd
test eax, eax
je 0x430031
mov edi, 0x40000000
mov edx, 0x4301e8
mov eax, dword [esp]
call fcn.00415660
test eax, eax
je 0x43002a
mov dword [esp + 4], 1
mov ebp, 2
jmp 0x43003b
mov edi, 0x80000000
mov ebp, 3
cmp esi, 0x10a
jne 0x4300bc
push 0
push 0x80
push 3
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, 0x80000000
or eax, edi
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430105
push 0
push 0x80
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430105
call sub.kernel32.dll_GetLastError_2
mov dword [0x4369ec], eax
cmp dword [0x4369ec], 0x6e
jne 0x4300b4
mov dword [0x4369ec], 2
or eax, 0xffffffff
jmp 0x4301dd
push 0
push 0x80
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430105
call sub.kernel32.dll_GetLastError_2
mov dword [0x4369ec], eax
cmp dword [0x4369ec], 0x6e
jne 0x4300fd
mov dword [0x4369ec], 2
or eax, 0xffffffff
jmp 0x4301dd
push 8
push ebx
call sub.msvcrt.dll__open_osfhandle
add esp, 8
mov edi, eax
test esi, 8
je 0x4301d4
mov eax, edi
call fcn.0041ebd4
test eax, eax
jne 0x4301d4
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
test eax, eax
je 0x4301d4
mov word [esp + 8], 0
mov dword [esp + 0x10], 0xffffffff
push 2
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_SetFilePointer_1
mov ebp, eax
call sub.kernel32.dll_GetLastError_2
mov dword [0x4369ec], eax
cmp ebp, 0xffffffff
jne 0x430186
cmp dword [0x4369ec], 0
je 0x430186
cmp edi, 0xffffffff
je 0x430181
push edi
call sub.msvcrt.dll__close
pop ecx
or eax, 0xffffffff
jmp 0x4301dd
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x14]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
mov ebp, eax
test ebp, ebp
jne 0x4301b5
xor eax, eax
mov dword [esp + 0x10], eax
push 2
lea eax, [esp + 0x14]
push eax
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
cmp word [esp + 8], 0x1a
jne 0x4301d4
mov dword [esp + 0x10], 0xffffffff
push 2
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_SetFilePointer_1
mov eax, edi
call fcn.00430300
mov eax, edi
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43056c
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff8
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0x5c
mov word [esp + 6], 0
push esp
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x430598
xor eax, eax
pop ecx
pop edx
ret
mov al, 1
pop ecx
pop edx
ret

Function at 0x4305a0
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffddc
mov word [esp + 8], ax
mov word [esp + 0xa], 0x3a
mov word [esp + 0xc], 0x5c
mov word [esp + 0xe], 0
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x4305d3
mov al, 1
jmp 0x430618
cmp eax, 2
je 0x430616
cmp eax, 5
je 0x430616
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x10]
push eax
push 0x104
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x430616
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x430616
mov al, 1
jmp 0x430618
xor eax, eax
add esp, 0x224
ret

Function at 0x430af0
Capabilities:
Set console window title

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
test ebx, ebx
je 0x430bc2
mov eax, dword [0x436ae4]
cmp dword [eax], 0
jne 0x430bc2
mov eax, dword [0x436a24]
cmp byte [eax], 0
jne 0x430bc2
mov eax, 0x20c
call fcn.0040404c
mov dword [esp], eax
cmp dword [esp], 0
je 0x430bc2
push 0x104
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetConsoleTitleW
mov esi, eax
test esi, esi
je 0x430bc2
mov eax, ebx
call fcn.0041af9c
add eax, esi
add eax, dword [0x44f958]
add eax, 0xa
mov edx, eax
add edx, edx
mov eax, esp
call fcn.00404080
cmp dword [esp], 0
je 0x430bc2
mov eax, dword [0x436b60]
cmp byte [eax], 0
je 0x430b85
mov eax, dword [0x44f958]
add eax, eax
add eax, dword [esp]
mov edx, ebx
call fcn.0041afac
jmp 0x430bb1
mov edx, 0x430bc8
mov eax, dword [esp]
call fcn.0041afc0
mov eax, dword [esp]
call fcn.0041af9c
mov dword [0x44f958], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0041afc0
mov eax, dword [0x436b60]
mov byte [eax], 1
mov eax, dword [esp]
push eax
call sub.kernel32.dll_SetConsoleTitleW
mov eax, dword [esp]
call fcn.00404068
pop edx
pop esi
pop ebx
ret

Function at 0x430cc0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x44f95c
mov eax, ebx
mov edx, 8
test al, 1
je 0x430cdc
shr eax, 1
xor eax, 0xedb88320
jmp 0x430cde
shr eax, 1
dec edx
jne 0x430ccf
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x430cc8
pop ebx
ret

Function at 0x430cf4
Capabilities:
Encode data using xor

Disassembly:
push ebx
not eax
test ecx, ecx
jle 0x430d14
mov ebx, eax
xor bl, byte [edx]
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x44f95c]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
dec ecx
jne 0x430cfb
not eax
pop ebx
ret
Function at 0x4313dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x214], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4314e2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4314f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4314a2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x431530
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43144d
mov bl, 1
jmp 0x431499
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push 0x4314f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x431499
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x431530
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x431490
mov bl, 1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test bl, bl
je 0x4314c9
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x210]
mov ecx, pe_nt_image_headers32
call fcn.004077c4
mov eax, dword [ebp - 0x214]
mov edx, esi
call fcn.00414a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4314e9
lea eax, [ebp - 0x214]
call fcn.00407070
ret
Function at 0x402dc4
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.00404734
test esi, esi
jne 0x402dfa
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.00404824
jmp 0x402e18
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402c78
mov edi, eax
test esi, esi
je 0x402e18
cmp dword [ebx], 0
je 0x402e18
dec esi
jmp 0x402e01
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403818
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403890
xor eax, eax
push ebp
push 0x403889
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 0x4038cc
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 0x403890
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404598
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46404c], 0
je 0x4045f9
cmp word [0x464220], 0xd7b2
jne 0x4045c1
cmp dword [0x464228], 0
jbe 0x4045c1
mov eax, 0x46421c
call dword [0x464238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x462054
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 0x404620
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46201c], 0
jne 0x404615
push 0
push 0x462074
push 0x462054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b5ec
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 0x40b625
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404824
jmp 0x40b62e
mov eax, ebx
mov edx, esi
call fcn.00404788
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c928
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c98c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040499c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409b3c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c993
lea eax, [ebp - 0xc]
call fcn.00404734
ret

Function at 0x423024
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x466c44
cmp dword [edi], 0
jne 0x4230a0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x466c40]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x462cec
mov ecx, 2
call fcn.00402c38
mov edx, 0x422ffc
lea eax, [esi + 5]
call fcn.0042301c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042301c
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 0x423075
mov dword [0x466c40], 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 0x424554
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 0x42455a
ret

Function at 0x4269e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x426a31
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426a18
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426a08
jmp 0x426a31
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x426a19
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431188
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4310d4
call sub.user32.dll_EnumWindows
ret

Function at 0x4312ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x431329
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430cf8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4312d1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430950
cmp dword [ebp - 4], 0
je 0x431313
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404be4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431330
lea eax, [ebp - 4]
call fcn.00404734
ret

Function at 0x433ee8
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 [0x466dcc], 0
je 0x434037
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x463814]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x434037
mov eax, dword [0x466dd0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x466dcc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x434006
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x466dcc]
call fcn.0041a568
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433ffe
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x433ffe
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433ffe
mov eax, dword [ebp - 0x14]
call fcn.0043ca54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433ffe
push ebp
call fcn.00433ea4
pop ecx
test al, al
jne 0x433ffe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433fba
mov eax, dword [ebp - 0x14]
call fcn.0043b5b0
dec eax
jle 0x433ffe
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, 0xffbd
call fcn.00403ba4
cmp byte [ebp - 1], 0
je 0x433ffe
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433ffe
mov edx, dword [ebp - 0x14]
mov eax, dword [0x466dd0]
call fcn.0043366c
inc edi
dec ebx
jne 0x433f4d
mov eax, dword [0x466dd0]
cmp dword [eax + 8], 0
jle 0x43401e
mov eax, dword [0x466dd0]
call fcn.004336fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434037
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433d0c
pop ecx
test al, al
jne 0x434037
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
Function at 0x4375f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43763c
mov eax, esi
call fcn.0044d110
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43763c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43763c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43777b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43767c
cmp eax, 0x108
ja 0x43767c
mov eax, esi
call fcn.0044d110
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437772
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43777b
jmp 0x437772
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43775b
cmp eax, 0x20a
ja 0x43775b
test byte [esi + 0x50], 0x80
jne 0x4376ae
sub eax, 0x203
je 0x4376ab
sub eax, 3
je 0x4376ab
sub eax, 3
jne 0x4376ae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4376c2
dec eax
je 0x4376d7
dec eax
je 0x4376f4
dec eax
je 0x4376d7
jmp 0x4376fb
mov ecx, ebx
mov eax, dword [0x463814]
mov eax, dword [eax]
mov edx, esi
call fcn.004564e8
jmp 0x437772
cmp byte [esi + 0x5d], 1
jne 0x4376ed
mov eax, esi
mov si, 0xffed
call fcn.00403ba4
jmp 0x43777b
or word [esi + 0x54], 1
jmp 0x437772
and word [esi + 0x54], 0xfffe
jmp 0x437772
mov eax, dword [0x466d88]
cmp byte [eax + 0x20], 0
je 0x437772
mov eax, dword [0x466d88]
cmp dword [eax + 0x1c], 0
je 0x437772
mov eax, dword [ebx]
mov edx, dword [0x466d88]
cmp eax, dword [edx + 0x1c]
jne 0x437772
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044d054
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403ba4
jmp 0x43777b
cmp eax, 0xb00b
jne 0x437772
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435f20
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ac4c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43ac68
cmp dword [esi + 4], 0
je 0x43ac95
test byte [ebx + 0x55], 1
jne 0x43ac87
mov eax, ebx
call fcn.00439888
test eax, eax
jne 0x43ac87
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43ada5
mov edx, esi
mov eax, ebx
call fcn.0043a76c
jmp 0x43ada5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43ad9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ca54
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00437524
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ac4c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ca54
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ada5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441130
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x463984]
cmp byte [eax + 0xc], 0
je 0x44129d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441296
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466ddc], 0
jne 0x441184
push 0x4412a4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4412ac
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466ddc], eax
cmp dword [0x4631dc], 0
jne 0x44127f
push 0x4412bc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4631dc], eax
cmp dword [0x4631dc], 0
je 0x44127f
push 0x4412c8
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466de0], eax
push 0x4412d8
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466de4], eax
push 0x4412ec
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466de8], eax
push 0x441304
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466dec], eax
push 0x44131c
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466df0], eax
push 0x441330
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466df4], eax
push 0x441348
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466df8], eax
push 0x441360
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466dfc], eax
push 0x44137c
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466e00], eax
push 0x441388
mov eax, dword [0x4631dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466e04], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44129d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445000
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.00404734
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44504f
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.0040499c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44cfc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d014]
test si, 4
je 0x44cfd8
or bl, 1
test si, 8
je 0x44cfe2
or bl, 4
test si, 1
je 0x44cfec
or bl, 8
test si, 2
je 0x44cff6
or bl, 0x10
test si, 0x10
je 0x44d000
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d00f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret