joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453d80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dbe4]
cmp dword [eax + 0x30], 0
je 0x453e2a
cmp dword [ebx + 0x94], 0
jne 0x453e24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453d10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453e24
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453dea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453e24
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415000
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453df9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454988
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4549bd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045dc
jmp 0x4549ca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404540
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4559f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455a31
mov eax, esi
call fcn.0043c1b0
test al, al
je 0x455a31
mov eax, dword [ebx + 0x84]
call fcn.0043bed8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455a31
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bed8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456d40
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040499c
xor eax, eax
push ebp
push 0x456dbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004049ac
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x456d89
mov eax, dword [ebx + 4]
call fcn.004049ac
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456dc5
lea eax, [ebp - 4]
call fcn.004044ec
ret
Function at 0x457dec
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x457fb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402e64
cmp word [ebx + 0xa2], 0
je 0x457e37
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x457e4e
lea eax, [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x457e53
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x80], 0
jne 0x457e63
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x457e71
mov eax, dword [ebx + 0x80]
call fcn.004049ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x7c]
call fcn.004049ac
push eax
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045750c
mov eax, dword [ebp - 0x18]
call fcn.004049ac
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x74]
call fcn.004049ac
push eax
push 0x457fc8
push dword [ebp - 0x14]
push 0x457fc8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040486c
mov eax, dword [ebp - 0x1c]
call fcn.004049ac
push eax
mov eax, ebx
call fcn.00457658
push eax
mov eax, ebx
call fcn.0045762c
push eax
mov eax, ebx
call fcn.004575e0
push eax
push 0xf01ff
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.004573c4
mov eax, dword [ebp - 0x20]
call fcn.004049ac
push eax
mov eax, dword [ebx + 8]
call fcn.004049ac
push eax
push esi
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 8], 0
jne 0x457f17
call fcn.0040da60
xor edx, edx
push ebp
push 0x457f90
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x457f55
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x457f4b
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457f79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457f97
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x457fcc
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x457ff8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004049ac
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45801d
call fcn.0040da60
xor eax, eax
push ebp
push 0x458054
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x45803d
call fcn.0040da60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45805b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x402aac
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.00404280
test esi, esi
jne 0x402ae2
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.00404370
jmp 0x402b00
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402960
mov edi, eax
test esi, esi
je 0x402b00
cmp dword [ebx], 0
je 0x402b00
dec esi
jmp 0x402ae9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x4032dc
Capabilities:
Query or enumerate registry value

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

Function at 0x404080
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fb04c], 0
je 0x4040e1
cmp word [0x4fb220], 0xd7b2
jne 0x4040a9
cmp dword [0x4fb228], 0
jbe 0x4040a9
mov eax, 0x4fb21c
call dword [0x4fb238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f4070
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 0x404108
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f4034], 0
jne 0x4040fd
push 0
push 0x4f4068
push 0x4f4070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404234
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.00402724
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fb04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041fc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065a8
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 0x40660e
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.004044f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e34
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406615
lea eax, [ebp - 0x10]
call fcn.00404280
ret

Function at 0x40be98
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 0x40bed1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404370
jmp 0x40beda
mov eax, ebx
mov edx, esi
call fcn.004042d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cf10
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 0x40cfe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404318
lea eax, [ebp - 8]
call fcn.004047ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cfd0
mov eax, ebx
call fcn.00402724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cfc9
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.0040475c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfb3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cff8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfb3
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 0x40cfd0
mov eax, dword [ebp - 0x10]
call fcn.00402744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cfed
lea eax, [ebp - 8]
call fcn.00404280
ret
Function at 0x40d570
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 0x40d5d4
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.004044f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d5db
lea eax, [ebp - 0xc]
call fcn.00404280
ret

Function at 0x4228a8
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.00422700
dec esi
jne 0x4228ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423a0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4fb88c
cmp dword [edi], 0
jne 0x423a88
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4fb888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f44a8
mov ecx, 2
call fcn.00402920
mov edx, 0x4239e4
lea eax, [esi + 5]
call fcn.00423a04
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423a04
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 0x423a5d
mov dword [0x4fb888], 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 0x42502c
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 0x425032
ret

