joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028d0
Capabilities:
Terminate process

Disassembly:
call 0x53b000
push 0x18
push 0x4029f8
call fcn.004032a6
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4150e8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x404373
xor esi, esi
inc esi
cmp dword [0x4150ec], esi
je 0x404385
cmp dword [0x4150ec], 0
jne 0x402a1e
mov dword [0x4150ec], esi
push 0x4029f4
push 0x4029e4
call sub.MSVCR120_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x404392
cmp dword [0x4150ec], esi
jne 0x402973
push 0x4029e0
push 0x4029cc
call sub.MSVCR120_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x4150ec], 2
test edi, edi
jne 0x402980
xor eax, eax
mov ecx, 0x4150e8
xchg dword [ecx], eax
cmp dword [0x4150f8], 0
jne 0x4043a3
mov eax, dword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
nop
nop
nop
nop
nop
nop
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402a14
cmp cl, 0x22
je 0x4043d1
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x4043e2
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029a0
test cl, cl
je 0x402a29
test edi, edi
je 0x402a29
jmp 0x4029a7
mov dword [0x415244], esi
jmp 0x402950
mov al, byte [esi]
test al, al
je 0x402a39
cmp al, 0x20
ja 0x402a39
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402a29
push ebx
push esi
push 0
push 0x400000
call fcn.00403044
mov dword [0x415060], eax
cmp dword [0x415064], 0
jne 0x40441a
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_exit]
test ecx, ecx
je 0x402a82
push ecx
call fcn.0040117d
jmp 0x402a82
mov eax, esi
pop esi
pop ebp
ret 4
cmp eax, edx
jne 0x402905
xor esi, esi
inc esi
mov edi, esi
jmp 0x402918
push 0x1f
call sub.MSVCR120_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402950
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404435
push 0x4150f8
call fcn.0040fdd0
pop ecx
test eax, eax
je 0x40298d
push 0
push 2
push 0
mov esi, dword [0x4150f8]
mov ecx, esi
call dword [0x416268]
call esi
jmp 0x40298d
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x4029b0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029c3
cmp dword [0x415244], 0
jne 0x40442e
call dword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x415060]
mov dword [ebp - 4], 0xfffffffe
call fcn.004032ee
ret
Function at 0x403044
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_WerSetFlags]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call fcn.00402fbe
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 4]
mov ecx, eax
call fcn.00401816
mov esi, dword [ebp - 4]
mov edi, eax
sub esi, 1
je 0x403d1c
cmp esi, 1
je 0x403d04
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea edx, [edi + 4]
mov ecx, esi
call fcn.004026d0
test al, al
je 0x403d2b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x404614
push dword [edi + 4]
call dword [sym.imp.MSVCR120_CLR0400.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40308c
test esi, esi
setg cl
call fcn.00407590
jmp 0x40308c
lea edx, [edi + 4]
mov ecx, esi
call fcn.004058c1
jmp 0x4030a8

Function at 0x4047dc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004032fd
mov eax, dword [0x415008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x2004]
push 0xffffffffffffffff
push 0x1000
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__vsnwprintf_s]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
lea eax, [ebp - 0x2004]
push eax
je 0x40482a
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x404852
push 0x404860
call dword [sym.imp.MSVCR120_CLR0400.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_fwprintf]
call dword [sym.imp.MSVCR120_CLR0400.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_fflush]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f60
mov esp, ebp
pop ebp
ret
Function at 0x405d26
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x410f38
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x415008]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x415008]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
cmp byte [0x415a14], 0
jne 0x405d89
lea eax, [esp + 0xb]
mov ecx, 0x405e28
push eax
call fcn.00402609
mov dword [0x415a10], eax
mov byte [0x415a14], 1
jmp 0x405d8e
mov eax, dword [0x415a10]
test eax, eax
je 0x405e04
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x18], eax
mov dword [esp + 0x230], ecx
push 2
pop edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18]
mov word [eax], cx
mov dword [esp + 0x230], edx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.0040cedd
lea ecx, [esp + 0xc]
call fcn.0040c698
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402e57
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00401f60
mov esp, ebp
pop ebp
ret
Function at 0x406ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x21c
mov eax, 0x411134
call fcn.00402f84
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], 0x200
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x218]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x224]
call fcn.0040518c
push 0x406fc4
lea ecx, [ebp - 0x224]
call fcn.00404d0b
lea ecx, [ebp - 0x224]
call fcn.0040c698
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406fac
push ecx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], ebx
push eax
push 0x406fe0
mov edx, 0x406ff0
call fcn.0040e126
test eax, eax
je 0x406faa
cmp dword [ebp - 0x228], 1
je 0x406fac
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00402e57
mov al, bl
call fcn.00401f50
ret
Function at 0x40d596
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40d5b7
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40d5af
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40d5a4
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
and ecx, 0x1f
shr edx, 5
mov dword [eax], edx
xor edx, edx
mov eax, dword [ebp + 0x14]
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10
Function at 0x402ef8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ce0
test esi, esi
jne 0x402f2f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404dd0
jmp 0x402f50
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d94
mov dword [esp], eax
test esi, esi
je 0x402f50
cmp dword [ebx], 0
je 0x402f50
dec esi
jmp 0x402f37
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403d3c
Capabilities:
Query or enumerate registry value

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

Function at 0x404ad8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad04c], 0
je 0x404b39
cmp word [0x4ad220], 0xd7b2
jne 0x404b01
cmp dword [0x4ad228], 0
jbe 0x404b01
mov eax, 0x4ad21c
call dword [0x4ad238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4aa070
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 0x404b60
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4aa030], 0
jne 0x404b55
push 0
push 0x4aa068
push 0x4aa070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c94
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.00402b34
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ad04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c5c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406fcc
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 0x407032
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.00404f50
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403798
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40701c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407039
lea eax, [ebp - 0x10]
call fcn.00404ce0
ret

Function at 0x40ddd0
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40de09
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404dd0
jmp 0x40de12
mov eax, ebx
mov edx, esi
call fcn.00404d34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ee60
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 0x40ef36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404d78
lea eax, [ebp - 8]
call fcn.004051f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004051a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ef20
mov eax, ebx
call fcn.00402b34
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ef19
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.004051a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ef03
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ef48
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ef03
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 0x40ef20
mov eax, dword [ebp - 0x10]
call fcn.00402b64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef3d
lea eax, [ebp - 8]
call fcn.00404ce0
ret
Function at 0x40f5a4
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 0x40f608
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.00404f50
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a908
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f60f
lea eax, [ebp - 0xc]
call fcn.00404ce0
ret

Function at 0x40fe00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x4ac570]
cmp dword [eax], 0
je 0x40fe36
push 0xa
push 0x40fe8c
mov eax, dword [0x4ac570]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x4ac570]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
jmp 0x40fe82
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x4ac908]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40fe82
mov ebx, dword [esp + 4]
push 0xa
push 0x40fe8c
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 0x40fe82
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40fe4d
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x41056c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00404ce0
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.004051a0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x4105b1
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00404dd0
jmp 0x4105ca
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040532c
push ebx
mov eax, dword [esi]
call fcn.004051a0
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424c10
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.00424a3c
dec esi
jne 0x424c32
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425d74
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ad8b4
cmp dword [edi], 0
jne 0x425df0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ad8b0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4aa6d0
mov ecx, 2
call fcn.00402d54
mov edx, 0x425d4c
lea eax, [esi + 5]
call fcn.00425d6c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425d6c
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 0x425dc5
mov dword [0x4ad8b0], 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 0x42738c
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 0x427392
ret

Function at 0x429984
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 0x4299d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4299bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4299ac
jmp 0x4299d5
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 0x4299bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438f8c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00438dd4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004051a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x438fea
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ac72c]
mov dl, 1
mov eax, dword [0x438d48]
call fcn.0040e6b8
call fcn.00404670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438ff4
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.004051a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43904c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4aca34]
mov dl, 1
mov eax, dword [0x438d48]
call fcn.0040e6b8
call fcn.00404670
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00438e04
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 0x446e40
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 0x446d8c
call sub.user32.dll_EnumWindows
ret

Function at 0x446f60
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 0x446fdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004469c0
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 0x446f85
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004465c0
cmp dword [ebp - 4], 0
je 0x446fc7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004051a0
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 0x446fe4
lea eax, [ebp - 4]
call fcn.00404ce0
ret
Function at 0x44a430
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 [0x4adb54], 0
je 0x44a57f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ac7ec]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44a57f
mov eax, dword [0x4adb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4adb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44a54e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4adb54]
call fcn.0041e348
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a546
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44a546
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44a546
mov eax, dword [ebp - 0x14]
call fcn.004530c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a546
push ebp
call fcn.0044a3ec
pop ecx
test al, al
jne 0x44a546
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44a502
mov eax, dword [ebp - 0x14]
call fcn.00451bf8
dec eax
jle 0x44a546
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.004040d8
cmp byte [ebp - 1], 0
je 0x44a546
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44a546
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4adb58]
call fcn.00449bb8
inc edi
dec ebx
jne 0x44a495
mov eax, dword [0x4adb58]
cmp dword [eax + 8], 0
jle 0x44a566
mov eax, dword [0x4adb58]
call fcn.00449c48
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a57f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a254
pop ecx
test al, al
jne 0x44a57f
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 0x44db60
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 0x44dbac
mov eax, esi
call fcn.00463924
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dbac
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44dbac
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 0x44dceb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44dbec
cmp eax, 0x108
ja 0x44dbec
mov eax, esi
call fcn.00463924
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dce2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44dceb
jmp 0x44dce2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44dccb
cmp eax, 0x20a
ja 0x44dccb
test byte [esi + 0x50], 0x80
jne 0x44dc1e
sub eax, 0x203
je 0x44dc1b
sub eax, 3
je 0x44dc1b
sub eax, 3
jne 0x44dc1e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44dc32
dec eax
je 0x44dc47
dec eax
je 0x44dc64
dec eax
je 0x44dc47
jmp 0x44dc6b
mov ecx, ebx
mov eax, dword [0x4ac7ec]
mov eax, dword [eax]
mov edx, esi
call fcn.0046d2a4
jmp 0x44dce2
cmp byte [esi + 0x5d], 1
jne 0x44dc5d
mov eax, esi
mov si, 0xffed
call fcn.004040d8
jmp 0x44dceb
or word [esi + 0x54], 1
jmp 0x44dce2
and word [esi + 0x54], 0xfffe
jmp 0x44dce2
mov eax, dword [0x4adb10]
cmp byte [eax + 0x20], 0
je 0x44dce2
mov eax, dword [0x4adb10]
cmp dword [eax + 0x1c], 0
je 0x44dce2
mov eax, dword [ebx]
mov edx, dword [0x4adb10]
cmp eax, dword [edx + 0x1c]
jne 0x44dce2
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.00463868
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.004040d8
jmp 0x44dceb
cmp eax, 0xb00b
jne 0x44dce2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044c480
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