joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bf20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42bfc7
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.0053461f
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + ecx + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42bfc1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42bfc1
mov ecx, dword [ebp - 0xc]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.005347e0
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x42bfc1
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42c580
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x42c5a1
mov eax, 1
jmp 0x42c627
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp + 0xc], 0
je 0x42c607
push 9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42d3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x42d405
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42d42c
xor eax, eax
jmp 0x42d42f
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42d440
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
push 0x288
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x288
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x42d495
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42d516
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d516
push 0xf8c7dc
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
push ecx
call fcn.00537e20
add esp, 8
test eax, eax
ja 0x42d4d9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1a0], 0x47
jne 0x42d50c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x190]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x194
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005347e0
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x42d516
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x42d4ac
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42eda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5732d3
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0xfd2698]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x238], 0x104
lea ecx, [ebp - 0x18]
call fcn.00427e60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x23c]
push eax
push 0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42eebe
lea ecx, [ebp - 0x234]
push ecx
push 0xf003f
push 0
push 0xf8ca68
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42eeb1
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x444]
test eax, eax
jne 0x42ee79
mov dword [ebp - 0x458], 0
jmp 0x42ee8e
lea ecx, [ebp - 0x444]
push ecx
call fcn.0053461f
add esp, 4
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x18]
call fcn.004025f0
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x45c], ecx
xor edx, edx
cmp dword [ebp - 0x45c], 0
sete dl
movzx eax, dl
test eax, eax
je 0x42ef0b
mov ecx, dword [ebp + 8]
call fcn.00427e60
mov ecx, dword [ebp - 0x448]
or ecx, 1
mov dword [ebp - 0x448], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004286c0
mov eax, dword [ebp + 8]
jmp 0x42efd8
lea ecx, [ebp - 0x230]
call fcn.00427e60
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x42ef76
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x42ef76
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x22
jne 0x42ef4b
jmp 0x42ef76
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x496], dx
movzx eax, word [ebp - 0x496]
push eax
lea ecx, [ebp - 0x230]
call fcn.00428760
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x42ef34
mov edx, dword [ebp - 0x230]
sub edx, 0x10
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x49c]
push eax
call fcn.00402890
add esp, 4
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x448]
or eax, 1
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004286c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004286c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00533f19
mov esp, ebp
pop ebp
ret
Function at 0x42f000
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573308
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
push 0xfad8e8
push 1
push 0
push 0xfad958
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x42f04d
xor eax, eax
jmp 0x42f17f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x42f077
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
cmp eax, 0x68
jne 0x42f0a6
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 2]
cmp edx, 0x74
jne 0x42f0a6
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 4]
cmp ecx, 0x74
jne 0x42f0a6
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
cmp eax, 0x70
je 0x42f0d5
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
cmp edx, 0x77
jne 0x42f124
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 2]
cmp ecx, 0x77
jne 0x42f124
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 4]
cmp eax, 0x77
jne 0x42f124
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
cmp edx, 0x2e
jne 0x42f124
lea eax, [ebp - 0x1c]
push eax
call fcn.0042eda0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x20], edx
xor eax, eax
cmp dword [ebp - 0x20], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x42f115
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004286c0
lea ecx, [ebp - 0x10]
push ecx
push 0xfad918
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x42f147
xor eax, eax
jmp 0x42f17f
push 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x18]
call ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573338
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x42f555
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42f557
jmp 0x42f5cf
lea ecx, [ebp - 0x30]
call fcn.00427e60
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x588f9c
lea eax, [ebp - 0x30]
push eax
call fcn.00402ac0
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.00428760
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov eax, 0x44
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0xf8cb98
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004286c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4313b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x431498
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xd
je 0x4313df
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x41
jne 0x431498
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x8000
je 0x431404
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x431498
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0xd
jne 0x431458
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x54], 0
je 0x431456
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051877b
mov dword [ebp - 0xc], eax
push 0
push 1
push 0x111
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4314e5
jmp 0x431498
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x41
jne 0x431498
push 0xffffffffffffffff
push 0
push 0xb1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
jne 0x431491
push 0
push 0
push 0xb7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4314e5
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x58], 0
je 0x4314d9
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4314d9
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 8]
cmp edx, 9
jne 0x4314d9
push 0xf8cd98
push 0
push 0xc2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4314e5
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.005168cb
mov esp, ebp
pop ebp
ret 4
Function at 0x432050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
jmp 0x43206b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xc], edx
jge 0x4320c7
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0xf8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 4]
jbe 0x4320a7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x4320c5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
jae 0x4320c5
mov eax, dword [ebp - 0xc]
jmp 0x4320ca
jmp 0x432062
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4

Function at 0x4320d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 0xf8ce00
mov eax, dword [ebp + 8]
push eax
call fcn.0053a285
add esp, 8
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
test ecx, ecx
jne 0x432128
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x432120
mov eax, dword [ebp - 4]
push eax
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x43220a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0053a09a
add esp, 4
push eax
call fcn.00539f9b
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x432171
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
je 0x432169
mov eax, dword [ebp - 4]
push eax
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x43220a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp + 0x14], 0
je 0x432188
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00534b94
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4321bb
mov dword [ebp - 0x18], 0
cmp dword [ebp - 4], 0
je 0x4321b6
mov edx, dword [ebp - 4]
push edx
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x43220a
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00539f7e
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4321e7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov word [ecx + edx], ax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 4], 0
je 0x432207
mov edx, dword [ebp - 4]
push edx
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x432210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0xf8ce08
mov eax, dword [ebp + 8]
push eax
call fcn.0053a285
add esp, 8
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
test ecx, ecx
jne 0x43225c
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x432257
mov edx, dword [ebp - 4]
push edx
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x43228e
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0053a3fe
add esp, 0x10
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x43228b
mov eax, dword [ebp - 4]
push eax
call fcn.0053a143
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4338f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x434470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4345e0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xd
jne 0x4344eb
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 0x8000
je 0x4344b8
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051877b
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00434af0
mov eax, 1
jmp 0x4345ec
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x1b
jne 0x434532
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051877b
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x100], 0xffffffff
push 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00434af0
mov eax, 1
jmp 0x4345ec
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x26
jne 0x43457b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051877b
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x100], 0
jle 0x434572
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x100]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00434df0
mov eax, 1
jmp 0x4345ec
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x28
jne 0x4345e0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051877b
mov dword [ebp - 0x18], eax
push 0
push 0
push 0x1004
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x100], ecx
jge 0x4345d9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x100]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00434df0
mov eax, 1
jmp 0x4345ec
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.005168cb
mov esp, ebp
pop ebp
ret 4
Function at 0x4357a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x4357d6
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x435886
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x4357f9
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x43581d
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.00435770
add esp, 8
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x435860
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 9], cl
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x4357cd
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret