joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433520
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x433555
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403af4
jmp 0x43355f
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403aa8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x434168
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x4341a0
mov eax, esi
call fcn.004278b4
test al, al
je 0x4341a0
mov eax, dword [ebx + 0x64]
call fcn.0042771c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4341a0
push 0
mov eax, dword [ebx + 0x64]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4477ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
cmp dword [0x5a7780], 0
jne 0x447845
lea eax, [ebp - 4]
push eax
push 0x447850
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x447845
mov eax, ebx
call fcn.004026a8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44783e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x447850
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x447828
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x447860
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x447828
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [0x5a7780], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447845
mov eax, dword [ebp - 8]
call fcn.004026c0
ret
mov eax, dword [0x5a7780]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4581ec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00403e50
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403e50
push eax
mov eax, edi
call fcn.00403e50
push eax
mov eax, esi
call fcn.00403e50
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00403af4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45b0e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b1c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a77dc], 0
jne 0x45b1ab
lea eax, [ebp - 8]
mov edx, 0x45b1e0
call fcn.00403aa8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e50
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45b1ab
mov eax, dword [ebp - 0xc]
call fcn.004026a8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45b1a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e50
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45b18e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45b1f0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b18e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x5a77dc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b1ab
mov eax, dword [ebp - 0x14]
call fcn.004026c0
ret
mov eax, dword [0x5a77dc]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b1d0
lea eax, [ebp - 8]
call fcn.00403a10
ret

Function at 0x465674
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4656a2
mov eax, ebx
call fcn.00466118
cmp dword [ebx + 0x3c], 0
je 0x46569b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x465713
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x465705
cmp dword [ebx + 8], 0
je 0x4656c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4656d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x465705
cmp dword [ebx + 8], 0
je 0x4656b7
cmp eax, 3
je 0x4656e9
dec eax
jne 0x4656b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4656b7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4656b7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x465731
cmp dword [ebx + 0x10], 0xcc
je 0x465731
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046573c
pop ebx
ret
Function at 0x4776d8
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 0x477729
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x477710
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x477700
jmp 0x477729
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 0x477711
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487834
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.0040e93c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4878bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4878a3
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040e308
test byte [eax + 0x40], 1
je 0x48789a
push 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040e308
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040e0f4
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x487868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4878c6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.0040e9b8
ret

Function at 0x48eb3c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
test byte [ebp - 4], 1
je 0x48eb67
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x48eb6a
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x48eb52
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x5a7810], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x48eb47
mov byte [0x5a7c10], 1
mov esp, ebp
pop ebp
ret

Function at 0x48eb98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x5a7c10], 0
jne 0x48ebbb
call fcn.0048eb3c
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48ebfa
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x5a7810]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x48ebce
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x495824
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x49585d
mov eax, dword [0x5a63d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x495850
push ebx
push 0x495864
call fcn.0042dc00
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x495884
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00495824
xor edx, edx
push ebp
push 0x495953
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x495925
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x495914
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004027e0
mov eax, dword [ebp - 4]
call fcn.004957dc
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49591b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x495964
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00495824
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
jne 0x495986
xor edi, edi
jmp 0x4959a5
push ebx
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov ecx, ebp
dec ecx
mov eax, edi
call fcn.00407abc
call fcn.00407a00
mov edi, eax
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, esi
call fcn.004957f8
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4959d4
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.00495824
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x495a46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x495a1a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403bc4
jmp 0x495a21
mov eax, ebx
call fcn.00403a10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495a4d
cmp dword [ebp - 8], 0
je 0x495a3d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004957f8
ret
Function at 0x495a54
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x495b32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00495824
xor edx, edx
push ebp
push 0x495b15
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x495ade
mov edx, ebx
mov eax, dword [0x417774]
call fcn.0041bd94
test al, al
je 0x495ace
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.0041bc68
call fcn.00403508
jmp 0x495b1c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x495a99
lea edx, [ebp - 8]
mov eax, dword [0x5a5f14]
call fcn.00404b64
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4063ec]
call fcn.00409e34
call fcn.00403468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495b1c
mov eax, dword [ebp - 4]
call fcn.004957f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495b39
lea eax, [ebp - 8]
call fcn.00403a10
ret

Function at 0x495b40
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.00495824
xor eax, eax
push ebp
push 0x495b98
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 0x495b9f
mov eax, dword [ebp - 4]
call fcn.004957f8
ret

Function at 0x495ba8
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.00495824
xor edx, edx
push ebp
push 0x495bfd
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 0x495c04
mov eax, dword [ebp - 4]
call fcn.004957f8
ret
Function at 0x495c74
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.00495824
xor eax, eax
push ebp
push 0x495ce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004957dc
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.0041bd68
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 0x495cd3
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 0x495cf0
mov eax, dword [ebp - 4]
call fcn.004957f8
ret

Function at 0x495cf8
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.00495824
xor eax, eax
push ebp
push 0x495d6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004957dc
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 0x495d57
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 0x495d74
mov eax, dword [ebp - 4]
call fcn.004957f8
ret

Function at 0x495dc8
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.00495824
xor eax, eax
push ebp
push 0x495e0c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495e13
mov eax, dword [ebp - 4]
call fcn.004957f8
ret
Function at 0x4a3f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0x10]
call fcn.00403e40
mov eax, dword [ebp + 0xc]
call fcn.00403e40
mov eax, dword [ebp + 8]
call fcn.00403e40
xor eax, eax
push ebp
push 0x4a400f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
mov dl, 1
mov eax, dword [0x4a3784]
call fcn.004a3dd4
mov ebx, eax
mov dword [ebx + 8], edi
mov eax, dword [ebp - 4]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 0x10]
call fcn.00403a64
lea eax, [ebx + 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00403a64
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp + 8]
call fcn.00403a64
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov edx, ebx
mov eax, dword [esi + 8]
call fcn.0040e090
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4016
lea eax, [ebp + 8]
mov edx, 3
call fcn.00403a34
ret
Function at 0x4a720c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a73a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a6cdc
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040a69c
cmp al, 2
jne 0x4a7252
dec esi
mov eax, ebx
call fcn.004a6ff0
test al, al
je 0x4a7343
test esi, esi
jge 0x4a7267
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a6cdc
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
cmp edi, eax
jge 0x4a72ae
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a6cdc
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x5a67e0]
and eax, 0xff
bt dword [edx], eax
jae 0x4a72ae
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x4a72bc
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.004a71e8
cmp edi, esi
je 0x4a733b
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a72e2
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.0042771c
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0042771c
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x4a738a
test esi, esi
jge 0x4a7349
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a6cdc
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
cmp esi, eax
jl 0x4a737f
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a6cdc
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.004a71e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a73aa
lea eax, [ebp - 0x204]
call fcn.00403a10
ret
Function at 0x4aa3c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4aa54a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.00418e58
cmp byte [ebp + 8], 0
je 0x4aa41d
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00418d28
jmp 0x4aa42b
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.00418d28
mov eax, dword [ebx + 0x10]
call fcn.00418e50
dec eax
jle 0x4aa471
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00418d20
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00418e50
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00418de8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4aa4d3
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00419878
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f0a58
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e50
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
setne byte [ebp - 5]
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4f42f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f43c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a6450]
cmp dword [eax], 0
je 0x4f4345
push 0
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x280]
call fcn.00457d78
mov eax, dword [0x5a63d0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov edx, dword [0x5a66f0]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.00403cd8
mov edx, dword [0x5a6490]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.0049c2b0
test eax, eax
jne 0x4f43aa
mov edx, dword [0x5a66f0]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x4f43d4
call fcn.00403cd8
mov eax, dword [0x5a5f5c]
mov eax, dword [eax]
call fcn.0042771c
push eax
mov eax, dword [ebp - 8]
call fcn.00403e50
mov edx, eax
mov ecx, 1
pop eax
call fcn.00543ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f43c7
lea eax, [ebp - 8]
call fcn.00403a10
ret

Function at 0x4f8320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x5a6450]
cmp dword [eax], 0
je 0x4f8372
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x280]
cmp byte [eax + 0xc0], 0
je 0x4f835e
push 0
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4f8372
push 4
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ecx
pop ebp
ret