Function at 0x427764
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 0x4277b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42779c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42778c
jmp 0x4277b5
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 0x42779d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43671c
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.00436130
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.0040475c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43677a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4fa3a4]
mov dl, 1
mov eax, dword [0x435fbc]
call fcn.0040c770
call fcn.00403c38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x436784
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.0040475c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4367dc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4fa6c0]
mov dl, 1
mov eax, dword [0x435fbc]
call fcn.0040c770
call fcn.00403c38
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00436160
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 0x44e4d0
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 0x44e41c
call sub.user32.dll_EnumWindows
ret

Function at 0x44e5f0
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 0x44e66d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044e050
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 0x44e615
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044dc50
cmp dword [ebp - 4], 0
je 0x44e657
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040475c
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 0x44e674
lea eax, [ebp - 4]
call fcn.00404280
ret
Function at 0x4553c4
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 0x455410
mov eax, esi
call fcn.0046b7e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455410
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x455410
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 0x45554f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x455450
cmp eax, 0x108
ja 0x455450
mov eax, esi
call fcn.0046b7e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455546
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45554f
jmp 0x455546
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45552f
cmp eax, 0x20a
ja 0x45552f
test byte [esi + 0x50], 0x80
jne 0x455482
sub eax, 0x203
je 0x45547f
sub eax, 3
je 0x45547f
sub eax, 3
jne 0x455482
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x455496
dec eax
je 0x4554ab
dec eax
je 0x4554c8
dec eax
je 0x4554ab
jmp 0x4554cf
mov ecx, ebx
mov eax, dword [0x4fa45c]
mov eax, dword [eax]
mov edx, esi
call fcn.00475110
jmp 0x455546
cmp byte [esi + 0x5d], 1
jne 0x4554c1
mov eax, esi
mov si, 0xffed
call fcn.00403668
jmp 0x45554f
or word [esi + 0x54], 1
jmp 0x455546
and word [esi + 0x54], 0xfffe
jmp 0x455546
mov eax, dword [0x4fbb54]
cmp byte [eax + 0x20], 0
je 0x455546
mov eax, dword [0x4fbb54]
cmp dword [eax + 0x1c], 0
je 0x455546
mov eax, dword [ebx]
mov edx, dword [0x4fbb54]
cmp eax, dword [edx + 0x1c]
jne 0x455546
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.0046b708
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.00403668
jmp 0x45554f
cmp eax, 0xb00b
jne 0x455546
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00453cac
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
Function at 0x45f41c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4fa6b4]
cmp byte [eax + 0xc], 0
je 0x45f589
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f582
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fbba8], 0
jne 0x45f470
push 0x45f590
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45f598
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbba8], eax
cmp dword [0x4f4e48], 0
jne 0x45f56b
push 0x45f5a8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f4e48], eax
cmp dword [0x4f4e48], 0
je 0x45f56b
push 0x45f5b4
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbac], eax
push 0x45f5c4
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbb0], eax
push 0x45f5d8
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbb4], eax
push 0x45f5f0
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbb8], eax
push 0x45f608
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbbc], eax
push 0x45f61c
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbc0], eax
push 0x45f634
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbc4], eax
push 0x45f64c
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbc8], eax
push 0x45f668
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbcc], eax
push 0x45f674
mov eax, dword [0x4f4e48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fbbd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f589
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x463ed0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404280
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x463f1f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46831c
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x468324
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x46833c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x46835a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4683b8
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x46839f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4683a8
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4683b2
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x468394
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x46831e
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x468405
dec eax
je 0x4683fc
sub eax, 3
je 0x4683f3
mov dword [ebp - 4], 0x40
jmp 0x468422
mov dword [ebp - 4], 4
jmp 0x468408
mov dword [ebp - 4], 0x20
jmp 0x468408
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x468454
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4683d4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax