joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016ac
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x11c
mov eax, 0x405cf7
call fcn.00405adf
or dword [ebp - 0x11c], 0xffffffff
mov esi, ecx
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x118]
push ecx
xor ebx, ebx
push ebx
push 0x4063c4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4017ce
lea eax, [ebp - 0x120]
push eax
lea edi, [ebp - 0x118]
call fcn.00401dce
lea eax, [ebp - 0x120]
push eax
add esi, 0x10
mov dword [ebp - 4], ebx
call fcn.00401f35
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
call fcn.004010b2
push str.BDMS
push 0x66
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x4017ce
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4017ce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x4017ce
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x11c], eax
je 0x4017ce
push dword [ebp - 0x11c]
xor eax, eax
lea edi, [ebp - 0x128]
stosd dword es:[edi], eax
push esi
push ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x120]
push eax
call fcn.004019c3
test eax, eax
pop ecx
pop ecx
jne 0x4017bb
push ebx
push ebx
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4017ce
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x11c], 0xffffffff
mov eax, dword [ebp - 0x11c]
call fcn.00405b29
ret
Function at 0x402615
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x405c4b
call fcn.00405aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00402286
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 0x34], 0x81
mov word [ebp - 0x30], 1
cmp dword [esi - 4], 1
jle 0x40267d
push dword [esi - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00402333
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push 0x400
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4026b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [esi - 0x10]
call fcn.004010b2
mov al, bl
call fcn.00405b15
ret
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0xc], ebx
mov byte [ebp + 0xb], 1
je 0x4026dc
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne byte [ebp + 0xb]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
mov bl, byte [ebp + 0xb]
jmp 0x4026a6

Function at 0x40271d
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, eax
call fcn.004027b6
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x4027ae
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esi + 8], eax
je 0x4027a9
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, edi
mov dword [esi + 0xc], edx
je 0x4027a0
push 6
pop ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4027a0
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov al, 1
jmp 0x4027b0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004027b6
xor al, al
pop edi
pop esi
leave
ret 4
Function at 0x40280e
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
jne 0x402815
xor al, al
ret
cmp word [ecx], 0x5a4d
jne 0x402812
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402812
mov eax, dword [eax + 0x98]
test eax, eax
je 0x402838
lea edx, [eax + ecx]
jmp 0x40283a
xor edx, edx
test edx, edx
je 0x402812
lea eax, [edx + 8]
test eax, eax
je 0x402812
cmp byte [eax], 0x30
lea ecx, [eax + 1]
jne 0x402869
mov al, byte [ecx]
inc ecx
cmp al, 0x82
jne 0x402869
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
lea eax, [eax + ecx + 0x13]
and eax, 0xffffff8
jmp 0x40286b
xor eax, eax
test eax, eax
je 0x402812
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov al, 1
ret

Function at 0x402910
Capabilities:
Delete file

Disassembly:
push esi
xor esi, esi
cmp dword [edi + 0x10], esi
je 0x402933
test esi, esi
jl 0x402947
cmp esi, dword [edi + 0x10]
jge 0x402947
mov eax, dword [edi + 0xc]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc esi
cmp esi, dword [edi + 0x10]
jne 0x402918
lea esi, [edi + 0xc]
call fcn.00401fad
mov eax, dword [edi + 4]
sub eax, 0x10
pop esi
jmp fcn.004010b2
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x404e81
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x406408
call fcn.004051d8
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x408750
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x404c39
cmp eax, esi
jne 0x404c2c
xor esi, esi
inc esi
mov ebx, esi
jmp 0x404c3c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404c13
xor esi, esi
inc esi
mov eax, dword [0x40874c]
cmp eax, esi
jne 0x404c4f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x404c7e
mov eax, dword [0x40874c]
test eax, eax
jne 0x404c78
mov dword [0x40874c], esi
push 0x4061c4
push 0x4061b8
call fcn.00404b82
pop ecx
pop ecx
test eax, eax
je 0x404c7e
jmp 0x404da6
mov dword [0x408344], esi
mov eax, dword [0x40874c]
cmp eax, esi
jne 0x404ca2
push 0x4061b4
push 0x40619c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40874c], 2
test ebx, ebx
jne 0x404cae
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x408754], 0
je 0x404cd2
push 0x408754
call fcn.004050c6
pop ecx
test eax, eax
je 0x404cd2
push 0
push 2
push 0
call dword [0x408754]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x404d2e
test al, al
je 0x404cec
cmp dword [ebp - 0x1c], 0
jne 0x404d2e
mov al, byte [esi]
test al, al
je 0x404cfc
cmp al, 0x20
ja 0x404cfc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x404cec
test byte [ebp - 0x3c], 1
je 0x404d08
movzx eax, word [ebp - 0x38]
jmp 0x404d0b
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x408340], eax
cmp dword [0x408334], 0
jne 0x404d82
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x404d3d
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x404d50
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x404cd9
cmp dword [0x408344], 0
jne 0x404d91
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x408340]
jmp 0x404db2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0040521d
ret
call fcn.004053a0
jmp 0x404bd9

