joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027f2b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10027f4f
xor eax, eax
jmp 0x1002808f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.10027d99
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10027f77
xor eax, eax
jmp 0x1002808f
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x4ed7
call fcn.10027af3
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10027f9a
xor eax, eax
jmp 0x1002808f
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10027c4d
add esp, 0x18
push dword [ebp + 8]
push 0x2868
push dword [ebp - 4]
push 0x727a
push dword [ebp - 8]
push 0
call fcn.10022e49
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push 0x41e0
call fcn.10027df5
add esp, 0x10
push dword [ebp - 4]
call fcn.100279e8
pop ecx
test eax, eax
jne 0x1002800a
xor eax, eax
jmp 0x1002808f
push 0xbe2
push 1
lea eax, [ebp - 4]
push eax
push 0x43dd
call fcn.10027e63
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10028077
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10028041
xor eax, eax
jmp 0x1002808f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002805a
xor eax, eax
jmp 0x1002808f
push 0x4de8
push 0x6791
lea eax, [ebp - 4]
push eax
push 1
push 0x312c
call fcn.10027ec7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10028088
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002808c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10074327
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007e340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10065144
mov dword [ebp - 0x14], eax
cmp dword [0x1066bb94], esi
jne 0x1007441a
push 0x800
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100743a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100744fa
push esi
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100744fa
push 0x10007d44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100744fa
push eax
call ebx
push 0x10007d50
push edi
mov dword [0x1066bb94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d60
push edi
mov dword [0x1066bb98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d74
push edi
mov dword [0x1066bb9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066bba4], eax
test eax, eax
je 0x10074417
push 0x10007d90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066bba0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007443f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074432
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10074454
push 4
pop eax
jmp 0x100744fc
cmp dword [ebp - 0x14], esi
je 0x10074454
push dword [0x1066bb94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10074439
mov eax, dword [0x1066bba0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100744b2
cmp dword [0x1066bba4], edi
je 0x100744b2
push eax
call ebx
push dword [0x1066bba4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100744b2
test eax, eax
je 0x100744b2
call ecx
test eax, eax
je 0x100744a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100744a7
test byte [ebp - 8], 1
jne 0x100744b2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100744e2
mov eax, dword [0x1066bb98]
cmp eax, edi
je 0x100744df
push eax
call ebx
test eax, eax
je 0x100744df
call eax
mov esi, eax
test esi, esi
je 0x100744df
mov eax, dword [0x1066bb9c]
cmp eax, edi
je 0x100744df
push eax
call ebx
test eax, eax
je 0x100744df
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066bb94]
call ebx
test eax, eax
je 0x100744fa
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100744fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4028dc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40290b
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c50
jmp 0x402929
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402864
mov edi, eax
test ebx, ebx
je 0x402929
cmp dword [esi], 0
je 0x402929
dec ebx
jmp 0x402912
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b28
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x47c040], 0x8088405
inc edx
mov dword [0x47c040], edx
mul edx
mov eax, edx
ret

Function at 0x402c8c
Capabilities:
Query or enumerate registry value

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

Function at 0x403b1c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040270c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47c045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ae4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40569c
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 0x405858
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4056fd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405874
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40576f
xor eax, eax
push ebp
push 0x405768
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.004054f4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405751
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405894
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 0x40576f
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 0x405850
cmp byte [ebp - 0xd], 0
jne 0x4057b1
cmp byte [ebp - 0x12], 0
je 0x405850
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4057ca
dec ebx
cmp byte [ebx], 0x2e
je 0x4057d9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4057c9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405850
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405806
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 0x405850
cmp byte [ebp - 0xd], 0
je 0x405850
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 0x405850
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 0x409670
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 0x4096a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c50
jmp 0x4096b2
mov eax, ebx
mov edx, esi
call fcn.00403bbc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4096bc
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 0x4096dd
mov al, byte [esp]
jmp 0x4096df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415a6c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x415a81
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x417a90
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 0x417a96
ret

Function at 0x41a094
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 0x41a0e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41a0cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41a0bc
jmp 0x41a0e5
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 0x41a0cd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a204
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42a258
mov eax, dword [0x47bc18]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42a230
push ebx
push 0x42a260
call fcn.00444f70
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42a254
mov ecx, dword [0x47b9ec]
mov dl, 1
mov eax, dword [0x407894]
call fcn.00409ec0
call fcn.004035b4
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42a280
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42a2f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42a2c6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d20
jmp 0x42a2cd
mov eax, ebx
call fcn.00403b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2f9
cmp dword [ebp - 8], 0
je 0x42a2e9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret

Function at 0x42a300
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
xor edx, edx
push ebp
push 0x42a3a2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42a375
mov edx, ebx
mov eax, dword [0x417564]
call fcn.0041ba28
test al, al
je 0x42a365
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041b938
call fcn.00403654
jmp 0x42a3a9
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42a330
mov ecx, dword [0x47ba4c]
mov dl, 1
mov eax, dword [0x407894]
call fcn.00409ec0
call fcn.004035b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a3a9
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42a3b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
xor eax, eax
push ebp
push 0x42a408
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a40f
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret
Function at 0x42a418
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
xor edx, edx
push ebp
push 0x42a46d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a474
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret

Function at 0x42a4e4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
xor eax, eax
push ebp
push 0x42a559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042a1bc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041b9fc
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a543
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a560
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret

Function at 0x42a568
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042a204
xor eax, eax
push ebp
push 0x42a5dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042a1bc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42a5c7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a5e4
mov eax, dword [ebp - 4]
call fcn.0042a1d8
ret
Function at 0x42d358
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 [0x47c784], 0
sete dl
or al, dl
jne 0x42d498
mov eax, dword [0x47c788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47c784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42d467
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x47c784]
call fcn.0040ece4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d45f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42d45f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42d45f
mov eax, dword [ebp - 0x14]
call fcn.00435668
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d45f
push ebp
call fcn.0042d314
pop ecx
test al, al
jne 0x42d45f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42d41b
mov eax, dword [ebp - 0x14]
call fcn.00433ff4
dec eax
jle 0x42d45f
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.00402ff8
cmp byte [ebp - 1], 0
je 0x42d45f
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d45f
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47c788]
call fcn.0042cb60
inc edi
dec esi
jne 0x42d3ae
mov eax, dword [0x47c788]
cmp dword [eax + 8], 0
jle 0x42d47f
mov eax, dword [0x47c788]
call fcn.0042cbf0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d498
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d17c
pop ecx
test al, al
jne 0x42d498
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 0x433000
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 0x433031
je 0x43308b
sub eax, 7
je 0x433052
dec eax
je 0x43307c
sub eax, 0x17
je 0x433130
jmp 0x43316e
add eax, 0xffffff00
sub eax, 9
jb 0x43311c
add eax, 0xffffff09
sub eax, 0xb
jb 0x4330e4
jmp 0x43316e
mov eax, ebx
call fcn.00445198
mov edi, eax
test edi, edi
je 0x4331ce
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4331d7
jmp 0x4331ce
test byte [ebx + 0x44], 0x20
jne 0x4331d7
jmp 0x4331ce
mov edx, esi
mov eax, ebx
call fcn.00430600
cmp dword [esi + 0xc], 0xffffffff
jne 0x4331d7
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004073d4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042f134
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00432ed8
test eax, eax
je 0x4331d7
mov dword [esi + 0xc], 1
jmp 0x4331d7
mov edx, esi
mov eax, ebx
call fcn.00432f6c
test al, al
je 0x4331ce
cmp dword [esi + 0xc], 0
jne 0x4331d7
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.00435668
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x4331d7
mov eax, ebx
call fcn.0042fc9c
test al, al
jne 0x4331d7
jmp 0x4331ce
mov eax, ebx
call fcn.00435668
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4331ce
cmp dword [0x47a818], 0
je 0x4331ce
mov eax, dword [0x47a818]
cmp ebx, dword [eax + 0x24]
jne 0x4331ce
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x47a818]
call fcn.00430534
jmp 0x4331ce
mov eax, dword [0x47c74c]
cmp byte [eax + 0x20], 0
je 0x4331ce
mov eax, dword [0x47c74c]
cmp dword [eax + 0x1c], 0
je 0x4331ce
mov eax, dword [esi]
mov edx, dword [0x47c74c]
cmp eax, dword [edx + 0x1c]
jne 0x4331ce
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.004450dc
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.00402ff8
jmp 0x4331d7
mov edx, esi
mov eax, ebx
call fcn.00430600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433698
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 0x4336b4
cmp dword [esi + 4], 0
je 0x4336e1
test byte [ebx + 0x45], 1
jne 0x4336d3
mov eax, ebx
call fcn.004325d0
test eax, eax
jne 0x4336d3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4337f1
mov edx, esi
mov eax, ebx
call fcn.00433310
jmp 0x4337f1
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 0x4337ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435668
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.00430534
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433698
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.00435668
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4337f1
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 0x43d4bc
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.00403b68
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d50b
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.00403d98
pop ebx
mov esp, ebp
pop ebp
ret