joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44774a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4477a0
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x447779
call fcn.0040ef82
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44778e
call fcn.0040ef82
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4477a0
call fcn.0040ef82
call fcn.004123da
cmp dword [eax + 0x3c], 0
je 0x4477b5
push edi
mov ecx, ebx
call fcn.00446e7a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00447987
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4477de
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4477ea
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4481ed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00412792
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.00448406
cmp esi, 3
je 0x44822b
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x448274
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x44824e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040a8a1
jmp 0x44825f
push 0xff
mov ecx, esi
call fcn.004040c0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00409d2b
jmp 0x448298
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x448298
push dword [esi]
push dword [ebp - 4]
call fcn.0041ec69
pop edi
pop esi
leave
ret 0xc

Function at 0x44835d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00448406
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4483a5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040a8a1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409d2b
jmp 0x4483b0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041ec69
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45342e
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x56f1f2
call fcn.0054b6a6
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403e90
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5ad850
call fcn.0040b0ba
cmp eax, 0xffffffff
jne 0x453508
push 0
push 0x5ad7d4
lea ecx, [ebp - 0x4d0]
call fcn.0040b0ba
cmp eax, 0xffffffff
jne 0x453508
push 0
push 0x57b6e4
lea ecx, [ebp - 0x4d0]
call fcn.0040b0ba
cmp eax, 0xffffffff
jne 0x453508
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403e90
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4534d7
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x57a9e0]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404290
jmp 0x453541
lea eax, [ebp - 0x218]
push eax
call fcn.00555021
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00403c90
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404290
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45352e
mov edi, dword [ebp - 0x4cc]
jmp 0x453541
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x57a9e0]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404290
mov eax, edi
call fcn.0054b650
ret

Function at 0x4594e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x459502
call fcn.004123da
mov esi, dword [eax + 0xc]
push 0x58223c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x459558
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x459558
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x459537
xor esi, esi
jmp 0x45954d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00459561
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x45955a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5147f6
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055d168
pop ecx
test eax, eax
jne 0x514838
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040a78e
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5147fe
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x561975
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005617f4

Function at 0x566a02
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005666c2
Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403360
Capabilities:
Query or enumerate registry value

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

Function at 0x4040c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x404129
cmp word [0x45a21c], 0xd7b2
jne 0x4040f1
cmp dword [0x45a224], 0
jbe 0x4040f1
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x458054
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 0x404150
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45801c], 0
jne 0x404145
push 0
push 0x458074
push 0x458054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b26c
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 0x40b2a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404334
jmp 0x40b2ae
mov eax, ebx
mov edx, esi
call fcn.00404298
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b960
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b7d8
mov eax, dword [0x458fe8]
cmp byte [eax], 0
je 0x40b9cd
mov eax, dword [0x458e3c]
call fcn.00402c7c
call fcn.00402870
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408a38
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40ba14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba03
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458df8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a714]
call fcn.00405960
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 0x40c6a4
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 0x40c708
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.004044ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c70f
lea eax, [ebp - 0xc]
call fcn.00404244
ret
Function at 0x423ae8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45aa78
cmp dword [edi], 0
jne 0x423b64
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45aa74]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4585d4
mov ecx, 2
call fcn.00402904
mov edx, 0x423ac0
lea eax, [esi + 5]
call fcn.00423ae0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423ae0
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 0x423b39
mov dword [0x45aa74], 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 0x424cf8
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 0x424cfe
ret

Function at 0x427140
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 0x427191
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427178
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427168
jmp 0x427191
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 0x427179
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431580
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 0x4314cc
call sub.user32.dll_EnumWindows
ret

Function at 0x4316a4
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 0x431721
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004310f0
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 0x4316c9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430d48
cmp dword [ebp - 4], 0
je 0x43170b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046f4
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 0x431728
lea eax, [ebp - 4]
call fcn.00404244
ret

Function at 0x43438c
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 [0x45ac00], 0
je 0x4344db
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x458f90]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4344db
mov eax, dword [0x45ac04]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45ac00]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4344aa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45ac00]
call fcn.0041b0a8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4344a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4344a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4344a2
mov eax, dword [ebp - 0x14]
call fcn.0043ce74
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4344a2
push ebp
call fcn.00434348
pop ecx
test al, al
jne 0x4344a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43445e
mov eax, dword [ebp - 0x14]
call fcn.0043ba08
dec eax
jle 0x4344a2
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.004036ec
cmp byte [ebp - 1], 0
je 0x4344a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4344a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ac04]
call fcn.00433b10
inc edi
dec ebx
jne 0x4343f1
mov eax, dword [0x45ac04]
cmp dword [eax + 8], 0
jle 0x4344c2
mov eax, dword [0x45ac04]
call fcn.00433ba0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4344db
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004341b0
pop ecx
test al, al
jne 0x4344db
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 0x437aa4
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 0x437af0
mov eax, esi
call fcn.0044d408
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437af0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437af0
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 0x437c2f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x437b30
cmp eax, 0x108
ja 0x437b30
mov eax, esi
call fcn.0044d408
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437c26
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x437c2f
jmp 0x437c26
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x437c0f
cmp eax, 0x20a
ja 0x437c0f
test byte [esi + 0x50], 0x80
jne 0x437b62
sub eax, 0x203
je 0x437b5f
sub eax, 3
je 0x437b5f
sub eax, 3
jne 0x437b62
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x437b76
dec eax
je 0x437b8b
dec eax
je 0x437ba8
dec eax
je 0x437b8b
jmp 0x437baf
mov ecx, ebx
mov eax, dword [0x458f90]
mov eax, dword [eax]
mov edx, esi
call fcn.00456a54
jmp 0x437c26
cmp byte [esi + 0x5d], 1
jne 0x437ba1
mov eax, esi
mov si, 0xffed
call fcn.004036ec
jmp 0x437c2f
or word [esi + 0x54], 1
jmp 0x437c26
and word [esi + 0x54], 0xfffe
jmp 0x437c26
mov eax, dword [0x45abbc]
cmp byte [eax + 0x20], 0
je 0x437c26
mov eax, dword [0x45abbc]
cmp dword [eax + 0x1c], 0
je 0x437c26
mov eax, dword [ebx]
mov edx, dword [0x45abbc]
cmp eax, dword [edx + 0x1c]
jne 0x437c26
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.0044d34c
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.004036ec
jmp 0x437c2f
cmp eax, 0xb00b
jne 0x437c26
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004363c4
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 0x43b0a4
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 0x43b0c0
cmp dword [esi + 4], 0
je 0x43b0ed
test byte [ebx + 0x55], 1
jne 0x43b0df
mov eax, ebx
call fcn.00439cfc
test eax, eax
jne 0x43b0df
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43b1fd
mov edx, esi
mov eax, ebx
call fcn.0043abc4
jmp 0x43b1fd
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 0x43b1f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ce74
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.004379d8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043b0a4
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.0043ce74
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b1fd
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 0x441550
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4590e4]
cmp byte [eax + 0xc], 0
je 0x4416bd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4416b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ac10], 0
jne 0x4415a4
push 0x4416c4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4416cc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac10], eax
cmp dword [0x458b1c], 0
jne 0x44169f
push 0x4416dc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x458b1c], eax
cmp dword [0x458b1c], 0
je 0x44169f
push 0x4416e8
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac14], eax
push 0x4416f8
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac18], eax
push 0x44170c
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac1c], eax
push 0x441724
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac20], eax
push 0x44173c
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac24], eax
push 0x441750
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac28], eax
push 0x441768
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac2c], eax
push 0x441780
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac30], eax
push 0x44179c
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac34], eax
push 0x4417a8
mov eax, dword [0x458b1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ac38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4416bd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445420
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.00404244
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44546f
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.004044ac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d2bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d30c]
test si, 4
je 0x44d2d0
or bl, 1
test si, 8
je 0x44d2da
or bl, 4
test si, 1
je 0x44d2e4
or bl, 8
test si, 2
je 0x44d2ee
or bl, 0x10
test si, 0x10
je 0x44d2f8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d307
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret