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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1044b568]
mov edx, dword [eax + 0x174]
test edx, edx
mov esi, dword [eax + 0x4cb0]
mov edi, dword [eax + 0x4cb4]
setg byte [ebp - 0x14]
add esi, dword [eax + 0x4cac]
test edx, edx
jle 0x100b8f94
mov ecx, dword [0x1044b50c]
push esi
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1044f734], 0
jne 0x100b9069
push 0x22
vpxor xmm0, xmm0, xmm0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
vmovdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100351b0
mov dword [ebp - 4], 0
mov eax, dword [0x1044b4bc]
test eax, eax
je 0x100b8fdc
mov edx, dword [eax + 0x50]
jmp 0x100b8fde
xor edx, edx
mov eax, dword [0x1044b4b4]
test eax, eax
je 0x100b8fec
mov eax, dword [eax + 0x18]
jmp 0x100b8fee
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1002e3e0
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0xf
jbe 0x100b9038
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b902e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b902e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cc49c
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x1044f734], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cc01c
mov esp, ebp
pop ebp
ret
Function at 0x100ca5d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
vpxor xmm0, xmm0, xmm0
push 8
push str.OVERRIDE
vmovdqu xmmword [esi], xmm0
mov dword [ebp - 4], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.100351b0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100cba7e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100cbaa5
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100cbaa8
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100cba5a
pop esi
leave
ret 8
Function at 0x11f0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011f01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x11f007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f006a
add dl, dl
jne 0x11f0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f00dc
xor eax, eax
add dl, dl
jne 0x11f0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f017d
add dl, dl
jne 0x11f00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11f00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11f0075
mov eax, 1
add dl, dl
jne 0x11f00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f00e1
sub eax, ebx
mov ebx, 1
jne 0x11f0128
mov ecx, 1
add dl, dl
jne 0x11f010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11f0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11f013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11f014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f0136
cmp eax, 0x7d00
jae 0x11f016d
cmp eax, 0x500
jb 0x11f0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f0075
cmp eax, 0x7f
ja 0x11f0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x11f019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x11f0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40997c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a68
push ebx
push 0x409a74
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099fc
mov al, 0x62
call fcn.00409620
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409950
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a05
call fcn.00409950
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a56
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b08
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bbc
jmp 0x409bb1
cmp dword [esi + 0x10], 0x1000
jne 0x409b9d
test byte [esi + 0x15], 1
jne 0x409b9d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b5c
cmp eax, 2
je 0x409b5c
cmp eax, 0x10
je 0x409b5c
cmp eax, 0x20
jne 0x409b71
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b71
mov bl, 1
xor ebp, ebp
jmp 0x409b82
mov eax, dword [esi]
add eax, ebp
call fcn.00409b00
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b75
test bl, bl
je 0x409b9d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bbc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b34
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x402d6c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402da9
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402dc9
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004053c0
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402fa8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403001
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402e44
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402e44
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402feb
inc ebx
jmp 0x402fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403008
lea eax, [ebp - 8]
call fcn.00405140
ret

Function at 0x403010
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405140
test esi, esi
jne 0x403047
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.00405230
jmp 0x403068
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e44
mov dword [esp], eax
test esi, esi
je 0x403068
cmp dword [ebx], 0
je 0x403068
dec esi
jmp 0x40304f
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x40415c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4df024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4041f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4041d4
xor eax, eax
push ebp
push 0x4041cd
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 0x404210
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 0x4041d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4df024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4df024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404f38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x404f99
cmp word [0x4e5220], 0xd7b2
jne 0x404f61
cmp dword [0x4e5228], 0
jbe 0x404f61
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4df094
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 0x404fc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4df034], 0
jne 0x404fb5
push 0
push 0x4df08c
push 0x4df094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4050f4
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.00402b60
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4050bc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40e454
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 0x40e4b8
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.004053c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409c6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e4bf
lea eax, [ebp - 0xc]
call fcn.00405140
ret

