joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e184
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e329
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40d5d0]
call fcn.00402e48
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004039dc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42e2ff
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00425f60
test al, al
je 0x42e2f2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x42e338
lea eax, [ebp - 0x254]
call fcn.00408368
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42e2f2
xor eax, eax
push ebp
push 0x42e2eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x42e370
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x42e2d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c08
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x42e2d4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e2f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42e1f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e330
lea eax, [ebp - 0x260]
call fcn.004039dc
ret

Function at 0x42e5ec
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4966fc]
cmp byte [eax + 0x85], 0
jne 0x42e65d
cmp dword [0x496734], 0
jne 0x42e61e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x42e5a8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496734], eax
cmp dword [0x496730], 0
jne 0x42e639
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496730], eax
cmp dword [0x496738], 0
jne 0x42e65d
push esp
push 0
push 0
push 0x42e54c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x496738], eax
pop edx
ret
Function at 0x42e74c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42e763
add esp, 0xfffffff0
call fcn.004030c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413930
mov dl, 1
mov eax, dword [0x40d1b8]
call fcn.00402e48
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40d1b8]
call fcn.00402e48
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x41526c]
call fcn.0041c8b0
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x42e8bc
mov eax, dword [0x495dd0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041cc48
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42ff30
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x495dd0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040b5c8
test eax, eax
je 0x42e844
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407d68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b5f0
test eax, eax
je 0x42e858
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c08
mov eax, dword [0x495ce8]
cmp byte [eax], 0
jne 0x42e889
mov eax, ebx
call fcn.0042e9a0
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x42e8b1
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ebf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4966fc]
cmp dword [eax + 0x24], 0
je 0x42ec84
cmp dword [ebx + 0x74], 0
jne 0x42ec81
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42eb88
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42ec81
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x42ec50
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42ec81
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040e5b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42ec5c
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42f56c
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 0x42f5a1
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.00403ac0
jmp 0x42f5ab
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403a74
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4301b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x4301ec
mov eax, esi
call fcn.00423940
test al, al
je 0x4301ec
mov eax, dword [ebx + 0x64]
call fcn.004237a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4301ec
push 0
mov eax, dword [ebx + 0x64]
call fcn.004237a8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43fd0c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x43fd45
mov eax, dword [0x495ea8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x43fd38
push ebx
push 0x43fd4c
call fcn.00429bbc
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 0x43fd6c
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.0043fd0c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43fdde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43fdb2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403b90
jmp 0x43fdb9
mov eax, ebx
call fcn.004039dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fde5
cmp dword [ebp - 8], 0
je 0x43fdd5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret
Function at 0x43fdec
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 0x43feca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043fd0c
xor edx, edx
push ebp
push 0x43fead
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43fe76
mov edx, ebx
mov eax, dword [0x414edc]
call fcn.004194fc
test al, al
je 0x43fe66
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.004193d0
call fcn.004034d4
jmp 0x43feb4
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43fe31
lea edx, [ebp - 8]
mov eax, dword [0x495d8c]
call fcn.00404b5c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40666c]
call fcn.0040a998
call fcn.00403434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43feb4
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fed1
lea eax, [ebp - 8]
call fcn.004039dc
ret

Function at 0x43fed8
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.0043fd0c
xor eax, eax
push ebp
push 0x43ff30
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 0x43ff37
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret

Function at 0x43ff40
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.0043fd0c
xor edx, edx
push ebp
push 0x43ff95
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 0x43ff9c
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret
Function at 0x44000c
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.0043fd0c
xor eax, eax
push ebp
push 0x440081
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043fcc4
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.004194d0
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 0x44006b
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 0x440088
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret

Function at 0x440090
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.0043fd0c
xor eax, eax
push ebp
push 0x440105
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043fcc4
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 0x4400ef
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 0x44010c
mov eax, dword [ebp - 4]
call fcn.0043fce0
ret
Function at 0x441ba0
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 0x441d37
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00441670
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040b200
cmp al, 2
jne 0x441be6
dec esi
mov eax, ebx
call fcn.00441984
test al, al
je 0x441cd7
test esi, esi
jge 0x441bfb
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00441670
mov eax, dword [ebp - 0x204]
call fcn.00403c58
cmp edi, eax
jge 0x441c42
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00441670
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x495fa8]
and eax, 0xff
bt dword [edx], eax
jae 0x441c42
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x441c50
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.00441b7c
cmp edi, esi
je 0x441ccf
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 0x441c76
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.004237a8
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.004237a8
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x441d1e
test esi, esi
jge 0x441cdd
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00441670
mov eax, dword [ebp - 0x204]
call fcn.00403c58
cmp esi, eax
jl 0x441d13
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00441670
mov eax, dword [ebp - 0x204]
call fcn.00403c58
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.00441b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441d3e
lea eax, [ebp - 0x204]
call fcn.004039dc
ret

