joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461334
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c1c34]
cmp dword [eax + 0x30], 0
je 0x4613de
cmp dword [ebx + 0x94], 0
jne 0x4613d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4612c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4613d8
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 0x46139e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4613d8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004165f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4613ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461ebc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x461ef1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045b0
jmp 0x461efe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404514
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462fc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463005
mov eax, esi
call fcn.00448de8
test al, al
je 0x463005
mov eax, dword [ebx + 0x84]
call fcn.00448ae4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463005
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448ae4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4641d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x464259
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1c60
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x464243
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b754
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x464270
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4c0c24]
mov dl, 1
mov eax, dword [0x463a84]
call fcn.0040c0ac
call fcn.00403f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464260
lea eax, [ebp - 0x1c]
call fcn.004044c0
ret
Function at 0x464900
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00464824
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403950
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x464964
call fcn.00464118
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x464956
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403950
pop esi
pop ebx
ret

Function at 0x464988
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404970
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403008
test ebx, ebx
je 0x4649d3
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x464ab0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x464ae1
mov ecx, dword [0x4c0b44]
mov dl, 1
mov eax, dword [0x463a84]
call fcn.0040c070
call fcn.00403f20
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x464b0e
mov ecx, dword [0x4c0ae0]
mov dl, 1
mov eax, dword [0x463a84]
call fcn.0040c070
call fcn.00403f20
xor eax, eax
push ebp
push 0x464b8a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403950
cmp byte [ebp + 8], 0
je 0x464b66
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00464a18
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00464900
jmp 0x464b80
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00464404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464ba7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464d6c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004646c0
xor eax, eax
push ebp
push 0x464ede
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x464ec8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x464db7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x464dc1
call fcn.00403fcc
jmp 0x464ee5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418d08
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x464ebd
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x464e6f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x464e5c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403950
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00464d24
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x464ef0]
cmp dl, byte [eax + 0x28]
je 0x464ec4
call fcn.0040bf4c
jmp 0x464ec4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418d28
jmp 0x464ec4
cmp ecx, ebx
jge 0x464e8b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418d28
jmp 0x464dc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418d08
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418d3c
cmp edx, dword [esp + 4]
jne 0x464eac
cmp eax, dword [esp]
pop edx
pop eax
jne 0x464dc1
push ebp
call fcn.00464d24
pop ecx
jmp 0x464ec4
push ebp
call fcn.00464d24
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464ee5
mov eax, dword [ebp - 4]
call fcn.004646cc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464ef4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465016
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004646c0
xor eax, eax
push ebp
push 0x464ff9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x464f44
call fcn.00403fcc
jmp 0x465000
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x464fe3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x464fe3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403950
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x464fe3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b754
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x465030
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4c0c24]
mov dl, 1
mov eax, dword [0x463a84]
call fcn.0040c0ac
call fcn.00403f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465000
mov eax, dword [ebp - 4]
call fcn.004646cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46501d
lea eax, [ebp - 0x28]
call fcn.004044c0
ret
Function at 0x46507c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4651c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004646c0
xor eax, eax
push ebp
push 0x4651a9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4650e1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4650e1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x465193
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4650f4
call fcn.00403fcc
jmp 0x4651b0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x465193
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x465193
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403950
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x465193
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b754
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4651e0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4c0c24]
mov dl, 1
mov eax, dword [0x463a84]
call fcn.0040c0ac
call fcn.00403f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4651b0
mov eax, dword [ebp - 4]
call fcn.004646cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4651cd
lea eax, [ebp - 0x28]
call fcn.004044c0
ret
Function at 0x4733c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4734a0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c1e50], 0
jne 0x473484
lea eax, [ebp - 4]
mov edx, 0x4734b8
call fcn.00404558
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404970
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x473484
mov eax, ebx
call fcn.004027ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47347d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x473467
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4734c8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x473467
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4c1e50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473484
mov eax, dword [ebp - 0xc]
call fcn.004027cc
ret
mov ebx, dword [0x4c1e50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4734a7
lea eax, [ebp - 4]
call fcn.004044c0
ret

Function at 0x485910
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4c1e74], 0
jne 0x485933
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x485884
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c1e74], eax
ret

