joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ff70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x10061280
mov esi, dword [edi]
jmp 0x10061282
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100612aa
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
mov edi, dword [ebp - 0x14]
xor eax, edx
imul edx, eax, 0x1000193
lea eax, [edi + edi]
mov edi, dword [ebp + 0xc]
cmp ecx, eax
jb 0x10061290
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x100612bf
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [eax + ecx], esi
je 0x100612d5
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
mov eax, dword [ebx + 8]
cmp esi, dword [ecx + eax]
je 0x10061323
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x100612ee
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.10064db0
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x100612d5
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov eax, dword [edi + 0x10]
jb 0x10061311
mov edi, dword [edi]
push eax
push edi
push dword [ecx + 0x10]
push 0
call fcn.10064db0
test eax, eax
je 0x1006136d
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x10061354
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100613a7
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100613c9
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.10064c20
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x100613af
mov dword [ecx], edi
jmp 0x100613c9
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100613c9
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.10064b40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10064e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x10064ea9
mov esi, dword [edi]
jmp 0x10064eab
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x10064ecc
mov edi, eax
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10064eb8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x10064ee1
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx + 8]
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov esi, dword [ecx + esi]
lea ecx, [ecx]
add ecx, dword [ebx + 8]
mov eax, dword [ebx]
cmp dword [ecx], eax
je 0x10064efe
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x10064f75
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
jb 0x10064f0f
mov eax, dword [edi]
jmp 0x10064f11
mov eax, edi
push dword [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.10064db0
test eax, eax
je 0x10064f2a
mov esi, dword [esi]
mov ecx, dword [ebp + 0xc]
jmp 0x10064ef0
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x10064f38
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.10064db0
lea ecx, [ebp + 0xc]
test eax, eax
je 0x10064f62
mov eax, dword [ebx]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1006e640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, 0x80004003
push 0xffffffffffffffff
push 0x100a0fb8
push eax
xor eax, eax
mov dword fs:[0], esp
sub esp, 0xc
cmp dword [ebp + 8], eax
cmove eax, edx
test eax, eax
js 0x1006e76a
xor eax, eax
cmp dword [ebp + 0xc], eax
cmove eax, edx
test eax, eax
js 0x1006e76a
push edi
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.1006e0e0
mov edi, eax
test edi, edi
js 0x1006e75e
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
jne 0x1006e6cf
call fcn.100718d0
mov edi, eax
test edi, edi
js 0x1006e751
push 0x10117ada
push 0x10000
call fcn.1007921b
mov ebx, eax
mov dword [ebp + 8], 0
xor edi, edi
add esp, 8
test ebx, ebx
mov eax, 0x8007000e
cmove edi, eax
test edi, edi
js 0x1006e745
mov edi, edi
push 0
lea eax, [ebp + 8]
push eax
push 0x10000
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006e77a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1006e745
mov edx, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
push edi
push ecx
push ebx
mov eax, dword [edx]
push edx
mov dword [ebp - 0x14], 0
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
je 0x1006e781
mov edi, 0x80004005
push ebx
call fcn.10079216
mov ebx, dword [ebp - 0x18]
add esp, 4
cmp ebx, 0xffffffff
je 0x1006e75d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.100718d0
mov edi, eax
test edi, edi
jns 0x1006e700
jmp 0x1006e745
Function at 0x402ea4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4032fc
Capabilities:
Query or enumerate registry value

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

Function at 0x404078
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x612044], 0
je 0x4040d9
cmp word [0x612218], 0xd7b2
jne 0x4040a1
cmp dword [0x612220], 0
jbe 0x4040a1
mov eax, 0x612214
call dword [0x612230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x452070
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 0x404100
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x452034], 0
jne 0x4040f5
push 0
push 0x452068
push 0x452070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e20
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 0x405e86
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.0040446c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e8d
lea eax, [ebp - 0x10]
call fcn.004041fc
ret

Function at 0x40ae84
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 0x40aebd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042ec
jmp 0x40aec6
mov eax, ebx
mov edx, esi
call fcn.00404250
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b588
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b3f0
mov eax, dword [0x611594]
cmp byte [eax], 0
je 0x40b604
mov eax, dword [0x6113b8]
call fcn.00402d10
call fcn.00402bb4
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.00408674
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 0x40b64c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b63a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x611364]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x612660]
call fcn.0040528c
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 0x40bea8
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 0x40bf7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404294
lea eax, [ebp - 8]
call fcn.0040470c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf68
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf61
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.004046bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf4b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf4b
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 0x40bf68
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf85
lea eax, [ebp - 8]
call fcn.004041fc
ret

