joyce8/EMBER2024-capa huggingface dataset:
Function at 0x522418
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], edi
je 0x5222d2
cmp dword [ebp + 0x14], edi
je 0x5222d2
cmp ecx, edi
jne 0x5222d9
call fcn.0051f626
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0051bb29
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5222ed
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x52230e
cmp ebx, 0xffffffff
je 0x5222fd
push ebx
push edi
push ecx
call fcn.0051ffe0
add esp, 0xc
cmp esi, edi
je 0x5222ba
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5222ba
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test dword [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x52232b
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x522332
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x522424
test dword [esi + 0xc], 0x10c
je 0x522387
mov eax, dword [esi + 4]
test eax, eax
je 0x522387
jl 0x522485
mov edi, ebx
cmp ebx, eax
jb 0x522358
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x52242c
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0051b761
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x52241c
cmp ebx, dword [ebp - 0xc]
jb 0x5223f4
cmp dword [ebp - 0xc], 0
je 0x5223b1
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x5223a6
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5223ad
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5223bc
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x5223bc
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x522458
push eax
push dword [ebp - 8]
push esi
call fcn.00521fc6
pop ecx
push eax
call fcn.0052fa20
add esp, 0xc
test eax, eax
je 0x522497
cmp eax, 0xffffffff
je 0x522485
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x52241c
push esi
call fcn.00526ae5
pop ecx
cmp eax, 0xffffffff
je 0x522489
cmp dword [ebp - 4], 0
je 0x522458
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x52233a
mov eax, dword [ebp + 0x14]
jmp 0x5222d4
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x522443
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0051ffe0
add esp, 0xc
call fcn.0051f626
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5222ca
cmp dword [ebp + 0xc], 0xffffffff
je 0x52246e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0051ffe0
add esp, 0xc
call fcn.0051f626
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5222ca
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5222d4
or dword [esi + 0xc], 0x10
jmp 0x522489
Function at 0x4013e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x401580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4020e0
push 0x4016b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40320c], 0xffffffff
or dword [0x403210], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x403204]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403200]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403208], eax
call fcn.004016b7
cmp dword [0x403120], 0
jne 0x401603
push 0x4016b4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004016a2
push 0x403018
push 0x403014
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4031fc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4031f8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403010
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401040
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x402a1c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404060
test esi, esi
jne 0x402a52
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404150
jmp 0x402a70
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402930
mov edi, eax
test esi, esi
je 0x402a70
cmp dword [ebx], 0
je 0x402a70
dec esi
jmp 0x402a59
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403104
Capabilities:
Query or enumerate registry value

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

Function at 0x403e60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b048], 0
je 0x403ec1
cmp word [0x48b21c], 0xd7b2
jne 0x403e89
cmp dword [0x48b224], 0
jbe 0x403e89
mov eax, 0x48b218
call dword [0x48b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48906c
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 0x403ee8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x489030], 0
jne 0x403edd
push 0
push 0x489064
push 0x48906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404014
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.004026f4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48b049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fdc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405d1c
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 0x405d82
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.004042d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d6c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d89
lea eax, [ebp - 0x10]
call fcn.00404060
ret

Function at 0x40b70c
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 0x40b745
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404150
jmp 0x40b74e
mov eax, ebx
mov edx, esi
call fcn.004040b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40be00
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc78
mov eax, dword [0x48ac38]
cmp byte [eax], 0
je 0x40be7c
mov eax, dword [0x48a8a0]
call fcn.00402b28
call fcn.0040285c
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.00408a10
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 0x40bec4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40beb2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48a804]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48b664]
call fcn.00405230
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 0x40c718
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 0x40c7ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040f8
lea eax, [ebp - 8]
call fcn.00404570
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404520
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c7d8
mov eax, ebx
call fcn.004026f4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7d1
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.00404520
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c7bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c800
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c7bb
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 0x40c7d8
mov eax, dword [ebp - 0x10]
call fcn.00402714
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7f5
lea eax, [ebp - 8]
call fcn.00404060
ret