Function at 0x422cd0
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 0x422d1d
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.00422ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422d35
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422d3c
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.00422ac0
dec esi
jne 0x422d5e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e588c
cmp dword [edi], 0
jne 0x423f1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e5888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4df4e8
mov ecx, 2
call fcn.00402e04
mov edx, 0x423e78
lea eax, [esi + 5]
call fcn.00423e98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423e98
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 0x423ef1
mov dword [0x4e5888], 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 0x425588
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 0x42558e
ret
Function at 0x427bf8
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 0x427c49
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427c30
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427c20
jmp 0x427c49
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 0x427c31
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43798c
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.0043731c
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.00405610
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4379ea
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e4410]
mov dl, 1
mov eax, dword [0x4371a8]
call fcn.0040d62c
call fcn.00404ad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4379f4
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.00405610
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x437a4c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e4788]
mov dl, 1
mov eax, dword [0x4371a8]
call fcn.0040d62c
call fcn.00404ad0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043734c
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 0x43daf4
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 0x43da40
call sub.user32.dll_EnumWindows
ret

Function at 0x43dc14
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 0x43dc91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043d674
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43dc39
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043d274
cmp dword [ebp - 4], 0
je 0x43dc7b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405610
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 0x43dc98
lea eax, [ebp - 4]
call fcn.00405140
ret
Function at 0x440fc4
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 [0x4e5b5c], 0
je 0x441113
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e44dc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x441113
mov eax, dword [0x4e5b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e5b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4410e2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e5b5c]
call fcn.0041ac00
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4410da
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4410da
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4410da
mov eax, dword [ebp - 0x14]
call fcn.00449c94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4410da
push ebp
call fcn.00440f80
pop ecx
test al, al
jne 0x4410da
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x441096
mov eax, dword [ebp - 0x14]
call fcn.0044878c
dec eax
jle 0x4410da
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.004044f8
cmp byte [ebp - 1], 0
je 0x4410da
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4410da
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e5b60]
call fcn.0044074c
inc edi
dec ebx
jne 0x441029
mov eax, dword [0x4e5b60]
cmp dword [eax + 8], 0
jle 0x4410fa
mov eax, dword [0x4e5b60]
call fcn.004407dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x441113
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00440de8
pop ecx
test al, al
jne 0x441113
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 0x4446f4
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 0x444740
mov eax, esi
call fcn.0045a68c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x444740
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x444740
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 0x44487f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x444780
cmp eax, 0x108
ja 0x444780
mov eax, esi
call fcn.0045a68c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x444876
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44487f
jmp 0x444876
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44485f
cmp eax, 0x20a
ja 0x44485f
test byte [esi + 0x50], 0x80
jne 0x4447b2
sub eax, 0x203
je 0x4447af
sub eax, 3
je 0x4447af
sub eax, 3
jne 0x4447b2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4447c6
dec eax
je 0x4447db
dec eax
je 0x4447f8
dec eax
je 0x4447db
jmp 0x4447ff
mov ecx, ebx
mov eax, dword [0x4e44dc]
mov eax, dword [eax]
mov edx, esi
call fcn.004640c0
jmp 0x444876
cmp byte [esi + 0x5d], 1
jne 0x4447f1
mov eax, esi
mov si, 0xffed
call fcn.004044f8
jmp 0x44487f
or word [esi + 0x54], 1
jmp 0x444876
and word [esi + 0x54], 0xfffe
jmp 0x444876
mov eax, dword [0x4e5b18]
cmp byte [eax + 0x20], 0
je 0x444876
mov eax, dword [0x4e5b18]
cmp dword [eax + 0x1c], 0
je 0x444876
mov eax, dword [ebx]
mov edx, dword [0x4e5b18]
cmp eax, dword [edx + 0x1c]
jne 0x444876
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.0045a5d0
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.004044f8
jmp 0x44487f
cmp eax, 0xb00b
jne 0x444876
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00443014
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