joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450070
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0xffffffff
jne 0x450087
or eax, 0xffffffff
jmp 0x4500b3
push 0x10
mov ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4500b3
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4500c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x10
push 0
mov eax, dword [ebp - 8]
add eax, 0x28
push eax
call fcn.00431910
add esp, 0xc
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0xffffffff
jne 0x4500e9
xor al, al
jmp 0x450153
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x450100
xor al, al
jmp 0x450153
mov eax, 2
mov ecx, dword [ebp - 8]
mov word [ecx + 0x28], ax
movzx edx, word [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 8]
mov word [ecx + 0x2a], ax
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x2c
push ecx
call fcn.004347a0
add esp, 0xc
push 8
push 0
mov edx, dword [ebp - 8]
add edx, 0x30
push edx
call fcn.00431910
add esp, 0xc
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4501c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov byte [eax + 0x14], cl
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x14]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [ebp - 4], 0
setge cl
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
jne 0x45020c
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 4

Function at 0x450220
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0xffffffff
je 0x450236
xor al, al
jmp 0x45028c
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0xffffffff
je 0x450272
mov dword [ebp - 8], 1
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0xffff
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 8], 0xffffffff
setne cl
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x45028c
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4502d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [eax], vtable.ofxUDPManager.0
movzx ecx, byte [0x48d387]
test ecx, ecx
jne 0x450328
mov edx, 0x202
mov word [ebp - 0x19c], dx
lea eax, [ebp - 0x198]
push eax
movzx ecx, word [ebp - 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x48d387], 1
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0xc], 0xffff
mov ecx, dword [ebp - 0x1a0]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x1a0]
mov byte [edx + 0x38], 0
mov eax, dword [ebp - 0x1a0]
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret

Function at 0x450380
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00431910
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret

Function at 0x450790
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469954
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp - 0x140]
call fcn.00450410
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x450813
jmp 0x4508c0
mov dword [ebp - 0x118], 0x100
mov dword [ebp - 0x120], 0
jmp 0x450838
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
cmp edx, dword [ebp - 0x11c]
jae 0x4508c0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4508b1
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x13c]
call fcn.0040d100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00427800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040df60
mov dword [ebp - 0x118], 0x100
jmp 0x450829
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 4
Function at 0x450a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4699c1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x48]
call fcn.00450410
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040c940
push eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x14], 0
jbe 0x450b47
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.004306b0
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040c940
push eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040d100
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0043198a
add esp, 4
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040c960
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040df60
mov eax, dword [ebp + 8]
jmp 0x450b5b
mov ecx, dword [ebp + 8]
call fcn.0040e110
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 8

Function at 0x450b80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00450410
mov ecx, dword [ebp + 0xc]
call fcn.0040c290
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040c940
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.0040c940
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x450bce
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004508e0
mov esp, ebp
pop ebp
ret 8
Function at 0x4529b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
push 0
push 6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4529fb
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004347a0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, 1
jmp 0x4529fd
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x4530e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.cursorMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x11c], eax
push str.objectMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 8]
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x453124
jmp 0x45319a
call fcn.00465d60
mov ecx, dword [ebp - 8]
add ecx, 0xd0
call fcn.004221b0
mov ecx, dword [ebp - 8]
mov dl, byte [ebp + 8]
mov byte [ecx + 0x120], dl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x120]
test ecx, ecx
jne 0x453175
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4530c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
jmp 0x453180
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 4]
call fcn.00422000
mov eax, dword [ebp - 8]
mov byte [eax + 0x121], 1
mov ecx, dword [ebp - 8]
call fcn.00452eb0
mov ecx, dword [ebp - 8]
call fcn.00452f10
mov esp, ebp
pop ebp
ret 4

Function at 0x457910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
push 0x48d394
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x457963
lea eax, [ebp - 0x198]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x45795c
jmp 0x457963
mov byte [0x48d386], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret
Function at 0x457a40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
jne 0x457aa2
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00431910
add esp, 0xc
mov ecx, 2
mov word [ebp - 0x14], cx
push 4
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004347a0
add esp, 0xc
push 2
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov eax, dword [ebp + 0x10]
jmp 0x457af4
cmp dword [ebp + 8], 0x17
jne 0x457af2
push 0x1c
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00431910
add esp, 0xc
mov edx, 0x17
mov word [ebp - 0x30], dx
push 0x10
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004347a0
add esp, 0xc
push 2
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov eax, dword [ebp + 0x10]
jmp 0x457af4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret

Function at 0x457bb0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469a29
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov cl, byte [ebp + 8]
mov byte [eax + 0x4c], cl
mov dword [ebp - 0x14], 0xffffffff
movzx edx, byte [ebp + 8]
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x457c1c
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
jne 0x457c67
push str.Socket::blocking:_ioctl_error
lea ecx, [ebp - 0x54]
call fcn.0040d100
mov dword [ebp - 4], 0
call fcn.004579f0
push eax
lea eax, [ebp - 0x54]
push eax
push 0xa
lea ecx, [ebp - 0x38]
call fcn.004195d0
push 0x4823fc
lea ecx, [ebp - 0x38]
push ecx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040df60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x457c80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469a4c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x14]
push eax
push 0x4004667f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x457d13
push str.Socket::nextReadSize:_error_ioctl
lea ecx, [ebp - 0x54]
call fcn.0040d100
mov dword [ebp - 4], 0
call fcn.004579f0
push eax
lea eax, [ebp - 0x54]
push eax
push 0xa
lea ecx, [ebp - 0x38]
call fcn.004195d0
push 0x4823fc
lea ecx, [ebp - 0x38]
push ecx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040df60
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x458120
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469b12
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], 0x80
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x458184
lea eax, [ebp - 0x94]
push eax
call fcn.00457a00
add esp, 4
jmp 0x4581d8
push str.Socket::_static_getLocalPort:_error_getting_socket_info
lea ecx, [ebp - 0xd8]
call fcn.0040d100
mov dword [ebp - 4], 0
call fcn.004579f0
push eax
lea ecx, [ebp - 0xd8]
push ecx
push 4
lea ecx, [ebp - 0xbc]
call fcn.004195d0
push 0x4823fc
lea edx, [ebp - 0xbc]
push edx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0040df60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469e36
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x458277
push str.read
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00458000
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040df60
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x458290
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469e64
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x48], 0
je 0x45830b
push str.Socket::send:_Expected_client_socket__socket_with_host_and_port_target_
lea ecx, [ebp - 0x54]
call fcn.0040d100
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0xf
lea ecx, [ebp - 0x38]
call fcn.004195d0
push 0x4823fc
lea edx, [ebp - 0x38]
push edx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040df60
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x40], 1
jne 0x458340
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00457d30
jmp 0x4583d8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x4583d8
push 0
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4583ca
push str.Error_sending_data
lea ecx, [ebp - 0x94]
call fcn.0040d100
mov dword [ebp - 4], 1
call fcn.004579f0
push eax
lea edx, [ebp - 0x94]
push edx
push 8
lea ecx, [ebp - 0x78]
call fcn.004195d0
push 0x4823fc
lea eax, [ebp - 0x78]
push eax
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0040df60
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x458347
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x459cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x34]
test ecx, ecx
jne 0x459cfc
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], 1
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x419a40
push 0
push 0
call fcn.00436d04
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
jne 0x459cfc
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
xor eax, eax
jmp 0x459d01
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45aa70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45ab94
cmp dword [ebp + 8], 0
jne 0x45aaa4
cmp dword [ebp + 0xc], 0
jne 0x45aaa4
xor al, al
jmp 0x45abaa
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x45aac7
mov edx, dword [ebp + 8]
push edx
call fcn.004318e8
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x45aadc
mov eax, dword [ebp + 0xc]
push eax
call fcn.004318e8
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 5]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004306b0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 5]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00431910
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x45ab37
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436be4
add esp, 8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
cmp dword [ebp + 0xc], 0
je 0x45ab60
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00436be4
add esp, 8
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
push 0x45a6f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043198a
add esp, 4
cmp dword [ebp - 4], 0
jne 0x45ab9e
xor al, al
jmp 0x45abaa
mov ecx, dword [ebp - 4]
push ecx
call fcn.0045a820
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x45abb0
Capabilities:
Check os version
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14c], ecx
xor eax, eax
mov word [ebp - 4], ax
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
movzx ecx, byte [ebp + 8]
cmp ecx, 0x90
jne 0x45ad27
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0xc], eax
mov edx, 1
mov word [ebp - 4], dx
jmp 0x45ac07
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
movzx edx, word [ebp + 0xc]
cmp ecx, edx
jg 0x45ad22
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x45ac2a
mov ecx, dword [ebp - 0x14c]
call fcn.0045a6b0
cmp dword [ebp - 0xc], 0x80000000
jae 0x45ac5a
push 0
push 1
push 0x45
movzx ecx, byte [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 3
push 0x45
movzx edx, byte [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x45ad1d
mov eax, dword [ebp - 0xc]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
cmp edx, 0xa
jb 0x45acc2
mov dword [ebp - 0x44], 0
push 0x34
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00431910
add esp, 0xc
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
movzx dx, byte [ebp + 8]
mov word [ebp - 0x24], dx
mov ax, word [ebp - 0x24]
mov word [ebp - 0x40], ax
mov dword [ebp - 0x20], 2
push 0x1c
lea ecx, [ebp - 0x44]
push ecx
push 2
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x45ad1d
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 1
setne al
mov byte [ebp - 5], al
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx edx, byte [ebp - 5]
test edx, edx
je 0x45ad00
movzx eax, byte [ebp - 0xb8]
and eax, 0xfffffffe
mov byte [ebp - 0xb8], al
jmp 0x45ad10
movzx ecx, byte [ebp - 0xb8]
or ecx, 1
mov byte [ebp - 0xb8], cl
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x45abfb
jmp 0x45adbf
push 0
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
and eax, 0xff
mov byte [ebp - 6], al
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x45ad53
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
movzx ecx, word [ebp + 0xc]
cmp eax, ecx
jg 0x45adbf
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x45ad72
mov ecx, dword [ebp - 0x14c]
call fcn.0045a6b0
movzx eax, byte [ebp + 8]
push eax
call fcn.0045a990
add esp, 4
movzx ecx, al
neg ecx
sbb ecx, ecx
neg ecx
push ecx
movzx edx, byte [ebp - 6]
push edx
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.0045a9d0
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x45adbd
push 3
movzx edx, byte [ebp - 6]
push edx
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.0045a9d0
jmp 0x45ad47
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45add0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
and eax, 0xff
mov byte [ebp - 1], al
movzx ecx, byte [ebp + 8]
push ecx
call fcn.0045a990
add esp, 4
movzx edx, al
neg edx
sbb edx, edx
neg edx
or edx, 2
push edx
movzx eax, byte [ebp - 1]
push eax
movzx ecx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0045a9d0
mov esp, ebp
pop ebp
ret 4