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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4db994
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
xor esi, esi
cmp edi, esi
mov ebp, ecx
je 0x46de76
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46dde0
sub eax, edx
mov dword [esp + 0x38], eax
je 0x46de76
push edi
mov ecx, ebp
call fcn.0046d200
cmp eax, esi
je 0x46de20
mov ecx, dword [eax + 0x17810]
pop edi
inc ecx
pop esi
mov dword [eax + 0x17810], ecx
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
push 0x1783c
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, esi
mov dword [esp + 0x30], esi
je 0x46de42
mov ecx, eax
call fcn.0046d9b0
mov esi, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00481290
test eax, eax
jne 0x46de8c
test esi, esi
je 0x46de76
mov ecx, esi
call fcn.0046dc30
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov eax, dword [esi + 0x17810]
inc eax
push edi
push str.DxAttBoneData::LoadFile___s
mov dword [esi + 0x17810], eax
call fcn.00412fd0
add esp, 8
lea edx, [esi + 0x17480]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [ebp + 0x104]
mov dword [esp + 0x34], 1
call fcn.0046d910
lea ecx, [esp + 0xc]
mov dword [eax], esi
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x479c10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x479c31
mov ecx, dword [esp + 8]
nop
mov dl, byte [eax + ecx]
sub dl, 6
xor dl, 0xdf
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x479c20
pop esi
ret
Function at 0x4cf91d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x507640
call fcn.004cff30
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4cf95d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cf95d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4cf975
cmp eax, 0x20b
je 0x4cf962
mov dword [ebp - 0x1c], ebx
jmp 0x4cf989
cmp dword [ecx + 0x84], 0xe
jbe 0x4cf95d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4cf983
cmp dword [ecx + 0x74], 0xe
jbe 0x4cf95d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x1fec9f8], 0xffffffff
or dword [0x1fec9fc], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x1fec5ac]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x1fec5a8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1fec9f4], eax
call fcn.004d002e
call fcn.004d00ce
cmp dword [0x542a80], ebx
jne 0x4cf9e9
push fcn.004d00ce
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004d00bc
push 0x513518
push 0x513514
call sub.MSVCR71.dll__initterm
push 0x4d0072
call fcn.004cf775
mov eax, dword [0x1fec5a4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x1fec5a0]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x4cfa3d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x513510
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4cfabb
cmp al, bl
je 0x4cfa67
cmp dword [ebp - 0x20], ebx
jne 0x4cfabb
mov al, byte [esi]
cmp al, bl
je 0x4cfa77
cmp al, 0x20
ja 0x4cfa77
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4cfa67
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4cfa93
movzx eax, word [ebp - 0x54]
jmp 0x4cfa96
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004d6e98
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4cfab3
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4cfb10
cmp al, 0x22
jne 0x4cfaca
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x4cfadd
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x4cfa55
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004cff6b
ret
Function at 0x4d0e60
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x4d2740
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4d274f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x542d70]
test eax, eax
je 0x4d275d
call fcn.004d26e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x4d285f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x1fec5b0]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x1fec5b0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x1fec5b0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x1fec5b0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x1fec5b0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x1fec5b0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x1fec5b0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x1fec5b0]
xor eax, ecx
inc esi
dec edi
jne 0x4d2777
pop edi
test edx, edx
je 0x4d2881
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x1fec5b0]
xor eax, ecx
inc esi
dec edx
jne 0x4d2863
pop ebx
pop esi
not eax
ret 0xc
Function at 0x405a00
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 0x405a66
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a50
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a6d
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aacc
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 0x40ab05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40ab0e
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b1c0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b038
mov eax, dword [0x454088]
cmp byte [eax], 0
je 0x40b23c
mov eax, dword [0x453ea4]
call fcn.004029a4
call fcn.00402824
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.00408340
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 0x40b284
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b272
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00404f14
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 0x40bad8
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 0x40bbae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb98
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb91
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb7b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbc0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb7b
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 0x40bb98
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbb5
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c0c0
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 0x40c124
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c12b
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455884
cmp dword [edi], 0
jne 0x41a40c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4533ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a368
lea eax, [esi + 5]
call fcn.0041a388
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a388
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 0x41a3e1
mov dword [0x455880], 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 0x41b980
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 0x41b986
ret
Function at 0x426954
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.004042fc
xor eax, eax
push ebp
push 0x426a82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x426a55
xor eax, eax
push ebp
push 0x426a4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426a23
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 0x426a12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040410c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
mov edx, ebx
pop ecx
call fcn.004028b8
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 0x426a19
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x453e00]
mov dl, 1
mov eax, dword [0x406d48]
call fcn.0040b344
call fcn.00403888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426a89
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x426a90
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 0x426c41
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004044fc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x426c58
call fcn.00404158
mov eax, ebx
call fcn.00419924
mov edi, eax
dec edi
test edi, edi
jl 0x426b48
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004198f8
mov edx, dword [0x42a61c]
call fcn.00403288
test al, al
je 0x426b44
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004198f8
lea edx, [ebp - 0x14]
call fcn.00431960
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004044fc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041cc
inc esi
dec edi
jne 0x426af6
mov al, byte [0x426c5c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x426c68
mov eax, dword [ebp - 0xc]
call fcn.0040c698
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403ee4
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.00431960
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x426c58
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.00431960
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x426c58
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, 0x426c58
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, 0x426c74
call fcn.00408a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426c48
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403e70
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403e70
lea eax, [ebp - 0x14]
call fcn.00403e4c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e70
ret
Function at 0x428e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040430c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x428ea8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x454194]
mov dl, 1
mov eax, dword [0x428a08]
call fcn.0040b380
call fcn.00403888
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00428b10
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42c4d0
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 0x42c41c
call sub.user32.dll_EnumWindows
ret

Function at 0x42c5f0
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 0x42c66d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c050
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 0x42c615
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bc50
cmp dword [ebp - 4], 0
je 0x42c657
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x42c674
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x42f4c0
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 [0x455b80], 0
je 0x42f60f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454028]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f60f
mov eax, dword [0x455b84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455b80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f5de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455b80]
call fcn.00413960
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f5d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f5d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f5d6
mov eax, dword [ebp - 0x14]
call fcn.0043813c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f5d6
push ebp
call fcn.0042f47c
pop ecx
test al, al
jne 0x42f5d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f592
mov eax, dword [ebp - 0x14]
call fcn.00436c6c
dec eax
jle 0x42f5d6
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.004032f8
cmp byte [ebp - 1], 0
je 0x42f5d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f5d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455b84]
call fcn.0042ec48
inc edi
dec ebx
jne 0x42f525
mov eax, dword [0x455b84]
cmp dword [eax + 8], 0
jle 0x42f5f6
mov eax, dword [0x455b84]
call fcn.0042ecd8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f60f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f2e4
pop ecx
test al, al
jne 0x42f60f
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 0x432bd4
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 0x432c20
mov eax, esi
call fcn.0044829c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432c20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432c20
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 0x432d5f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432c60
cmp eax, 0x108
ja 0x432c60
mov eax, esi
call fcn.0044829c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432d56
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x432d5f
jmp 0x432d56
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432d3f
cmp eax, 0x20a
ja 0x432d3f
test byte [esi + 0x50], 0x80
jne 0x432c92
sub eax, 0x203
je 0x432c8f
sub eax, 3
je 0x432c8f
sub eax, 3
jne 0x432c92
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x432ca6
dec eax
je 0x432cbb
dec eax
je 0x432cd8
dec eax
je 0x432cbb
jmp 0x432cdf
mov ecx, ebx
mov eax, dword [0x454028]
mov eax, dword [eax]
mov edx, esi
call fcn.004519c8
jmp 0x432d56
cmp byte [esi + 0x5d], 1
jne 0x432cd1
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x432d5f
or word [esi + 0x54], 1
jmp 0x432d56
and word [esi + 0x54], 0xfffe
jmp 0x432d56
mov eax, dword [0x455b3c]
cmp byte [eax + 0x20], 0
je 0x432d56
mov eax, dword [0x455b3c]
cmp dword [eax + 0x1c], 0
je 0x432d56
mov eax, dword [ebx]
mov edx, dword [0x455b3c]
cmp eax, dword [edx + 0x1c]
jne 0x432d56
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.004481e0
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.004032f8
jmp 0x432d5f
cmp eax, 0xb00b
jne 0x432d56
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431510
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