Function at 0x40c458
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 0x40c4bc
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.0040446c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081f0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4c3
lea eax, [ebp - 0xc]
call fcn.004041fc
ret
Function at 0x41a738
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x612880
cmp dword [esi], 0
jne 0x41a7de
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x61287c]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4523f0
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a710
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041a730
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041a730
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41a7a5
mov eax, dword [ebp - 8]
mov dword [0x61287c], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
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]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41ba04
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 0x41ba0a
ret

Function at 0x41de7c
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 0x41decd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41deb4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dea4
jmp 0x41decd
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 0x41deb5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f3e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x41f41d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x41fa35
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x20], 0
je 0x41fa35
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x41f440
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x41fa35
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x41fa35
mov eax, dword [ebp - 4]
call fcn.0041ef9c
xor eax, eax
mov dword [ebp - 0x70], eax
inc ebp
nop
Function at 0x426fb4
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 0x426f00
call sub.user32.dll_EnumWindows
ret

Function at 0x4270d4
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 0x427151
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426b34
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4270f9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426734
cmp dword [ebp - 4], 0
je 0x42713b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046bc
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 0x427158
lea eax, [ebp - 4]
call fcn.004041fc
ret

Function at 0x429dfc
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 [0x612ae4], 0
je 0x429f4b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x611538]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x429f4b
mov eax, dword [0x612ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x612ae4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x429f1a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x612ae4]
call fcn.00413c24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429f12
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x429f12
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x429f12
mov eax, dword [ebp - 0x14]
call fcn.00432994
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429f12
push ebp
call fcn.00429db8
pop ecx
test al, al
jne 0x429f12
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x429ece
mov eax, dword [ebp - 0x14]
call fcn.004314c4
dec eax
jle 0x429f12
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.00403690
cmp byte [ebp - 1], 0
je 0x429f12
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x429f12
mov edx, dword [ebp - 0x14]
mov eax, dword [0x612ae8]
call fcn.00429584
inc edi
dec ebx
jne 0x429e61
mov eax, dword [0x612ae8]
cmp dword [eax + 8], 0
jle 0x429f32
mov eax, dword [0x612ae8]
call fcn.00429614
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429f4b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429c20
pop ecx
test al, al
jne 0x429f4b
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 0x42d504
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 0x42d550
mov eax, esi
call fcn.00442a40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d550
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d550
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 0x42d68f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d590
cmp eax, 0x108
ja 0x42d590
mov eax, esi
call fcn.00442a40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d686
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d68f
jmp 0x42d686
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d66f
cmp eax, 0x20a
ja 0x42d66f
test byte [esi + 0x50], 0x80
jne 0x42d5c2
sub eax, 0x203
je 0x42d5bf
sub eax, 3
je 0x42d5bf
sub eax, 3
jne 0x42d5c2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d5d6
dec eax
je 0x42d5eb
dec eax
je 0x42d608
dec eax
je 0x42d5eb
jmp 0x42d60f
mov ecx, ebx
mov eax, dword [0x611538]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c2f0
jmp 0x42d686
cmp byte [esi + 0x5d], 1
jne 0x42d601
mov eax, esi
mov si, 0xffed
call fcn.00403690
jmp 0x42d68f
or word [esi + 0x54], 1
jmp 0x42d686
and word [esi + 0x54], 0xfffe
jmp 0x42d686
mov eax, dword [0x612aa0]
cmp byte [eax + 0x20], 0
je 0x42d686
mov eax, dword [0x612aa0]
cmp dword [eax + 0x1c], 0
je 0x42d686
mov eax, dword [ebx]
mov edx, dword [0x612aa0]
cmp eax, dword [edx + 0x1c]
jne 0x42d686
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.00442984
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.00403690
jmp 0x42d68f
cmp eax, 0xb00b
jne 0x42d686
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042be60
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 0x430b24
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 0x430b40
cmp dword [esi + 4], 0
je 0x430b6d
test byte [ebx + 0x55], 1
jne 0x430b5f
mov eax, ebx
call fcn.0042f730
test eax, eax
jne 0x430b5f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430c7d
mov edx, esi
mov eax, ebx
call fcn.00430648
jmp 0x430c7d
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 0x430c76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432994
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.0042d438
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430b24
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.00432994
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430c7d
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