Function at 0x48a354
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48a382
mov eax, ebx
call fcn.0048ae0c
cmp dword [ebx + 0x3c], 0
je 0x48a37b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48a3f3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x48a3e5
cmp dword [ebx + 8], 0
je 0x48a3a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x48a3b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a3e5
cmp dword [ebx + 8], 0
je 0x48a397
cmp eax, 3
je 0x48a3c9
dec eax
jne 0x48a397
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48a397
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48a397
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48a411
cmp dword [ebx + 0x10], 0xcc
je 0x48a411
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048a41c
pop ebx
ret
Function at 0x49af18
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b054
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x49b06c
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0049bfec
mov eax, dword [ebp - 4]
call fcn.0049b87c
xor edx, edx
push ebp
push 0x49b037
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x49afd6
test si, si
jne 0x49af88
mov eax, dword [ebp - 8]
call fcn.00408e14
mov esi, eax
cmp esi, 0xffff
jbe 0x49af88
call fcn.00403694
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x49afd6
cmp eax, 0xffffffff
jle 0x49afb7
sub ebx, eax
jmp 0x49afc6
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0049bf20
test ebx, ebx
je 0x49afd6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x49af8b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x49b021
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x49b084
mov dl, 1
mov eax, dword [0x49a500]
call fcn.0040bfb4
call fcn.00403f20
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x49b021
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b03e
mov eax, dword [ebp - 4]
call fcn.0049b8d4
ret
Function at 0x49be28
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x49bef4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x49bf08
mov dl, 4
mov eax, ebx
call fcn.0049bfec
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x49bede
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x49bed0
test byte [ebx + 0x1c], 8
jne 0x49be8d
cmp word [ebx + 0x10052], 0
je 0x49be8d
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x49bede
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x49beb0
call fcn.00403694
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x49bede
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0049bf20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49befb
lea eax, [ebp - 4]
call fcn.004044c0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x49c0d0
mov dl, 8
mov eax, ebx
call fcn.0049bfec
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x49c0c2
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x49cb58
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x413424]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x49cc9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c058c], 0
jne 0x49cbab
mov ecx, dword [0x4c0888]
mov dl, 1
mov eax, dword [0x4079f0]
call fcn.0040c070
call fcn.00403f20
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403008
mov eax, ebx
call fcn.00404d38
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49ccac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406230
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d48
test eax, eax
jle 0x49cc43
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49cc3c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404740
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404728
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040889c
test eax, eax
jne 0x49cc3c
mov ebx, 0x15
jmp 0x49cc48
mov ebx, 0x10
jmp 0x49cc48
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c058c]
call fcn.0049cab0
mov eax, dword [ebp - 8]
call fcn.0049cab0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cca3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004044e4
lea eax, [ebp - 0x10]
mov edx, dword [0x413424]
call fcn.00404f98
ret
Function at 0x4a6498
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a66f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a64fb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a5fb0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c880
cmp al, 1
jne 0x4a64fb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a6278
test al, al
je 0x4a6687
cmp dword [ebp - 8], 0
jge 0x4a6519
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004a5fb0
mov eax, dword [ebp - 0x210]
call fcn.00404778
cmp ebx, eax
jge 0x4a6563
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a5fb0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c0d38]
and eax, 0xff
bt dword [edx], eax
jae 0x4a6563
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a6577
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a6474
cmp ebx, dword [ebp - 8]
je 0x4a6679
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a65a3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403950
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0694]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4a6666
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403950
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0694]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00448ae4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403950
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0694]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00448ae4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a666d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4a66da
cmp dword [ebp - 8], 0
jge 0x4a6692
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a5fb0
mov eax, dword [ebp - 0x218]
call fcn.00404778
cmp eax, dword [ebp - 8]
jg 0x4a66cc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a5fb0
mov eax, dword [ebp - 0x21c]
call fcn.00404778
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a6474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a66ff
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044e4
ret