Function at 0x44c940
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
cmp byte [0x495b4c], 0
jne 0x44c9a1
push 0x4967c4
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44c99a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, 0x44c9b4
mov dl, 1
mov eax, dword [0x44be84]
call fcn.0040a9cc
call fcn.00403434
mov byte [0x495b4c], 1
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x44db68
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov byte [ebp - 7], 1
jmp 0x44dc60
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
xor eax, eax
push ebp
push 0x44dc52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x198], 0
je 0x44dbb0
mov eax, dword [ebp - 4]
call fcn.0044d2e8
jmp 0x44dc06
mov dx, word [ebp - 6]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
test al, al
jne 0x44dc06
push 0
push 0x400
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.wsock32.dll_recv
inc eax
jne 0x44dc06
call sub.wsock32.dll_WSAGetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x78], 0x2733
jne 0x44dc06
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44dc6a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x78], 0
je 0x44dc15
mov byte [ebp - 7], 0
jmp 0x44dc48
lea eax, [ebp - 0xc]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x44dc3e
call sub.wsock32.dll_WSAGetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
mov byte [ebp - 7], 0
jmp 0x44dc48
cmp dword [ebp - 0xc], 0
jne 0x44dc48
mov byte [ebp - 7], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44dc60
cmp byte [ebp - 7], 0
jne 0x44db84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e5fc
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e0c
xor eax, eax
push ebp
push 0x44e704
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.00407414
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x111]
call fcn.00407df0
cmp byte [0x495b4c], 0
jne 0x44e658
mov eax, 0x44e714
call fcn.0044c940
lea eax, [ebp - 0x111]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x44e6dd
mov edx, 0x44e720
lea eax, [ebp - 0x111]
call fcn.00407e30
test eax, eax
jne 0x44e68a
mov dword [ebp - 0x10], 0xffffffff
jmp 0x44e6dd
lea eax, [ebp - 0x111]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44e6d0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea eax, [ebp - 0x120]
push eax
push 0
mov ecx, 0x44e738
mov dl, 1
mov eax, dword [0x44be84]
call fcn.0040a9cc
call fcn.00403434
jmp 0x44e6dd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e70b
lea eax, [ebp - 0x118]
call fcn.004039dc
lea eax, [ebp - 4]
call fcn.004039dc
ret
Function at 0x44ed50
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7d], 2
je 0x44edc5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0xffffffff
jne 0x44ed7a
mov edx, 0x44edd4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x44edc5
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x7d]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x80]
mov word [ebp - 0xa], ax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x80
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.wsock32.dll_setsockopt
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44edc5
mov edx, 0x44ee04
mov eax, dword [ebp - 4]
call fcn.0044fd60
mov esp, ebp
pop ebp
ret

Function at 0x44f9c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
cmp byte [0x495b4c], 0
jne 0x44f9e0
mov eax, 0x44fa14
call fcn.0044c940
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
je 0x44fa05
mov ecx, 0x44fa28
mov dl, 1
mov eax, dword [0x44be84]
call fcn.0040a998
call fcn.00403434
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x44]
call fcn.00407f30
mov esp, ebp
pop ebp
ret
Function at 0x459528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x45956c]
mov byte [ebp - 1], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459544
or byte [ebp - 1], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459554
or byte [ebp - 1], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459564
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x45d198
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 0x45d31e
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.004165c0
cmp byte [ebp + 8], 0
je 0x45d1f1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00416490
jmp 0x45d1ff
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.00416490
mov eax, dword [ebx + 0x10]
call fcn.004165b8
dec eax
jle 0x45d245
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00416488
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.004165b8
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00416550
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 0x45d2a7
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.004170b4
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4