Function at 0x405050
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x405063
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40505f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x405080
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x4050bf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4050b5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4050c1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x4050a5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4056b7
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0040560c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40572a
cmp dword [ebp - 0x94], 5
jb 0x40574b
jmp 0x405747
cmp dword [ebp - 0x88], 1
jne 0x40574b
cmp dword [ebp - 0x94], 4
ja 0x405747
jne 0x40574b
cmp dword [ebp - 0x90], 0
jbe 0x40574b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x406294
call fcn.004054c1
test eax, eax
jge 0x40576c
mov byte [0x40873c], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00404720
leave
ret
Function at 0x42546e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0042561e
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x42556c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x42550f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x425552
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x425526
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x425541
test al, 0x40
je 0x425538
mov ecx, dword [edi + 0x20]
jmp 0x42553f
test al, 0x80
je 0x425552
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x425552
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4254de
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x404dd4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f90
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404e35
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404fac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404ea7
xor eax, eax
push ebp
push 0x404ea0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404c2c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404e89
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404fcc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ea7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404f88
cmp byte [ebp - 0xd], 0
jne 0x404ee9
cmp byte [ebp - 0x12], 0
je 0x404f88
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404f02
dec ebx
cmp byte [ebx], 0x2e
je 0x404f11
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404f01
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404f88
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404f3e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f88
cmp byte [ebp - 0xd], 0
je 0x404f88
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404f88
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4084cc
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 0x408505
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039b0
jmp 0x40850e
mov eax, ebx
mov edx, esi
call fcn.0040391c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408518
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 0x408539
mov al, byte [esp]
jmp 0x40853b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41363c
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 0x413642
ret

Function at 0x4159a0
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 0x4159f1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4159d8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4159c8
jmp 0x4159f1
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 0x4159d9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f1e0
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x442778], 0
sete dl
or al, dl
jne 0x41f320
mov eax, dword [0x44277c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x442778]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x41f2ef
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x442778]
call fcn.0040d0cc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x41f2e7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x41f2e7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x41f2e7
mov eax, dword [ebp - 0x14]
call fcn.004274a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x41f2e7
push ebp
call fcn.0041f19c
pop ecx
test al, al
jne 0x41f2e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x41f2a3
mov eax, dword [ebp - 0x14]
call fcn.00425e34
dec eax
jle 0x41f2e7
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402e34
cmp byte [ebp - 1], 0
je 0x41f2e7
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x41f2e7
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44277c]
call fcn.0041e9e8
inc edi
dec esi
jne 0x41f236
mov eax, dword [0x44277c]
cmp dword [eax + 8], 0
jle 0x41f307
mov eax, dword [0x44277c]
call fcn.0041ea78
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41f320
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0041f004
pop ecx
test al, al
jne 0x41f320
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 0x424e40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x424e71
je 0x424ecb
sub eax, 7
je 0x424e92
dec eax
je 0x424ebc
sub eax, 0x17
je 0x424f70
jmp 0x424fae
add eax, 0xffffff00
sub eax, 9
jb 0x424f5c
add eax, 0xffffff09
sub eax, 0xb
jb 0x424f24
jmp 0x424fae
mov eax, ebx
call fcn.00436984
mov edi, eax
test edi, edi
je 0x42500e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x425017
jmp 0x42500e
test byte [ebx + 0x44], 0x20
jne 0x425017
jmp 0x42500e
mov edx, esi
mov eax, ebx
call fcn.00422480
cmp dword [esi + 0xc], 0xffffffff
jne 0x425017
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004067c8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00420fbc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00424d18
test eax, eax
je 0x425017
mov dword [esi + 0xc], 1
jmp 0x425017
mov edx, esi
mov eax, ebx
call fcn.00424dac
test al, al
je 0x42500e
cmp dword [esi + 0xc], 0
jne 0x425017
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004274a8
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x425017
mov eax, ebx
call fcn.00421b1c
test al, al
jne 0x425017
jmp 0x42500e
mov eax, ebx
call fcn.004274a8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42500e
cmp dword [0x4416cc], 0
je 0x42500e
mov eax, dword [0x4416cc]
cmp ebx, dword [eax + 0x24]
jne 0x42500e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4416cc]
call fcn.004223b4
jmp 0x42500e
mov eax, dword [0x442740]
cmp byte [eax + 0x20], 0
je 0x42500e
mov eax, dword [0x442740]
cmp dword [eax + 0x1c], 0
je 0x42500e
mov eax, dword [esi]
mov edx, dword [0x442740]
cmp eax, dword [edx + 0x1c]
jne 0x42500e
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004368c8
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402e34
jmp 0x425017
mov edx, esi
mov eax, ebx
call fcn.00422480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4254d8
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 + 0x1e8], 0
je 0x4254f4
cmp dword [esi + 4], 0
je 0x425521
test byte [ebx + 0x45], 1
jne 0x425513
mov eax, ebx
call fcn.00424410
test eax, eax
jne 0x425513
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x425631
mov edx, esi
mov eax, ebx
call fcn.00425150
jmp 0x425631
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x42562a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004274a8
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.004223b4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004254d8
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.004274a8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425631
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

Function at 0x42ec88
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.004038c8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ecd7
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.00403af8
pop ebx
mov esp, ebp
pop ebp
ret