joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4126d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc298
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x18], 1
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
mov dword [ebp - 4], 0
test eax, 0xfffffffc
je 0x4127d3
mov dl, byte [ebp - 0x14]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 0x14], dl
lea edx, [ebp - 0x14]
push edx
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.00412020
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov eax, dword [eax]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x41279a
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, edi
ja 0x41279a
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [esi + edi]
sub ecx, eax
push ecx
push 0x64
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4127d3
mov eax, dword [ebx + 0x1c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub eax, 0x6a94b199
push eax
push 0x7ea
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + 4]
sub ecx, edx
push ecx
push edx
push eax
call fcn.004a4260
add esp, 0xc
add dword [ebx + 0x20], 0xfffffffc
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret

Function at 0x4128d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x412929
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x412909
cmp dword [ebp - 8], 0x103
jne 0x412929
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x412929
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x412970
push 0
push 0
call fcn.004ac8e0
xor ebx, ebx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne bl
test eax, eax
je 0x412957
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop esi
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
Function at 0x415d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc3b7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fd5c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ebx, [edi + 0x38]
mov dword [edi], 0
mov ecx, ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0041bc90
mov dword [ebx], eax
lea esi, [edi + 0x40]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00412a10
mov dword [esi], eax
add edi, 0x48
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [ebp + 8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041bcc0
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [eax + 0x50], 0
call fcn.0041bd90
mov ecx, esi
call fcn.0041bd90
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [eax + 4]
call fcn.0044ac70
mov eax, dword [edi]
mov byte [ebp - 4], 2
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
call fcn.00421730
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416740
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x4168ad
test ebx, ebx
je 0x4168ad
cmp word [ebx], 0
je 0x4168ad
push esi
push 0xfffffffffffffff0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x416832
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
jne 0x416832
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004a3390
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0xa1
mov dword [ebp - 0x2c], eax
push 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [edi]
mov dword [ebp - 0x10], ebx
call esi
lea ecx, [ebp - 0x3c]
call fcn.00420d00
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x38]
add eax, 0xf
movzx ecx, ax
mov eax, dword [ebp - 0x3c]
add eax, 0xf
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [edi]
call esi
lea eax, [ebp - 0x34]
push eax
push 1
push 0x411
jmp 0x4168a8
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004a3390
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
push 0
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x18]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [edi]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00420d00
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push 0
push 0x41c
push dword [edi]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004a10e1
mov esp, ebp
pop ebp
ret 4
Function at 0x41ca80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41cbe5
cmp dword [eax + 0x21c], 0
je 0x41cacf
push ebx
push esi
push edi
push eax
call fcn.0041ce30
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret 0x10
push 0x104
add eax, 0xc
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004aad26
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004b3e9b
add esp, 0x1c
lea eax, [ebp - 0x20c]
push 0
push 0
push 3
push 0
push 7
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41cbe5
test edi, edi
je 0x41cbe5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x41cbb6
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push 0
push eax
mov dword [esi], eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebx], 0
jne 0x41cb63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41cbd7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
push ecx
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cbb6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
test ecx, ecx
je 0x41cbcf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a10e1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x422140
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422160
lea ecx, [ebp + 0xc]
sub eax, edx
push ecx
push 0
push dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.004036d0
push dword [eax + 4]
push dword [eax]
call fcn.004aa686
mov eax, dword [0x4ff16c]
mov ecx, eax
inc eax
mov dword [0x4ff16c], eax
lea eax, [ebp - 0x404]
push eax
push ecx
lea eax, [ebp - 0xc04]
push str.__d__s
push eax
call fcn.00415d60
add esp, 0x30
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
Function at 0x42a750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov di, word [ebp + 8]
and eax, 0x8000
movzx edx, di
add edx, 0xfffffffd
cmp edx, 0x17
ja case.0x42a781.4
movzx ecx, byte [edx + 0x42a8f0]
jmp dword [ecx*4 + 0x42a8d8]
test dword [esi + 0xdf8], 0x800
jne 0x42a8cb
test eax, eax
jne 0x42a8cb
mov eax, dword [esi + 0xe10]
cmp eax, dword [esi + 0xe14]
jne 0x42a7d9
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00429da0
mov eax, dword [esi + 0xe14]
test eax, eax
je 0x42a7c4
dec eax
push eax
push dword [esi + 0xe10]
mov ecx, esi
call fcn.00429da0
mov ecx, esi
call fcn.00429a40
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test byte [esi + 0xdf8], 0x20
jne 0x42a8cb
mov eax, dword [esi]
push esi
call dword [eax + 0x1c0]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x800
jne 0x42a8cb
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x820
jne 0x42a8cb
mov eax, dword [esi]
push esi
call dword [eax + 0x1c8]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x800
jne 0x42a8cb
mov ecx, esi
call fcn.0042b040
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xdf8]
test eax, 0x2000
je 0x42a89d
cmp di, 0x30
jb 0x42a897
cmp di, 0x39
jbe 0x42a89d
cmp di, 0x2d
jne 0x42a8cb
test eax, 0x800
jne 0x42a8cb
cmp di, 0x20
jb 0x42a8cb
cmp di, 0x7f
je 0x42a8cb
xor eax, eax
mov word [ebp - 8], di
push 1
mov word [ebp - 6], ax
mov ecx, esi
push 1
lea eax, [ebp - 8]
push eax
push 1
call fcn.0042ab40
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42a940
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0xe10]
mov edi, dword [ecx + 0xe14]
cmp eax, edi
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x42a9d2
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 4]
push edi
mov ecx, dword [ecx + 0xdd8]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.004a2e10
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x42b110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
jne 0x42b2d6
push edi
push 0x10
call esi
mov edi, eax
push 0x11
and edi, 0x8000
call esi
mov ecx, dword [ebp + 0xc]
mov edx, eax
add ecx, 0xffffffdd
and edx, 0x8000
cmp ecx, 0xb
ja case.0x42b154.38
jmp dword [ecx*4 + 0x42b2dc]
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x42b16e
call fcn.0042a670
pop edi
pop esi
pop ebp
ret 0x10
call fcn.0042a550
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x42b18c
call fcn.0042a6e0
pop edi
pop esi
pop ebp
ret 0x10
call fcn.0042a5e0
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.0042a630
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.0042a590
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0xdf8], 0x800
jne case.0x42b154.38
test edi, edi
je 0x42b1d6
test edx, edx
jne case.0x42b154.38
mov eax, dword [esi + 0xe10]
cmp eax, dword [esi + 0xe14]
je 0x42b1fb
mov eax, dword [esi]
push esi
test edi, edi
je 0x42b297
call dword [eax + 0x1c8]
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push 0
push 0xffffffffffffffff
test edi, edi
je 0x42b239
call fcn.00429da0
mov eax, dword [esi + 0xe14]
test eax, eax
je 0x42b215
dec eax
push eax
push dword [esi + 0xe10]
mov ecx, esi
call fcn.00429da0
mov ecx, esi
call fcn.00429a40
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je 0x42b286
call fcn.00429da0
cmp dword [esi + 0xddc], 0xffffffff
jne 0x42b25d
push dword [esi + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0xddc], eax
push dword [esi + 0xddc]
mov ecx, esi
push dword [esi + 0xe10]
call fcn.00429da0
mov ecx, esi
call fcn.00429a40
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00429da0
push 1
mov ecx, esi
call fcn.0042a5e0
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
test edi, edi
je 0x42b2c5
mov ecx, dword [ebp + 8]
test dword [ecx + 0xdf8], 0x800
jne case.0x42b154.38
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je case.0x42b154.38
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c0]
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x42b6a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test dword [esi + 0xdf8], 0x800
jne 0x42b718
push edi
push dword [esi + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x42b6f6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push 1
push eax
push 1
mov ecx, esi
call fcn.0042ab40
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 4
test byte [esi + 0xdf8], 0x20
je 0x42b711
push 1
push 1
push 0x4d309c
push 1
mov ecx, esi
call fcn.0042ab40
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 4

Function at 0x42f5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x42f688
cmp ecx, dword [edi + 0x11d4]
jge 0x42f688
mov eax, dword [edi + 0x11e4]
push ebx
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x42f687
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
and eax, 0x8000
push 0x11
mov dword [ebp - 4], eax
call esi
and eax, 0x8000
cmp dword [edi + 0x11cc], 0
je 0x42f640
cmp dword [ebp - 4], 0
jne 0x42f61e
test eax, eax
je 0x42f640
cmp dword [ebx + 0xc], 0
mov ecx, ebx
je 0x42f678
push 1
mov dword [ebx + 0xc], 0
call fcn.00453250
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042eaf0
cmp eax, 0xffffffff
je 0x42f676
push esi
push eax
mov ecx, edi
call fcn.0042f690
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
cmp dword [edi + 0x11d4], esi
jle 0x42f676
nop word [eax + eax]
mov eax, dword [edi + 0x11e4]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0xc], 0
je 0x42f66d
push 1
mov dword [ecx + 0xc], 0
call fcn.00453250
inc esi
cmp esi, dword [edi + 0x11d4]
jl 0x42f650
mov ecx, ebx
push 4
mov dword [ebx + 0xc], 1
call fcn.00453250
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x43bc00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
push 2
push edi
mov esi, eax
call fcn.00414d80
push 1
push edi
call fcn.00414720
cmp esi, 4
jne 0x43bc4c
push 5
push 0
push 0
lea eax, [edi + 0xcb0]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0x21
mov ecx, edi
call fcn.004136c0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43bc60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 5
push 0
push 0
add eax, 0xcb0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4

