joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f990
Capabilities:
Create tcp socket
Create udp socket
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f9b6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
mov dword [esi + 0x74], eax
push edi
jne 0x40f9db
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x94], 0xa
mov dword [esi + 0x98], 0x4b
lea eax, [ecx + ecx]
lea ecx, [esi + 0x7c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.004048b0
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 0x20], 0
lea ebx, [edx + edx]
test ebx, ebx
jbe 0x40fa62
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40fa80
push 0
push 0
call dword [0x5a85a4]
add esp, 0x18
test eax, eax
je 0x40fa6c
mov ecx, dword [esi + 0x20]
push eax
inc ecx
mov dword [esi + 0x20], ecx
call ebp
inc edi
cmp edi, ebx
jb 0x40fa35
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret
mov ecx, dword [esi + 0x74]
push ecx
call ebp
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret

Function at 0x40fc80
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x18
call fcn.00555203
mov edx, eax
add esp, 4
test edx, edx
je 0x40fcad
push edi
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 1
pop edi
jmp 0x40fcaf
xor edx, edx
mov esi, dword [esp + 0x14]
push 0
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esi + 0x70]
push 1
push edx
push eax
mov dword [esp + 0x24], 0x8000
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x40fcf3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x40fcf3
push 0
push esi
mov ecx, ebx
call fcn.00410480
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x410250
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5760b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [0x5dd7ec]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test al, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x41029c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
or al, 1
mov byte [0x5dd7ec], al
call esi
mov dword [0x5dd7f4], eax
jmp 0x4102a2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5dd804]
add eax, edi
mov dword [0x5dd804], eax
call esi
sub eax, dword [0x5dd7f4]
cmp eax, 0x3e8
jb 0x4102e1
call esi
mov dword [0x5dd7f4], eax
mov eax, dword [0x5dd804]
add ebx, 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x5dd804], 0
mov esi, dword [ebp + 8]
push edi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00401fe0
mov ecx, ebx
call fcn.00401e10
test eax, eax
jne 0x410323
mov ecx, ebx
call fcn.00401fb0
mov ecx, dword [esi + 0x2080]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x18
call fcn.00555203
mov edx, eax
add esp, 4
test edx, edx
je 0x410349
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 2
mov edi, edx
jmp 0x41034b
xor edi, edi
mov eax, dword [ebp - 0x14]
push 3
push esi
mov edx, dword [eax + 8]
push edx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.00401fd0
mov ecx, ebx
mov dword [esi + 0x207c], eax
call fcn.00401e10
lea ecx, [esi + 0x2078]
push 0
push edi
push 0x8000
mov dword [ecx], eax
mov eax, dword [esi]
push ecx
push 1
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x4103a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4103a8
mov ecx, dword [ebp - 0x14]
push 0
push esi
call fcn.00410480
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410480
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x5760e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
push str.RemoveStaleClient
lea ecx, [esp + 0xc]
call fcn.00559b5b
mov eax, dword [0x5c9d6c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00559c26
push 0x5dd7c8
mov dword [esp + 0x14], 0x5dd7c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call fcn.00559aed
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x410523
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x410565
cmp dword [eax + 8], esi
je 0x410537
mov eax, dword [eax]
test eax, eax
jne 0x41052a
jmp 0x410565
test eax, eax
je 0x410565
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov eax, dword [edi + 8]
push 2
push esi
push eax
call dword [edi + 4]
push esi
mov ecx, edi
call fcn.004106c0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.00559aed
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4106c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x576140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push str.MoveToFreePool
lea ecx, [esp + 0x10]
call fcn.00559b5b
mov eax, dword [0x5c9d6c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00559c26
push 0x5dd7c8
mov dword [esp + 0x14], 0x5dd7c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.00559aed
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x41082e
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x410751
mov ebx, dword [ebx]
test ebx, ebx
jne 0x41073b
jmp 0x41082e
test ebx, ebx
je 0x41082e
push ebp
lea ecx, [edi + 0x14]
call fcn.00401fb0
lea ecx, [edi + 4]
call fcn.00401fb0
lea ecx, [edi + 0x24]
call fcn.00401fb0
lea ecx, [edi + 0x34]
call fcn.00401fb0
mov eax, dword [esi + 0x58]
mov ebp, dword [esi + 0x50]
test eax, eax
jne 0x4107b1
mov edx, dword [esi + 0x60]
push 0xc
lea eax, [esi + 0x5c]
push edx
push eax
call fcn.0055449d
mov ecx, dword [esi + 0x60]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x4107b1
inc ecx
mov edx, dword [esi + 0x58]
mov dword [eax], edx
mov dword [esi + 0x58], eax
sub eax, 0xc
dec ecx
jne 0x4107a3
mov edi, dword [esi + 0x58]
push 1
mov eax, dword [edi]
mov dword [esi + 0x58], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x54]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x54], ecx
call fcn.0044e5b0
mov ecx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov eax, dword [esi + 0x50]
test eax, eax
pop ebp
je 0x4107e7
mov dword [eax], edi
jmp 0x4107ea
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x2c]
mov dword [esi + 0x50], edi
cmp ebx, dword [ecx + 4]
jne 0x4107fc
mov edx, dword [ebx]
mov dword [ecx + 4], edx
jmp 0x410803
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [eax], edx
cmp ebx, dword [ecx + 8]
jne 0x410810
mov eax, dword [ebx + 4]
mov dword [ecx + 8], eax
jmp 0x410818
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x10]
mov dword [ebx], edx
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], eax
jne 0x41082e
call fcn.004109f0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.00559aed
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x416bb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x416c15
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x416c0d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x416c20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x416cc3
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x416c55
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.00555203
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x19
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x158]
push edx
call fcn.0040fd00
push ebp
call fcn.0055522c
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4382c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5795e8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00556042
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 0x26c], 0
call dword [eax + 0x1a4]
mov ecx, dword [edi + 0x2b4]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
test ecx, ecx
je 0x438315
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push ebx
push ebp
push eax
call dword [edx + 0x64]
push ebx
push ebp
mov ecx, edi
call fcn.00435500
mov esi, eax
test esi, esi
je 0x438389
lea ecx, [esp + 0x10]
call fcn.00441c60
mov dword [esp + 0x10], 0x5914b0
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push ebp
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
call dword [edx + 0x84]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call dword [edx + 0x90]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.00441d20
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4383a8
mov eax, dword [edi + 0x1e4]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x4383b0
mov dword [esp + 0x4c], 1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test esi, esi
mov dword [esp + 0x50], ecx
je 0x438446
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
test eax, eax
je 0x4383e4
mov eax, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [eax + 0x88]
jmp 0x438446
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x6c]
test eax, eax
je 0x43840b
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x43840b
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x43840b
push 0
push 0
push esi
mov ecx, edi
call fcn.00434f80
mov eax, dword [edi + 0x1e0]
test eax, eax
je 0x43842f
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x438446
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x438446
mov eax, dword [edi + 0x1e4]
test eax, eax
jne 0x438446
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
je 0x438446
mov edx, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [edx + 0x88]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
Function at 0x439640
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov dword [esp], 3
call fcn.0047e670
mov ecx, eax
call fcn.0047e6c0
test al, al
je 0x4396d2
lea eax, [esp + 4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4396e3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4396bc
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0053ee6e
add esp, 0xc
mov dword [esp], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x90
ret
lea ecx, [esp]
push 0
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp]
add esp, 0x90
ret
Function at 0x4407a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579c17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.COleControlContainer.virtual_0
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x14], 5
test ecx, ecx
je 0x4407e6
call fcn.0056f72b
mov dword [esi + 0xd4], 0
lea eax, [esi + 0xd8]
push eax
call fcn.0046f870
lea ecx, [esi + 0x30]
add esp, 4
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 6
call fcn.0055f40d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 3
call fcn.00559aed
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.00559aed
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00559aed
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 0
call fcn.00559aed
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00559369
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44d1e0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57a997
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x44d229
cmp ebx, 0x69
ja 0x44d229
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x44d419
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x44d3f0
mov edx, dword [esp + 0x140]
push edx
call fcn.0044d570
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x44d414
cmp al, bl
je 0x44d414
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jl 0x44d3f0
xor ebx, ebx
mov dword [esp + 0x18], 0x592bb8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x44d2ab
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x44d2d2
lea eax, [edi*4]
push eax
call fcn.00555203
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.0044e5b0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x44d2fd
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 1
jmp 0x44d3e3
cmp edi, esi
mov dword [esp + 0x2c], esi
jle 0x44d3d0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x44d361
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x44d3f4
push eax
call fcn.0044d570
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x44d3f4
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x44d3b2
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x44d432
push eax
call fcn.0044d570
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x44d432
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x44d311
xor esi, esi
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x44d3f0
push ebx
call fcn.0055522c
add esp, 4
xor eax, eax
jmp 0x44d419
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x44d414
push ebx
call fcn.0055522c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x44d414
push eax
jmp 0x44d40c
Function at 0x44fcb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57ad39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00555cb0
mov eax, dword [0x5c9d6c]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x5c9d6c]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x5c9d6c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x48], edx
call fcn.00559c76
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.00559a78
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x450fe0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
cmp dword [eax + 0x5c], 2
je 0x451134
mov ecx, dword [esp + 0x14]
cmp ecx, 0x60
jb 0x45100c
cmp ecx, 0x69
ja 0x45100c
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x451134
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x451134
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ebp, eax
push ebp
call fcn.0044f070
mov esi, eax
mov eax, dword [edi + 0x80]
add esp, 4
neg esi
sbb esi, esi
xor ebx, ebx
and esi, ebp
test eax, eax
jle 0x451082
push ebx
mov ecx, edi
call fcn.00448ca0
mov ebp, eax
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x451080
mov ecx, dword [edi + 0x70]
test byte [ecx + 0x5c], 1
je 0x451073
test esi, esi
jne 0x451073
push ebp
call fcn.0044f070
add esp, 4
test eax, eax
je 0x451073
mov esi, ebp
mov eax, dword [edi + 0x80]
inc ebx
cmp ebx, eax
jl 0x451043
jmp 0x451082
mov esi, ebp
test esi, esi
je 0x451134
push esi
call fcn.0044f070
add esp, 4
test eax, eax
je 0x451134
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x170]
test eax, eax
je 0x4510ba
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
push esi
call fcn.00450d70
mov ebp, eax
test ebp, ebp
je 0x451134
mov esi, dword [ebp + 0xbc]
mov ebx, dword [ebp + 0x3c]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x4510e8
mov ecx, edi
call fcn.00450fb0
push 1
mov ecx, edi
call fcn.00450b90
mov dword [edi + 0x40], 1
mov edx, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x451128
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xac]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x451140
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
cmp dword [edi + 4], 0x104
jne 0x4511fc
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 0x20
je 0x4511fc
call fcn.00450c60
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x4511fc
push 0
mov ecx, esi
call fcn.00450c60
mov ecx, eax
call fcn.004a4ba0
test eax, eax
jne 0x4511fc
mov ecx, esi
call fcn.00450c60
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4511a0
mov eax, dword [eax + 0x1c]
push eax
call fcn.004a4850
add esp, 4
test eax, eax
je 0x4511fc
cmp dword [edi + 8], 0x12
jne 0x4511c7
push 1
mov ecx, esi
call fcn.00450b90
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4511db
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4511fc
mov eax, dword [edi + 8]
test eax, eax
je 0x4511fc
push eax
mov ecx, esi
call fcn.00450fe0
test eax, eax
je 0x4511fc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x105
je 0x45120d
cmp eax, 0x101
jne 0x45123d
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x45123d
mov eax, dword [esi + 0xac]
test eax, eax
je 0x45123d
push 0
mov ecx, esi
call fcn.00450c60
mov ecx, eax
call fcn.004a4ba0
test eax, eax
jne 0x45123d
push eax
mov ecx, esi
call fcn.00450b90
mov eax, dword [edi + 4]
cmp eax, 0x7b
je 0x45124c
cmp eax, 0x105
jne 0x45128e
push 0
mov ecx, esi
call fcn.00450c60
mov ecx, eax
call fcn.004a4ba0
test eax, eax
je 0x45128e
push 0x452c80
mov ecx, 0x5dfe64
call fcn.0056dfa8
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x7b
mov ecx, eax
call fcn.004b2c80
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
cmp dword [edi + 4], 0x20a
jne 0x45134b
push 0x452c80
mov ecx, 0x5dfe64
call fcn.0056dfa8
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x4512dd
push 0x452c80
mov ecx, 0x5dfe64
call fcn.0056dfa8
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x20a
mov ecx, eax
call fcn.004b2c80
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
test ebx, ebx
je 0x45134b
cmp dword [ebx + 0xa0], 3
jne 0x45134b
mov edx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
call fcn.0046fc40
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
pop ebp
je 0x45134b
mov edx, dword [edi + 8]
xor eax, eax
shr edx, 0x10
test dx, dx
setle al
push eax
mov ecx, ebx
call fcn.004b7630
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x4511bc
cmp eax, 0x108
ja 0x4511bc
push edi
mov ecx, esi
call fcn.0044f5b0
mov ecx, eax
call fcn.0044c540
test eax, eax
je 0x4511bc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4