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

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push esi
push 2
push 1
push 0x41ce0c
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ax, word [0x41ce0c]
add esp, 0x20
cmp al, 0xff
jne 0x40b97b
cmp ah, 0xfe
jne 0x40b9a7
mov eax, 2
pop esi
ret
cmp al, 0xef
jne 0x40b9a7
cmp ah, 0xbb
jne 0x40b9a7
push esi
push 1
push 1
push 0x41ce0c
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp byte [0x41ce0c], 0xbf
jne 0x40b9a7
mov eax, 1
pop esi
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x10
xor eax, eax
pop esi
ret
Function at 0x413860
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x80
mov eax, dword [0x41caf8]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
lea eax, [esp + 0x44]
push esi
mov esi, dword [esp + 0xa4]
push edi
push eax
push ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xffffffffffffffeb
xorps xmm0, xmm0
mov ebx, eax
push ebp
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [esp + 0x10], eax
lea ecx, [eax*2 + 2]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
inc ecx
mov esi, eax
mov dword [esp + 0x14], esi
push ecx
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x420
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
test edi, edi
je 0x41391a
mov ebp, dword [edi + 0x50]
test ebp, ebp
jne 0x413920
push 4
call esi
mov ebp, eax
push 0x13
call esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
push 0x848484
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_SetDCPenColor]
push ebp
push ebx
call esi
push ebp
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
cdq
inc esi
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
sub ecx, eax
add eax, esi
push ecx
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffffc
push ecx
push eax
mov eax, dword [esp + 0x38]
add eax, 4
push eax
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x10], 0
je 0x4139ef
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0xb
sub dword [esp + 0x28], eax
push 0
push ebx
mov dword [esp + 0x24], 0xa
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
movups xmm0, xmmword [esp + 0x1c]
push ebp
lea eax, [esp + 0x40]
push eax
movups xmmword [esp + 0x44], xmm0
push ebx
mov dword [esp + 0x48], 8
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0x20
push eax
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x4139f3
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x8c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00414d65
add esp, 0x80
ret
Function at 0x4156cb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41570a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41570a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41570a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41570a
cmp dword [ecx + 0x74], 0xe
jbe 0x41570a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x19d50d57
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x41ec63dd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402aa4
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.00404844
test esi, esi
jne 0x402ada
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.00404934
jmp 0x402af8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402958
mov edi, eax
test esi, esi
je 0x402af8
cmp dword [ebx], 0
je 0x402af8
dec esi
jmp 0x402ae1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403924
Capabilities:
Query or enumerate registry value

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

Function at 0x4046c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x486048], 0
je 0x404729
cmp word [0x48621c], 0xd7b2
jne 0x4046f1
cmp dword [0x486224], 0
jbe 0x4046f1
mov eax, 0x486218
call dword [0x486234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x484074
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 0x404750
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484034], 0
jne 0x404745
push 0
push 0x48406c
push 0x484074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4066a0
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 0x406706
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.00404ab4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040338c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066f0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40670d
lea eax, [ebp - 0x10]
call fcn.00404844
ret

Function at 0x409170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d04
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409189
test al, 0x10
jne 0x40918d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409194
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d04
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 1
setne al
pop ebx
ret

Function at 0x40bdac
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 0x40bde5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404934
jmp 0x40bdee
mov eax, ebx
mov edx, esi
call fcn.00404898
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bdf8
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 0x40be19
mov al, byte [esp]
jmp 0x40be1b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40cdb8
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 0x40ce8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004048dc
lea eax, [ebp - 8]
call fcn.00404d54
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d04
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce78
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce71
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.00404d04
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cea0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce5b
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 0x40ce78
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce95
lea eax, [ebp - 8]
call fcn.00404844
ret

Function at 0x40d40c
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 0x40d470
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.00404ab4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408dd0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d477
lea eax, [ebp - 0xc]
call fcn.00404844
ret

Function at 0x422894
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x486884
cmp dword [edi], 0
jne 0x422910
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x486880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48449c
mov ecx, 2
call fcn.00402918
mov edx, 0x42286c
lea eax, [esi + 5]
call fcn.0042288c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042288c
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 0x4228e5
mov dword [0x486880], 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 0x423ebc
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 0x423ec2
ret
Function at 0x42651c
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 0x42656d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426554
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426544
jmp 0x42656d
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 0x426555
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44db9c
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 0x44dae8
call sub.user32.dll_EnumWindows
ret

Function at 0x44dcbc
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 0x44dd39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044d71c
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 0x44dce1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044d31c
cmp dword [ebp - 4], 0
je 0x44dd23
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404d04
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 0x44dd40
lea eax, [ebp - 4]
call fcn.00404844
ret

Function at 0x45137c
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 [0x486b64], 0
je 0x4514cb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4852e4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4514cb
mov eax, dword [0x486b68]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x486b64]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45149a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x486b64]
call fcn.00419414
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x451492
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x451492
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x451492
mov eax, dword [ebp - 0x14]
call fcn.0045a128
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451492
push ebp
call fcn.00451338
pop ecx
test al, al
jne 0x451492
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45144e
mov eax, dword [ebp - 0x14]
call fcn.00458c58
dec eax
jle 0x451492
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.00403cb0
cmp byte [ebp - 1], 0
je 0x451492
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x451492
mov edx, dword [ebp - 0x14]
mov eax, dword [0x486b68]
call fcn.00450b04
inc edi
dec ebx
jne 0x4513e1
mov eax, dword [0x486b68]
cmp dword [eax + 8], 0
jle 0x4514b2
mov eax, dword [0x486b68]
call fcn.00450b94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4514cb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004511a0
pop ecx
test al, al
jne 0x4514cb
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 0x454aac
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 0x454af8
mov eax, esi
call fcn.0046a9c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x454af8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x454af8
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 0x454c37
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x454b38
cmp eax, 0x108
ja 0x454b38
mov eax, esi
call fcn.0046a9c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x454c2e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x454c37
jmp 0x454c2e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x454c17
cmp eax, 0x20a
ja 0x454c17
test byte [esi + 0x50], 0x80
jne 0x454b6a
sub eax, 0x203
je 0x454b67
sub eax, 3
je 0x454b67
sub eax, 3
jne 0x454b6a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x454b7e
dec eax
je 0x454b93
dec eax
je 0x454bb0
dec eax
je 0x454b93
jmp 0x454bb7
mov ecx, ebx
mov eax, dword [0x4852e4]
mov eax, dword [eax]
mov edx, esi
call fcn.0047422c
jmp 0x454c2e
cmp byte [esi + 0x5d], 1
jne 0x454ba9
mov eax, esi
mov si, 0xffed
call fcn.00403cb0
jmp 0x454c37
or word [esi + 0x54], 1
jmp 0x454c2e
and word [esi + 0x54], 0xfffe
jmp 0x454c2e
mov eax, dword [0x486b20]
cmp byte [eax + 0x20], 0
je 0x454c2e
mov eax, dword [0x486b20]
cmp dword [eax + 0x1c], 0
je 0x454c2e
mov eax, dword [ebx]
mov edx, dword [0x486b20]
cmp eax, dword [edx + 0x1c]
jne 0x454c2e
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.0046a90c
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.00403cb0
jmp 0x454c37
cmp eax, 0xb00b
jne 0x454c2e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004533cc
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 0x4582b8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4582d4
cmp dword [esi + 4], 0
je 0x458301
test byte [ebx + 0x55], 1
jne 0x4582f3
mov eax, ebx
call fcn.00456e58
test eax, eax
jne 0x4582f3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x458411
mov edx, esi
mov eax, ebx
call fcn.00457ddc
jmp 0x458411
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45840a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045a128
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004549e0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004582b8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045a128
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458411
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret