joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f60
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 0x405007
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.00542109
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 0x405001
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 0x405001
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.005422d0
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 0x405001
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 0x4134e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ded3
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
push 0x128
call fcn.00522ba4
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x413532
mov ecx, dword [ebp - 0x18]
call fcn.004131a0
mov dword [ebp - 0x74], eax
jmp 0x413539
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004137b0
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x2c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0
je 0x41358b
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004ae3a0
add esp, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4135c4
jmp 0x413603
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0
je 0x4135f5
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], edx
cmp dword [ebp - 0x3c], 0
je 0x413603
mov ecx, dword [ebp - 0x3c]
call fcn.00402510
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x41361f
mov ecx, dword [ebp - 0x20]
call fcn.00402510
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x6c], ecx
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.004b78d0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x10], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.00405920
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41baf0
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a8cb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
push 0
push 0x6dd1b8
call fcn.0041b9d0
add esp, 8
push 0x6dd1b8
mov ecx, 0x6dd5b4
call fcn.00425340
mov eax, dword [0x6dd5b0]
sub eax, 0x10
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov edx, 1
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 8]
sub ecx, 0x104
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa4]
or edx, dword [ebp - 0xa8]
jge 0x41bb90
push 0x104
mov ecx, 0x6dd5b0
call fcn.00402830
push 0
push 0x1a
mov eax, dword [0x6dd5b0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x6dd5b0
call fcn.00424fd0
push 1
push 0x595b04
call fcn.0041ba60
add esp, 8
mov dword [0x6dd0a0], 0x114
push 0x6dd0a0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0052e9d1
mov ecx, dword [eax + 4]
mov dword [ebp - 0xb8], ecx
call fcn.0052e9d1
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xbc], edx
mov eax, 0x80
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x6dd098], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0xa4
push ecx
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.0052dba4
add esp, 4
push 0
call fcn.005447dd
add esp, 4
push eax
call fcn.00542a21
add esp, 4
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x44]
push eax
call fcn.004df2c0
add esp, 4
call fcn.0045e040
call fcn.004ad530
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6dd09c], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.00427b50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0x94]
mov dword [ecx + 0x20], edx
push 0
mov eax, 0x66
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x94]
call fcn.005235de
push 0
lea ecx, [ebp - 0x94]
call fcn.00525d03
mov edx, dword [0x6dd09c]
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x6dd09c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00522c27
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41bed0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x41bf20
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00425070
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424f40
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00424fd0
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x41bf36
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00425a30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4294d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b158
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4295af
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4295a9
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4295a9
mov eax, dword [ebp - 0x14]
push eax
call fcn.004296b0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4295a9
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0052afd1
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00435270
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CBitmap.0
lea ecx, [ebp - 0x20]
call fcn.00402c00
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4295d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b188
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
test ecx, ecx
je 0x42960c
xor eax, eax
jmp 0x429692
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x429690
mov dword [ebp - 0x14], vtable.CGdiObject.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004350c0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x14]
test eax, eax
jne 0x429656
mov dword [ebp - 0x1c], 0
jmp 0x42965c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.CBitmap.0
lea ecx, [ebp - 0x14]
call fcn.00402c00
mov eax, dword [ebp - 0x18]
jmp 0x429692
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42a210
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 0x42a231
mov eax, 1
jmp 0x42a2b7
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 0x42a297
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 0x42ae90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x42aea5
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 0x42aecc
xor eax, eax
jmp 0x42aecf
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42aee0
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 0x42af35
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 0x42afb6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42afb6
push 0x696704
mov ecx, dword [ebp - 0x10]
add ecx, 0x10c
push ecx
call fcn.005457d0
add esp, 8
test eax, eax
ja 0x42af79
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1a0], 0x47
jne 0x42afac
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.005422d0
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x42afb6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x42af4c
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 0x42d5c0
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 0x42d6a8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xd
je 0x42d5ef
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x41
jne 0x42d6a8
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 0x42d614
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x42d6a8
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0xd
jne 0x42d668
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x54], 0
je 0x42d666
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0052624f
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 0x42d6f5
jmp 0x42d6a8
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x41
jne 0x42d6a8
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 0x42d6a1
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 0x42d6f5
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x58], 0
je 0x42d6e9
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x42d6e9
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 8]
cmp edx, 9
jne 0x42d6e9
push 0x696bd0
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 0x42d6f5
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0052438c
mov esp, ebp
pop ebp
ret 4
Function at 0x42e1e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 0x696c38
mov eax, dword [ebp + 8]
push eax
call fcn.0054620c
add esp, 8
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
test ecx, ecx
jne 0x42e238
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x42e230
mov eax, dword [ebp - 4]
push eax
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x42e31a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00546021
add esp, 4
push eax
call fcn.00545f22
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x42e281
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
je 0x42e279
mov eax, dword [ebp - 4]
push eax
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x42e31a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp + 0x14], 0
je 0x42e298
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00542684
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e2cb
mov dword [ebp - 0x18], 0
cmp dword [ebp - 4], 0
je 0x42e2c6
mov edx, dword [ebp - 4]
push edx
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x42e31a
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.00545f05
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x42e2f7
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 0x42e317
mov edx, dword [ebp - 4]
push edx
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x42e320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x696c40
mov eax, dword [ebp + 8]
push eax
call fcn.0054620c
add esp, 8
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp - 4], 0
setne cl
test ecx, ecx
jne 0x42e36c
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x42e367
mov edx, dword [ebp - 4]
push edx
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x42e39e
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.00546385
add esp, 0x10
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x42e39b
mov eax, dword [ebp - 4]
push eax
call fcn.005460ca
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x42e460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
jmp 0x42e47b
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 0x42e4d7
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 0x42e4b7
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 0x42e4d5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
jae 0x42e4d5
mov eax, dword [ebp - 0xc]
jmp 0x42e4da
jmp 0x42e472
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x42fa90
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 0x430610
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 0x430780
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xd
jne 0x43068b
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 0x430658
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.0052624f
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00430c90
mov eax, 1
jmp 0x43078c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x1b
jne 0x4306d2
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0052624f
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.00430c90
mov eax, 1
jmp 0x43078c
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x26
jne 0x43071b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0052624f
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x100], 0
jle 0x430712
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x100]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00430f90
mov eax, 1
jmp 0x43078c
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x28
jne 0x430780
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0052624f
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 0x430779
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x100]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00430f90
mov eax, 1
jmp 0x43078c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.0052438c
mov esp, ebp
pop ebp
ret 4