joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bdd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40be20
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.004044c8
jmp 0x40be2b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040442c
mov esp, ebp
pop ebp
ret 4

Function at 0x40be34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be62
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40be68
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40c5f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c438
mov eax, dword [0x46b7d4]
cmp byte [eax], 0
je 0x40c683
mov eax, dword [0x46b5f4]
call fcn.00402efc
call fcn.00402bb4
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.00409090
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40c6c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c6b9
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x46b598]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c664]
call fcn.00405494
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret
Function at 0x40d090
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40d16e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404470
lea eax, [ebp - 0xc]
call fcn.004048e8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404898
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d158
mov eax, dword [ebp - 0x10]
call fcn.00402a28
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40d151
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404898
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d13b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40d17c
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d13b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d158
mov eax, dword [ebp - 0x18]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d175
lea eax, [ebp - 0xc]
call fcn.004043d8
ret

Function at 0x40d854
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40d8be
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404648
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408908
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8c5
lea eax, [ebp - 0x14]
call fcn.004043d8
ret
Function at 0x418ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x418b16
push ebp
call fcn.00418a70
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x418b3c
push ebp
call fcn.00418a70
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.00418648
mov esp, ebp
pop ebp
ret 4

Function at 0x41dd90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x46c884], 0
jne 0x41de3d
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x46c880]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x46946c
mov ecx, 2
call fcn.00402c48
mov edx, 0x41dd4c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041dd6c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0041dd6c
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x46c884]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x46c884], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41ddf7
mov eax, dword [ebp - 8]
mov dword [0x46c880], eax
mov eax, dword [0x46c884]
mov dword [ebp - 4], eax
mov eax, dword [0x46c884]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x46c884], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x41f0b8
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 0x41f0be
ret
Function at 0x421cd4
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 0x421d25
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421d0c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421cfc
jmp 0x421d25
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 0x421d0d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432f78
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x432eac
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

Function at 0x4330f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x433179
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00432a74
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x43311c
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004325e4
cmp dword [ebp - 0xc], 0
je 0x433163
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404898
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 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 0x433180
lea eax, [ebp - 0xc]
call fcn.004043d8
ret
Function at 0x436890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x46cb54], 0
je 0x4369eb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b778]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4369eb
mov eax, dword [0x46cb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46cb54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4369ba
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x46cb54]
call fcn.00415a44
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4369ae
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4369ae
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4369ae
mov eax, dword [ebp - 0x14]
call fcn.00441f20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4369ae
push ebp
call fcn.00436844
pop ecx
test al, al
jne 0x4369ae
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43696a
mov eax, dword [ebp - 0x14]
call fcn.00440320
dec eax
jle 0x4369ae
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040386c
cmp byte [ebp - 1], 0
je 0x4369ae
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4369ae
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46cb58]
call fcn.00435d0c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4368fc
mov eax, dword [0x46cb58]
cmp dword [eax + 8], 0
jle 0x4369d2
mov eax, dword [0x46cb58]
call fcn.00435db8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4369eb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436680
pop ecx
test al, al
jne 0x4369eb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b0e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x43b133
mov eax, dword [ebp - 0x14]
call fcn.004555b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43b133
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43b133
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x43b2c2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43b17c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43b17c
mov eax, dword [ebp - 0x14]
call fcn.004555b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43b2b7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x43b2c2
jmp 0x43b2b7
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43b292
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43b292
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43b1bf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x43b1b9
sub eax, 3
je 0x43b1b9
sub eax, 3
jne 0x43b1bf
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x43b1d6
dec eax
je 0x43b1ed
dec eax
je 0x43b214
dec eax
je 0x43b1ed
jmp 0x43b221
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x46b778]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0046126c
jmp 0x43b2b7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x43b207
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.0040386c
jmp 0x43b2c2
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x43b2b7
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x43b2b7
mov eax, dword [0x46cb10]
cmp byte [eax + 0x20], 0
je 0x43b2b7
mov eax, dword [0x46cb10]
cmp dword [eax + 0x1c], 0
je 0x43b2b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x46cb10]
cmp eax, dword [edx + 0x1c]
jne 0x43b2b7
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004554cc
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.0040386c
jmp 0x43b2c2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x43b2b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0043918c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f694
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x43f6b5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43f6ea
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43f6da
mov eax, dword [ebp - 4]
call fcn.0043dc70
test eax, eax
jne 0x43f6da
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f814
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f068
jmp 0x43f814
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43f80d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00441f20
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0043af94
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f694
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00441f20
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f814
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x447c8c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x46b8dc]
cmp byte [eax + 0xc], 0
je 0x447dfe
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x447df7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb64], 0
jne 0x447ce5
push 0x447e04
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x447e0c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb64], eax
cmp dword [0x469bf4], 0
jne 0x447de0
push 0x447e1c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469bf4], eax
cmp dword [0x469bf4], 0
je 0x447de0
push 0x447e28
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb68], eax
push 0x447e38
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb6c], eax
push 0x447e4c
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb70], eax
push 0x447e64
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb74], eax
push 0x447e7c
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb78], eax
push 0x447e90
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb7c], eax
push 0x447ea8
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb80], eax
push 0x447ec0
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb84], eax
push 0x447edc
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb88], eax
push 0x447ee8
mov eax, dword [0x469bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447dfe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004043d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44c821
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404648
mov esp, ebp
pop ebp
ret
Function at 0x455428
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x455480]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x455442
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45544c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x455456
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x455460
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45546a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45547a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x455484
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x4554c8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4554a5
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4554b5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x4554bf
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x45d438
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x45d44a
add esp, 0xfffffff0
call fcn.00403984
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041c5bc
mov eax, dword [0x46b5a0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d9a8
mov eax, dword [0x46b5ac]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d9c8
mov eax, dword [ebp - 4]
call fcn.0045d9e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41323c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41323c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41323c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41323c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41323c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x458df8
push eax
push 0
push 0
mov eax, dword [0x46b700]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e7ac]
call fcn.0041fda4
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e7ac]
call fcn.0041fda4
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e7ac]
call fcn.0041fda4
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0045df34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dd80
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x45d5d2
call fcn.004039dc
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret