joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x44]
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
mov dword [esp + 0x14], eax
push esi
call edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], eax
push edi
call fcn.0040e7b0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x30], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
push 0
mov dword [esp + 0x3c], eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esp + 0x40], eax
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
push edi
call fcn.0040e8b0
mov ebp, eax
push edi
call fcn.0040e8d0
mov dword [esp + 0x28], eax
push edi
call fcn.0040e8f0
mov ebx, eax
push 0
push edi
push ebp
push 4
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
xor edi, edi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
test eax, eax
jle 0x40eadf
xor ebp, ebp
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
add edi, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x4c], edi
jle 0x40ead3
lea eax, [esp + 0x44]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push eax
mov dword [esp + 0x4c], ebp
push ecx
add ebp, ebx
push edx
mov dword [esp + 0x5c], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x40eac7
mov eax, dword [esp + 0x10]
push 0xcc0020
mov ecx, dword [esp + 0x2c]
push 0
mov edx, dword [esp + 0x50]
push 0
push eax
push ebx
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp eax, ebp
jg 0x40ea7f
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
cmp eax, edi
jg 0x40ea65
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x40]
push 1
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov ecx, dword [esp + 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret 4
Function at 0x40600a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7a125c], esi
push edi
jne 0x406044
mov ecx, 0x7a1258
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406020
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7a1658
jl 0x40601b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406079
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1258]
xor eax, esi
inc ecx
dec edx
jne 0x40605c
pop edi
pop esi
not eax
ret 0xc

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

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

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x5a643d
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.00591d55
mov dword [esp + 0x17], eax
jmp 0x5a6447
push word [esp + 0x1a]
lea esp, [esp + 1]
mov dword [esp + 0xc0], edi
jmp 0x5a6498
lea esp, [esp + 0xc0]
jmp 0x5a64b0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x5a64c2
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5a6559
push eax
jmp 0x591d50
Function at 0x402ebc
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403428
Capabilities:
Query or enumerate registry value

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

Function at 0x40416c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x456048], 0
je 0x4041cd
cmp word [0x45621c], 0xd7b2
jne 0x404195
cmp dword [0x456224], 0
jbe 0x404195
mov eax, 0x456218
call dword [0x456234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x454074
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 0x4041f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x454034], 0
jne 0x4041e9
push 0
push 0x45406c
push 0x454074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e68
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 0x405ece
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.00404558
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ed8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405eb8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ed5
lea eax, [ebp - 0x10]
call fcn.004042e8
ret

Function at 0x40adcc
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 0x40ae05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043d8
jmp 0x40ae0e
mov eax, ebx
mov edx, esi
call fcn.0040433c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b4c0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b338
mov eax, dword [0x455084]
cmp byte [eax], 0
je 0x40b53c
mov eax, dword [0x454ea4]
call fcn.00402d1c
call fcn.00402874
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.00408640
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 0x40b584
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b572
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x454e54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x456664]
call fcn.0040537c
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 0x40bdd8
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 0x40beae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404380
lea eax, [ebp - 8]
call fcn.004047f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be98
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be91
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.004047a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be7b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bec0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be7b
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 0x40be98
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40beb5
lea eax, [ebp - 8]
call fcn.004042e8
ret

Function at 0x40c32c
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 0x40c390
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.00404558
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081d0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c397
lea eax, [ebp - 0xc]
call fcn.004042e8
ret

Function at 0x41ae48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x456884
cmp dword [edi], 0
jne 0x41aec4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x456880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4543f4
mov ecx, 2
call fcn.00402908
mov edx, 0x41ae20
lea eax, [esi + 5]
call fcn.0041ae40
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ae40
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 0x41ae99
mov dword [0x456880], 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 0x41c0e0
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 0x41c0e6
ret
Function at 0x41e5a8
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 0x41e5f9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e5e0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e5d0
jmp 0x41e5f9
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 0x41e5e1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d1a4
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 0x42d0f0
call sub.user32.dll_EnumWindows
ret

Function at 0x42d2c4
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 0x42d341
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042cd24
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 0x42d2e9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c924
cmp dword [ebp - 4], 0
je 0x42d32b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047a8
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 0x42d348
lea eax, [ebp - 4]
call fcn.004042e8
ret

Function at 0x43030c
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 [0x456b5c], 0
je 0x43045b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x455028]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43045b
mov eax, dword [0x456b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x456b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43042a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x456b5c]
call fcn.00413c70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x430422
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x430422
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x430422
mov eax, dword [ebp - 0x14]
call fcn.004390ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x430422
push ebp
call fcn.004302c8
pop ecx
test al, al
jne 0x430422
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4303de
mov eax, dword [ebp - 0x14]
call fcn.00437bdc
dec eax
jle 0x430422
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.004037ac
cmp byte [ebp - 1], 0
je 0x430422
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x430422
mov edx, dword [ebp - 0x14]
mov eax, dword [0x456b60]
call fcn.0042fa94
inc edi
dec ebx
jne 0x430371
mov eax, dword [0x456b60]
cmp dword [eax + 8], 0
jle 0x430442
mov eax, dword [0x456b60]
call fcn.0042fb24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43045b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00430130
pop ecx
test al, al
jne 0x43045b
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 0x433a30
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 0x433a7c
mov eax, esi
call fcn.004492f4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433a7c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x433a7c
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 0x433bbb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x433abc
cmp eax, 0x108
ja 0x433abc
mov eax, esi
call fcn.004492f4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433bb2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x433bbb
jmp 0x433bb2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x433b9b
cmp eax, 0x20a
ja 0x433b9b
test byte [esi + 0x50], 0x80
jne 0x433aee
sub eax, 0x203
je 0x433aeb
sub eax, 3
je 0x433aeb
sub eax, 3
jne 0x433aee
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x433b02
dec eax
je 0x433b17
dec eax
je 0x433b34
dec eax
je 0x433b17
jmp 0x433b3b
mov ecx, ebx
mov eax, dword [0x455028]
mov eax, dword [eax]
mov edx, esi
call fcn.00452aa0
jmp 0x433bb2
cmp byte [esi + 0x5d], 1
jne 0x433b2d
mov eax, esi
mov si, 0xffed
call fcn.004037ac
jmp 0x433bbb
or word [esi + 0x54], 1
jmp 0x433bb2
and word [esi + 0x54], 0xfffe
jmp 0x433bb2
mov eax, dword [0x456b18]
cmp byte [eax + 0x20], 0
je 0x433bb2
mov eax, dword [0x456b18]
cmp dword [eax + 0x1c], 0
je 0x433bb2
mov eax, dword [ebx]
mov edx, dword [0x456b18]
cmp eax, dword [edx + 0x1c]
jne 0x433bb2
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.00449238
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.004037ac
jmp 0x433bbb
cmp eax, 0xb00b
jne 0x433bb2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043235c
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 0x43723c
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 0x437258
cmp dword [esi + 4], 0
je 0x437285
test byte [ebx + 0x55], 1
jne 0x437277
mov eax, ebx
call fcn.00435ddc
test eax, eax
jne 0x437277
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437395
mov edx, esi
mov eax, ebx
call fcn.00436d60
jmp 0x437395
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 0x43738e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004390ac
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.00433964
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043723c
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.004390ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437395
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