Function at 0x40cd74
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 0x40cdd8
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.004042d0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084ac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cddf
lea eax, [ebp - 0xc]
call fcn.00404060
ret

Function at 0x41b5cc
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.0041b424
dec esi
jne 0x41b5ee
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41c730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48b888
cmp dword [edi], 0
jne 0x41c7ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48b884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48946c
mov ecx, 2
call fcn.004028f0
mov edx, 0x41c708
lea eax, [esi + 5]
call fcn.0041c728
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c728
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 0x41c781
mov dword [0x48b884], 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 0x421d14
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.00421958
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.00404520
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x421d72
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48aab0]
mov dl, 1
mov eax, dword [0x421850]
call fcn.0040bfc0
call fcn.00403a18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x421d7c
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.00404520
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x421dd4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48ae0c]
mov dl, 1
mov eax, dword [0x421850]
call fcn.0040bfc0
call fcn.00403a18
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421988
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 0x42be34
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x42be3c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x42c02e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x42c044
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004040b4
lea ecx, [ebp - 0x10]
mov edx, 0x42c058
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004040b4
lea ecx, [ebp - 0x14]
mov edx, 0x42c070
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004040b4
lea ecx, [ebp - 0x18]
mov edx, 0x42c08c
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004040b4
lea ecx, [ebp - 0x1c]
mov edx, 0x42c0a8
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004040b4
lea ecx, [ebp - 0x24]
mov edx, 0x42c0c0
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004080cc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004084ac
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x42c0d8
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x28]
call fcn.00423798
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x42c0e8
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x2c]
call fcn.00423798
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x42c100
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004084ac
inc eax
je 0x42bfd1
lea ecx, [ebp - 0x34]
mov edx, 0x42c100
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x34]
call fcn.00408470
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409d44
fstp qword [ebp - 0x3c]
wait
call fcn.0040a0a8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x42bfec
lea ecx, [ebp - 0x40]
mov edx, 0x42c100
mov eax, esi
call fcn.00429cc0
mov eax, dword [ebp - 0x40]
call fcn.00423798
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x42c110
mov eax, esi
call fcn.00429cc0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004040b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c035
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404084
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404084
ret
Function at 0x432dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x432e1a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00432db0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00422404
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00422004
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432e21
lea eax, [ebp - 4]
call fcn.00404060
ret

Function at 0x437538
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 0x43753e
ret

Function at 0x439cd8
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 0x439d29
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x439d10
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x439d00
jmp 0x439d29
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 0x439d11
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450b20
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 0x450a6c
call sub.user32.dll_EnumWindows
ret

Function at 0x450c40
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 0x450cbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004506a0
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 0x450c65
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004502a0
cmp dword [ebp - 4], 0
je 0x450ca7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404520
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 0x450cc4
lea eax, [ebp - 4]
call fcn.00404060
ret

Function at 0x454110
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 [0x48be74], 0
je 0x45425f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48ab80]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45425f
mov eax, dword [0x48be78]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48be74]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45422e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48be74]
call fcn.00414a08
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x454226
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x454226
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x454226
mov eax, dword [ebp - 0x14]
call fcn.0045cdc0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454226
push ebp
call fcn.004540cc
pop ecx
test al, al
jne 0x454226
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4541e2
mov eax, dword [ebp - 0x14]
call fcn.0045b8f0
dec eax
jle 0x454226
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.00403488
cmp byte [ebp - 1], 0
je 0x454226
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x454226
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48be78]
call fcn.00453898
inc edi
dec ebx
jne 0x454175
mov eax, dword [0x48be78]
cmp dword [eax + 8], 0
jle 0x454246
mov eax, dword [0x48be78]
call fcn.00453928
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45425f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00453f34
pop ecx
test al, al
jne 0x45425f
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