Function at 0x443f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [edi + 0xcb0]
push eax
push edi
call fcn.00413530
test eax, eax
je 0x443f8e
mov eax, dword [edi]
push edi
call dword [eax + 0x194]
push 0
push 0
push 1
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0xdc0], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xdc4], eax
lea eax, [ebp + 8]
push eax
push 0
push edi
push 0x443d00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xdbc], eax
pop edi
pop ebp
ret 4
Function at 0x4461b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov di, word [ebp + 8]
and eax, 0x8000
movzx edx, di
dec edx
cmp edx, 0x17
ja case.0x4461df.2
movzx ecx, byte [edx + 0x44639c]
jmp dword [ecx*4 + 0x446378]
test dword [esi + 0xfe4], 0x1004
je 0x44636f
mov eax, dword [esi + 0xfe4]
test al, 4
je 0x44636f
mov ecx, esi
test eax, 0x800
je 0x446225
push 0
call fcn.00445ea0
push 0
mov ecx, esi
call fcn.00445d40
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
push 1
push 0x4d8004
push 1
call fcn.004476b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xfe4]
and eax, 0x804
cmp eax, 4
jne 0x44636f
push 1
push 1
push 0x4d800c
mov ecx, esi
push 1
call fcn.004476b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44636f
test eax, eax
jne 0x44636f
mov eax, dword [esi + 0xffc]
cmp eax, dword [esi + 0x1000]
jne 0x4462a9
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.00445cd0
mov ecx, esi
call fcn.004463c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004463e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44636f
mov ecx, esi
call fcn.00446d80
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44636f
mov ecx, esi
call fcn.004463e0
mov ecx, esi
call fcn.004463c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
push 0
push 0xffffffffffffffff
push 0
push esi
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.00445db0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xfe4]
test eax, 0x2000
je 0x446341
cmp di, 0x30
jb 0x44636f
cmp di, 0x39
ja 0x44636f
test eax, 0x800
jne 0x44636f
cmp di, 0x20
jb 0x44636f
cmp di, 0x7f
je 0x44636f
xor eax, eax
mov word [ebp - 8], di
push 1
mov word [ebp - 6], ax
mov ecx, esi
push 1
lea eax, [ebp - 8]
push eax
push 1
call fcn.004476b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4463e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ecx + 0xffc]
push edi
mov edi, dword [ecx + 0x1000]
cmp eax, edi
mov dword [ebp - 4], ecx
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 8], ecx
cmp edi, ecx
je 0x446474
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [ecx + 0xfcc]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.004a2e10
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push dword [eax + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x446d80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
test dword [esi + 0xfe4], 0x800
jne 0x446dce
push edi
push dword [esi + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x446dc6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push 1
push eax
push 1
mov ecx, esi
call fcn.004476b0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret