joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c796
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41c7a5
pop dword [ebp - 0x4c]
mov eax, 0xd00a3953
add eax, 0x30378e52
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x76380a9e
sub dword [ebp - 0x5c], 0x27e5c553
mov dword [ebp - 0x58], 0xf6cd1fa9
add dword [ebp - 0x58], 0x3b662c9c
mov dword [ebp - 0x54], 0x756c80ce
add dword [ebp - 0x54], 0xd6dfc360
mov dword [ebp - 0x50], 0x33612745
sub dword [ebp - 0x50], 0x33612745
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x7a317fcd
add dword [ebp - 0x5c], 0xfa40e989
mov dword [ebp - 0x58], 0x2763444
sub dword [ebp - 0x58], 0xc109d2cf
mov dword [ebp - 0x54], 0xb1152b30
sub dword [ebp - 0x54], 0x4da5bec4
mov dword [ebp - 0x50], 0xfe1bb2ec
sub dword [ebp - 0x50], 0xfe1bb2ec
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x48c3c
push 0
call eax
mov ecx, 0x4a481e6c
sub ecx, 0x4a47cae6
xor edx, edx
add edx, eax
mov esi, 0x1593f7a
add esi, 0xfeee1686
add esi, dword [ebp - 0x4c]
mov ebx, 0x735486d
xor dword [ebp - 4], 0x8eb3f84f
mov edi, dword [esi]
sub edi, ebx
mov dword [ebp - 0x2c], 0x9b8e4b87
mov dword [edx], edi
mov dword [ebp - 0x28], 0xb392c84a
add edx, 0x2af40629
add edx, 0xd50bf9db
add esi, 0x3fc85c35
add esi, 0xc037a3cf
loop 0x41c8b9
add eax, 0xab6a3447
sub eax, 0xab68f35c
xor ebx, ebx
add ebx, eax
add eax, 0x5847f9fe
add eax, 0xa7b80607
mov ecx, 0x364bbeca
add ecx, 0xc9f44136
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40c288
pop dword [ebp - 4]
mov eax, 0x4b996e94
sub eax, 0x4b58ac0c
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xa8e79977
add dword [ebp - 0x14], 0xa56aabd4
mov dword [ebp - 0x10], 0xbb201738
sub dword [ebp - 0x10], 0x88eccaf3
mov dword [ebp - 0xc], 0x8678bfde
add dword [ebp - 0xc], 0xc5d38450
mov dword [ebp - 8], 0x461d38de
add dword [ebp - 8], 0xb9e2c722
lea eax, [ebp - 0x14]
push eax
mov eax, 0xbc60e581
sub eax, 0xbc1eb50d
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x4454d633
sub dword [ebp - 0x14], 0xcfe26cdd
mov dword [ebp - 0x10], 0x735cf6d0
add dword [ebp - 0x10], 0xce0f6aa5
mov dword [ebp - 0xc], 0xa78c96a6
sub dword [ebp - 0xc], 0x441d2a3a
mov dword [ebp - 8], 0x4808ea73
add dword [ebp - 8], 0xb7f7158d
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3a917
push 0
call eax
mov ecx, 0x3b87
mov ebx, eax
mov edx, 0x434400
add edx, dword [ebp - 4]
mov edi, 0x675722db
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
add ebx, 4
add edx, 0xbe537369
add edx, 0x41ac8c9b
loop 0x40c393
add eax, 0x720c3b8d
sub eax, 0x720b5a9e
xor ebx, ebx
add ebx, eax
add eax, 0xf5adc12
add eax, 0xf0a523f3
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x403458
Capabilities:
Query or enumerate registry value

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

Function at 0x4041b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45c048], 0
je 0x404215
cmp word [0x45c21c], 0xd7b2
jne 0x4041dd
cmp dword [0x45c224], 0
jbe 0x4041dd
mov eax, 0x45c218
call dword [0x45c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45a090
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 0x40423c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x404231
push 0
push 0x45a088
push 0x45a090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405eb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f1e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040301c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f08
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f25
lea eax, [ebp - 0x10]
call fcn.00404330
ret

Function at 0x40afd0
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 0x40b009
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404420
jmp 0x40b012
mov eax, ebx
mov edx, esi
call fcn.00404384
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b01c
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 0x40b03d
mov al, byte [esp]
jmp 0x40b03f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b6c4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b53c
mov eax, dword [0x45b114]
cmp byte [eax], 0
je 0x40b740
mov eax, dword [0x45af30]
call fcn.00402cb0
call fcn.00402864
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.00408844
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 0x40b788
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b776
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45aee0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c664]
call fcn.004053cc
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 0x40bfdc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c0b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043c8
lea eax, [ebp - 8]
call fcn.00404840
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c09c
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c095
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 - 8]
call fcn.004047f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c07f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c0c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c07f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c09c
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0b9
lea eax, [ebp - 8]
call fcn.00404330
ret

Function at 0x40c5bc
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 0x40c620
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.004045a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004082fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c627
lea eax, [ebp - 0xc]
call fcn.00404330
ret

Function at 0x41a79c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45c884
cmp dword [edi], 0
jne 0x41a818
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45c880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a420
mov ecx, 2
call fcn.00402904
mov edx, 0x41a774
lea eax, [esi + 5]
call fcn.0041a794
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a794
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 0x41a7ed
mov dword [0x45c880], 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 0x41bd8c
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 0x41bd92
ret
Function at 0x41e264
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 0x41e2b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e29c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e28c
jmp 0x41e2b5
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 0x41e29d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fef4
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 0x42fe40
call sub.user32.dll_EnumWindows
ret

Function at 0x430014
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 0x430091
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fa74
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 0x430039
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f674
cmp dword [ebp - 4], 0
je 0x43007b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047f0
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 0x430098
lea eax, [ebp - 4]
call fcn.00404330
ret

Function at 0x433348
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 [0x45cb54], 0
je 0x433497
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b0b4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x433497
mov eax, dword [0x45cb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45cb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x433466
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45cb54]
call fcn.00413d18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43345e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43345e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43345e
mov eax, dword [ebp - 0x14]
call fcn.0043bfe0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43345e
push ebp
call fcn.00433304
pop ecx
test al, al
jne 0x43345e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43341a
mov eax, dword [ebp - 0x14]
call fcn.0043ab10
dec eax
jle 0x43345e
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.004037dc
cmp byte [ebp - 1], 0
je 0x43345e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43345e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45cb58]
call fcn.00432ad0
inc edi
dec ebx
jne 0x4333ad
mov eax, dword [0x45cb58]
cmp dword [eax + 8], 0
jle 0x43347e
mov eax, dword [0x45cb58]
call fcn.00432b60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433497
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043316c
pop ecx
test al, al
jne 0x433497
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 0x436a78
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 0x436ac4
mov eax, esi
call fcn.0044c768
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436ac4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436ac4
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 0x436c03
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436b04
cmp eax, 0x108
ja 0x436b04
mov eax, esi
call fcn.0044c768
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436bfa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x436c03
jmp 0x436bfa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x436be3
cmp eax, 0x20a
ja 0x436be3
test byte [esi + 0x50], 0x80
jne 0x436b36
sub eax, 0x203
je 0x436b33
sub eax, 3
je 0x436b33
sub eax, 3
jne 0x436b36
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436b4a
dec eax
je 0x436b5f
dec eax
je 0x436b7c
dec eax
je 0x436b5f
jmp 0x436b83
mov ecx, ebx
mov eax, dword [0x45b0b4]
mov eax, dword [eax]
mov edx, esi
call fcn.00455fa4
jmp 0x436bfa
cmp byte [esi + 0x5d], 1
jne 0x436b75
mov eax, esi
mov si, 0xffed
call fcn.004037dc
jmp 0x436c03
or word [esi + 0x54], 1
jmp 0x436bfa
and word [esi + 0x54], 0xfffe
jmp 0x436bfa
mov eax, dword [0x45cb10]
cmp byte [eax + 0x20], 0
je 0x436bfa
mov eax, dword [0x45cb10]
cmp dword [eax + 0x1c], 0
je 0x436bfa
mov eax, dword [ebx]
mov edx, dword [0x45cb10]
cmp eax, dword [edx + 0x1c]
jne 0x436bfa
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.0044c6ac
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.004037dc
jmp 0x436c03
cmp eax, 0xb00b
jne 0x436bfa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435398
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 0x43a170
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 0x43a18c
cmp dword [esi + 4], 0
je 0x43a1b9
test byte [ebx + 0x55], 1
jne 0x43a1ab
mov eax, ebx
call fcn.00438d10
test eax, eax
jne 0x43a1ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a2c9
mov edx, esi
mov eax, ebx
call fcn.00439c94
jmp 0x43a2c9
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 0x43a2c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043bfe0
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.004369ac
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a170
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.0043bfe0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a2c9
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 0x4409e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45b220]
cmp byte [eax + 0xc], 0
je 0x440b4d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440b46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cb64], 0
jne 0x440a34
push 0x440b54
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440b5c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb64], eax
cmp dword [0x45abdc], 0
jne 0x440b2f
push 0x440b6c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45abdc], eax
cmp dword [0x45abdc], 0
je 0x440b2f
push 0x440b78
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb68], eax
push 0x440b88
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb6c], eax
push 0x440b9c
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb70], eax
push 0x440bb4
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb74], eax
push 0x440bcc
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb78], eax
push 0x440be0
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb7c], eax
push 0x440bf8
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb80], eax
push 0x440c10
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb84], eax
push 0x440c2c
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb88], eax
push 0x440c38
mov eax, dword [0x45abdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440b4d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444e90
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.00404330
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444edf
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.004045a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c61c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c66c]
test si, 4
je 0x44c630
or bl, 1
test si, 8
je 0x44c63a
or bl, 4
test si, 1
je 0x44c644
or bl, 8
test si, 2
je 0x44c64e
or bl, 0x10
test si, 0x10
je 0x44c658
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c667
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret