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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x1015e74
call dword [sym.imp.msvcrt.dll__errno]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.01012837
add esp, 0x14
jmp 0x1015f5e
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x1015f5e
test al, 0x40
jne 0x1015f5e
test al, 2
je 0x1015e96
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x1015f5e
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
je 0x1015e56
push dword [esi + 0x18]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push esi
mov dword [esi], eax
call edi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
mov dword [esi + 4], eax
cmp eax, ebx
je 0x1015f4e
cmp eax, 1
je 0x1015f4e
cmp eax, 0xffffffff
je 0x1015f4e
test byte [esi + 0xc], 0x82
jne 0x1015f20
push esi
call edi
pop ecx
cmp eax, 0xffffffff
je 0x1015f0b
push esi
call edi
pop ecx
cmp eax, 0xfffffffe
je 0x1015f0b
push esi
call edi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push esi
lea ebx, [ecx + eax*4]
call edi
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [ebx]
pop ecx
pop ecx
jmp 0x1015f10
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x1015f20
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x1015f3e
mov eax, dword [esi + 0xc]
test al, 8
je 0x1015f3e
test eax, 0x400
jne 0x1015f3e
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
add dword [esi + 4], 0xfffffffe
movzx eax, word [ecx]
add ecx, 2
mov dword [esi], ecx
jmp 0x1015f63
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov eax, 0xffff
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1017371
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x10173b2
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x101738b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10173d0
dec esi
je 0x10173c7
dec esi
jne 0x10173d5
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x101b4a4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101f100]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x1020b64], edi
jne 0x101b5c0
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x101b50b
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x1020b64], edi
pop esi
je 0x101b593
dec eax
jne 0x101b5c0
cmp dword [ebp - 0x11c], 5
jne 0x101b580
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x101b574
dec eax
je 0x101b561
dec eax
je 0x101b547
mov dword [0x1020b64], 0x14
jmp 0x101b5c0
cmp word [ebp - 0xc], 1
jb 0x101b558
mov dword [0x1020b64], 0x10
or dword [0x1020b64], 4
jmp 0x101b5c0
cmp word [ebp - 0xc], 2
jb 0x101b558
mov dword [0x1020b64], 8
jmp 0x101b558
mov dword [0x1020b64], 4
jmp 0x101b5c0
cmp dword [ebp - 0x11c], 4
ja 0x101b5d2
mov dword [0x1020b64], 2
cmp dword [ebp - 0x11c], 4
jne 0x101b5c0
cmp dword [ebp - 0x118], edi
je 0x101b5b6
cmp dword [ebp - 0x118], 0xa
je 0x101b5b6
cmp dword [ebp - 0x118], 0x5a
jne 0x101b5c0
mov dword [0x1020b64], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x1020b64]
xor ecx, ebp
pop edi
call fcn.01012505
leave
ret
mov dword [0x1020b64], 0x20
jmp 0x101b5c0

Function at 0x101b5e3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x101f100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101b637
push 3
lea eax, [ebp - 0x44]
push 0x1002ab8
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01012505
leave
ret

Function at 0x101b64c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101f100]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x1020b68]
jne 0x101b6e7
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x10029e8
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101b6e6
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1002aa0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x101b6e6
push 3
push dword [esi*8 + 0x1002838]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x101b6d8
inc esi
cmp esi, 0x1c
jb 0x101b6b7
jmp 0x101b6e6
mov ax, word [esi*8 + 0x100283c]
mov word [0x1020b68], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x1020b68]
xor ecx, ebp
call fcn.01012505
leave
ret
Function at 0x40893d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.00408973
or ebx, esi
mov ebx, 0xeeed7861
xor dword [edi], ecx
add esi, 0xd80d9d0d
sub ebx, ebx
inc edi
add ebx, esi
sub esi, ebx
cmp edi, eax
jne fcn.0040893d
add esi, 0xd5db8563
push 0x9123e6d2
mov esi, dword [esp]
add esp, 4
ret
Function at 0x402a5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403fd4
test esi, esi
jne 0x402a92
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040c4
jmp 0x402ab0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402910
mov edi, eax
test esi, esi
je 0x402ab0
cmp dword [ebx], 0
je 0x402ab0
dec esi
jmp 0x402a99
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403114
Capabilities:
Query or enumerate registry value

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

Function at 0x403e58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x451048], 0
je 0x403eb9
cmp word [0x45121c], 0xd7b2
jne 0x403e81
cmp dword [0x451224], 0
jbe 0x403e81
mov eax, 0x451218
call dword [0x451234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44f06c
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 0x403ee0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44f030], 0
jne 0x403ed5
push 0
push 0x44f064
push 0x44f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405b2c
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 0x405b92
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.00404244
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cd8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b7c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b99
lea eax, [ebp - 0x10]
call fcn.00403fd4
ret

Function at 0x40ab50
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 0x40ab89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040c4
jmp 0x40ab92
mov eax, ebx
mov edx, esi
call fcn.00404028
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b244
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b0bc
mov eax, dword [0x450058]
cmp byte [eax], 0
je 0x40b2c0
mov eax, dword [0x44fe80]
call fcn.00402b44
call fcn.0040283c
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.004083c4
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 0x40b308
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44fe2c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x451664]
call fcn.00405040
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 0x40bb5c
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 0x40bc32
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040406c
lea eax, [ebp - 8]
call fcn.004044e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404494
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc1c
mov eax, ebx
call fcn.004026d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc15
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.00404494
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bbff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc44
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bbff
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 0x40bc1c
mov eax, dword [ebp - 0x10]
call fcn.004026f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc39
lea eax, [ebp - 8]
call fcn.00403fd4
ret

Function at 0x40c0b0
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 0x40c114
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.00404244
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407edc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c11b
lea eax, [ebp - 0xc]
call fcn.00403fd4
ret

Function at 0x41a240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x451884
cmp dword [edi], 0
jne 0x41a2bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x451880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44f3ec
mov ecx, 2
call fcn.004028d0
mov edx, 0x41a218
lea eax, [esi + 5]
call fcn.0041a238
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a238
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 0x41a291
mov dword [0x451880], 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 0x41b4d8
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 0x41b4de
ret
Function at 0x41d920
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 0x41d971
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d958
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d948
jmp 0x41d971
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 0x41d959
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4281e0
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 0x42812c
call sub.user32.dll_EnumWindows
ret

Function at 0x428300
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 0x42837d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427d60
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 0x428325
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00427960
cmp dword [ebp - 4], 0
je 0x428367
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404494
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 0x428384
lea eax, [ebp - 4]
call fcn.00403fd4
ret

Function at 0x42b020
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 [0x451b5c], 0
je 0x42b16f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44fffc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42b16f
mov eax, dword [0x451b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b13e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b5c]
call fcn.004137c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b136
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42b136
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b136
mov eax, dword [ebp - 0x14]
call fcn.00433c1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b136
push ebp
call fcn.0042afdc
pop ecx
test al, al
jne 0x42b136
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42b0f2
mov eax, dword [ebp - 0x14]
call fcn.0043274c
dec eax
jle 0x42b136
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.00403498
cmp byte [ebp - 1], 0
je 0x42b136
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b136
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b60]
call fcn.0042a7a8
inc edi
dec ebx
jne 0x42b085
mov eax, dword [0x451b60]
cmp dword [eax + 8], 0
jle 0x42b156
mov eax, dword [0x451b60]
call fcn.0042a838
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b16f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ae44
pop ecx
test al, al
jne 0x42b16f
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 0x42e734
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 0x42e780
mov eax, esi
call fcn.00443bbc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e780
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e780
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 0x42e8bf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e7c0
cmp eax, 0x108
ja 0x42e7c0
mov eax, esi
call fcn.00443bbc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e8b6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e8bf
jmp 0x42e8b6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e89f
cmp eax, 0x20a
ja 0x42e89f
test byte [esi + 0x50], 0x80
jne 0x42e7f2
sub eax, 0x203
je 0x42e7ef
sub eax, 3
je 0x42e7ef
sub eax, 3
jne 0x42e7f2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e806
dec eax
je 0x42e81b
dec eax
je 0x42e838
dec eax
je 0x42e81b
jmp 0x42e83f
mov ecx, ebx
mov eax, dword [0x44fffc]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d380
jmp 0x42e8b6
cmp byte [esi + 0x5d], 1
jne 0x42e831
mov eax, esi
mov si, 0xffed
call fcn.00403498
jmp 0x42e8bf
or word [esi + 0x54], 1
jmp 0x42e8b6
and word [esi + 0x54], 0xfffe
jmp 0x42e8b6
mov eax, dword [0x451b18]
cmp byte [eax + 0x20], 0
je 0x42e8b6
mov eax, dword [0x451b18]
cmp dword [eax + 0x1c], 0
je 0x42e8b6
mov eax, dword [ebx]
mov edx, dword [0x451b18]
cmp eax, dword [edx + 0x1c]
jne 0x42e8b6
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.00443b00
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.00403498
jmp 0x42e8bf
cmp eax, 0xb00b
jne 0x42e8b6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042d070
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 0x431dac
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 0x431dc8
cmp dword [esi + 4], 0
je 0x431df5
test byte [ebx + 0x55], 1
jne 0x431de7
mov eax, ebx
call fcn.0043094c
test eax, eax
jne 0x431de7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431f05
mov edx, esi
mov eax, ebx
call fcn.004318d0
jmp 0x431f05
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 0x431efe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433c1c
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.0042e668
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431dac
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.00433c1c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431f05
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