joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d68fd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x50c0e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004ce54e
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004ce54e
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4d6974
cmp word [ecx], dx
je 0x4d6974
mov eax, dword [0x4faf94]
push edi
dec eax
push eax
push 0x4fae80
call fcn.004d689c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4d69e7
cmp word [eax], dx
je 0x4d69e7
mov eax, dword [edi]
test eax, eax
je 0x4d6998
cmp word [eax], dx
je 0x4d6998
lea eax, [ebp - 0x10]
push eax
call fcn.004d627f
jmp 0x4d69a1
lea eax, [ebp - 0x10]
push eax
call fcn.004d631a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4d6a11
mov eax, dword [0x4fae7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4fab70
call fcn.004d689c
add esp, 0xc
test al, al
je 0x4d6a11
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4d69dc
cmp word [eax], di
je 0x4d69dc
lea eax, [ebp - 0x10]
push eax
call fcn.004d627f
pop ecx
jmp 0x4d6a13
lea eax, [ebp - 0x10]
push eax
call fcn.004d631a
jmp 0x4d69d9
mov eax, dword [edi]
test eax, eax
je 0x4d69fe
cmp word [eax], dx
je 0x4d69fe
lea eax, [ebp - 0x10]
push eax
call fcn.004d6234
pop ecx
jmp 0x4d6a11
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4d6adc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004d6721
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4d6adc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4d6adc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4d6adc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d6a69
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004d03ad
test ebx, ebx
je 0x4d6ad7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004d03ad
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4d6adc
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4d6adc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004c8f7c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4d6ade
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b83c8
leave
ret
Function at 0x4dc6d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4dc6fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4dc6fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4110e6
Capabilities:
Terminate process

Disassembly:
jmp 0x41b3c0
jmp fcn.0041c730
cmp ecx, dword [0x4291c0]
jne 0x41b3ca
repz ret
jmp 0x411366

Function at 0x413560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xdc]
mov ecx, 0x37
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x200
jne 0x4135d8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.004110a5
push 0
push 0x3f2
mov ecx, dword [ebp - 8]
call fcn.0041185c
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x290
mov esi, esp
call dword [sym.imp.mfc100d.dll_Ordinal_1669]
cmp esi, esp
call fcn.00411749
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00411555
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne case.0x413633.1
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00411749
cwde
and eax, 0x80
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
sub edx, 0x41
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 0x23
ja case.0x413633.1
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [eax + 0x41372c]
jmp dword [ecx*4 + 0x413720]
cmp dword [ebp - 0x14], 0
je 0x413654
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x1a8
call fcn.00411541
jmp case.0x413633.1
cmp dword [ebp - 0x14], 0
je case.0x413633.1
push 0x424f0a
mov ecx, dword [ebp - 8]
add ecx, 0x1a8
call fcn.004115b9
mov ecx, dword [ebp - 8]
add ecx, 0x1a8
call fcn.00411154
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x113
jne 0x4136fd
mov ecx, dword [ebp - 8]
add ecx, 0x21c
call fcn.004117bc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x98], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xa0]
test ecx, ecx
jne 0x4136ea
mov ecx, dword [ebp - 8]
add ecx, 0x21c
call fcn.004110d2
test eax, eax
jne 0x4136d5
push 0
push 0xa
mov ecx, dword [ebp - 8]
call fcn.0041185c
mov ecx, eax
call fcn.004112a3
jmp 0x4136e8
push 1
push 0xa
mov ecx, dword [ebp - 8]
call fcn.0041185c
mov ecx, eax
call fcn.004112a3
jmp 0x4136fd
push 0
push 0xa
mov ecx, dword [ebp - 8]
call fcn.0041185c
mov ecx, eax
call fcn.004112a3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041182f
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.00411749
mov esp, ebp
pop ebp
ret 4
Function at 0x402ab0
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.00404300
test esi, esi
jne 0x402ae6
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.004043f0
jmp 0x402b04
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402964
mov edi, eax
test esi, esi
je 0x402b04
cmp dword [ebx], 0
je 0x402b04
dec esi
jmp 0x402aed
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f14
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x51e008], 0x8088405
inc edx
mov dword [ebx + 0x51e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403390
Capabilities:
Query or enumerate registry value

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

Function at 0x404184
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52404c], 0
je 0x4041e5
cmp word [0x524220], 0xd7b2
jne 0x4041ad
cmp dword [0x524228], 0
jbe 0x4041ad
mov eax, 0x52421c
call dword [0x524238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x51e070
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 0x40420c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51e034], 0
jne 0x404201
push 0
push 0x51e068
push 0x51e070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406398
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 0x4063fe
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.00404570
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f30
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4063e8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406405
lea eax, [ebp - 0x10]
call fcn.00404300
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004047c0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408fa9
test al, 0x10
jne 0x408fad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40beb4
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 0x40beed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043f0
jmp 0x40bef6
mov eax, ebx
mov edx, esi
call fcn.00404354
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c5a8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c420
mov eax, dword [0x523308]
cmp byte [eax], 0
je 0x40c624
mov eax, dword [0x523038]
call fcn.00402c14
call fcn.00402890
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.0040928c
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 0x40c66c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c65a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x522fcc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x524668]
call fcn.00405878
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 0x40cf14
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 0x40cfea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404398
lea eax, [ebp - 8]
call fcn.00404810
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047c0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cfd4
mov eax, ebx
call fcn.00402728
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cfcd
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.004047c0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfb7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cffc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfb7
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 0x40cfd4
mov eax, dword [ebp - 0x10]
call fcn.00402748
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cff1
lea eax, [ebp - 8]
call fcn.00404300
ret

Function at 0x40d4fc
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 0x40d560
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.00404570
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d567
lea eax, [ebp - 0xc]
call fcn.00404300
ret

Function at 0x420204
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52488c
cmp dword [edi], 0
jne 0x420280
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x524888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51e48c
mov ecx, 2
call fcn.00402924
mov edx, 0x4201dc
lea eax, [esi + 5]
call fcn.004201fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004201fc
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 0x420255
mov dword [0x524888], 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 0x42193c
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 0x421942
ret
Function at 0x424010
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 0x424061
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424048
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424038
jmp 0x424061
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 0x424049
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42da28
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004047b0
xor eax, eax
push ebp
push 0x42db56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42db29
xor eax, eax
push ebp
push 0x42db22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045c0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42daf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42dae6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045c0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004047c0
mov edx, ebx
pop ecx
call fcn.00402924
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42daed
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x522f2c]
mov dl, 1
mov eax, dword [0x4079dc]
call fcn.0040c738
call fcn.00403cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42db5d
lea eax, [ebp - 4]
call fcn.00404300
ret
Function at 0x42db64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42dd15
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004049b0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42dd2c
call fcn.0040460c
mov eax, ebx
call fcn.0041f798
mov edi, eax
dec edi
test edi, edi
jl 0x42dc1c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041f76c
mov edx, dword [0x4387ec]
call fcn.004036b4
test al, al
je 0x42dc18
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041f76c
lea edx, [ebp - 0x14]
call fcn.00459454
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004049b0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404680
inc esi
dec edi
jne 0x42dbca
mov al, byte [0x42dd30]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42dd3c
mov eax, dword [ebp - 0xc]
call fcn.0040dad4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404398
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00459454
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42dd2c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00459454
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42dd2c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42dd2c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42dd48
call fcn.00409968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dd1c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404324
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404324
lea eax, [ebp - 0x14]
call fcn.00404300
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404324
ret

Function at 0x43de9c
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 0x43dde8
call sub.user32.dll_EnumWindows
ret
Function at 0x43dfbc
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 0x43e039
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043da1c
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 0x43dfe1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043d61c
cmp dword [ebp - 4], 0
je 0x43e023
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047c0
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 0x43e040
lea eax, [ebp - 4]
call fcn.00404300
ret

Function at 0x44153c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44158c]
test si, 4
je 0x441550
or bl, 1
test si, 8
je 0x44155a
or bl, 4
test si, 1
je 0x441564
or bl, 8
test si, 2
je 0x44156e
or bl, 0x10
test si, 0x10
je 0x441578
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441587
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x441590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4415c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4415a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4415b8
or bl, 4
test esi, 0x20000000
je 0x4415c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447c70
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x447c82
add esp, 0xfffffff0
call fcn.0040384c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f174
mov eax, dword [0x522fd4]
mov dword [eax + 4], ebx
mov dword [eax], 0x448014
mov eax, dword [0x522fe0]
mov dword [eax + 4], ebx
mov dword [eax], 0x448020
mov eax, ebx
call fcn.0044802c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4168bc]
call fcn.004034f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4168bc]
call fcn.004034f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4168bc]
call fcn.004034f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4168bc]
call fcn.004034f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4168bc]
call fcn.004034f8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x444448
push eax
push 0
push 0
mov eax, dword [0x5231ac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420c00]
call fcn.00422484
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420c00]
call fcn.00422484
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420c00]
call fcn.00422484
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00448524
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4483b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4483b8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4483b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x447dbf
call fcn.004038a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret