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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498c2c]
cmp dword [eax + 0x30], 0
je 0x46159a
cmp dword [ebx + 0x94], 0
jne 0x461594
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461480
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461594
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 0x46155a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461594
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.0041adf4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461569
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462078
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 0x4620ad
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.00404640
jmp 0x4620ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463170
Capabilities:
Hide graphical window

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

Function at 0x464298
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4642d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4642ae
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4642bd
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4642cc
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x464920
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4979f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46494d
mov edx, dword [0x4979f0]
xor edx, edx
call fcn.0045bcbc
push 0
mov eax, dword [0x4979f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x468964
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 0x4689ed
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x498cc4
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4689d7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b9ac
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, 0x468a04
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x497aa4]
mov dl, 1
mov eax, dword [0x468218]
call fcn.0040c308
call fcn.00403fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4689f4
lea eax, [ebp - 0x1c]
call fcn.00404550
ret

Function at 0x469094
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00468fb8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004039e0
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4690f8
call fcn.004688ac
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4690ea
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.004039e0
pop esi
pop ebx
ret

Function at 0x46911c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404a00
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004030a8
test ebx, ebx
je 0x469167
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 0x469244
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 0x469275
mov ecx, dword [0x49798c]
mov dl, 1
mov eax, dword [0x468218]
call fcn.0040c2cc
call fcn.00403fb0
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 0x4692a2
mov ecx, dword [0x497914]
mov dl, 1
mov eax, dword [0x468218]
call fcn.0040c2cc
call fcn.00403fb0
xor eax, eax
push ebp
push 0x46931e
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.004039e0
cmp byte [ebp + 8], 0
je 0x4692fa
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.004691ac
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.00469094
jmp 0x469314
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.00468b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46933b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46951c
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.00468e54
xor eax, eax
push ebp
push 0x46968e
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 0x469678
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x469567
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x469571
call fcn.0040405c
jmp 0x469695
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d160
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 0x46966d
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 0x46961f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x46960c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039e0
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.004694d4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4696a0]
cmp dl, byte [eax + 0x28]
je 0x469674
call fcn.0040c1a8
jmp 0x469674
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d180
jmp 0x469674
cmp ecx, ebx
jge 0x46963b
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.0041d180
jmp 0x469571
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d160
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d194
cmp edx, dword [esp + 4]
jne 0x46965c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x469571
push ebp
call fcn.004694d4
pop ecx
jmp 0x469674
push ebp
call fcn.004694d4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469695
mov eax, dword [ebp - 4]
call fcn.00468e60
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4696a4
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 0x4697c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00468e54
xor eax, eax
push ebp
push 0x4697a9
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 0x4696f4
call fcn.0040405c
jmp 0x4697b0
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 0x469793
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x469793
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039e0
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 0x469793
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b9ac
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, 0x4697e0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x497aa4]
mov dl, 1
mov eax, dword [0x468218]
call fcn.0040c308
call fcn.00403fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4697b0
mov eax, dword [ebp - 4]
call fcn.00468e60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4697cd
lea eax, [ebp - 0x28]
call fcn.00404550
ret
Function at 0x46982c
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 0x469976
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00468e54
xor eax, eax
push ebp
push 0x469959
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x469891
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x469891
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 0x469943
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4698a4
call fcn.0040405c
jmp 0x469960
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 0x469943
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x469943
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004039e0
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 0x469943
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b9ac
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, 0x469990
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x497aa4]
mov dl, 1
mov eax, dword [0x468218]
call fcn.0040c308
call fcn.00403fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469960
mov eax, dword [ebp - 4]
call fcn.00468e60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46997d
lea eax, [ebp - 0x28]
call fcn.00404550
ret
Function at 0x46cf8c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46cfba
mov eax, ebx
call fcn.0046da44
cmp dword [ebx + 0x3c], 0
je 0x46cfb3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46d02b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46d01d
cmp dword [ebx + 8], 0
je 0x46cfdc
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 0x46cfee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46d01d
cmp dword [ebx + 8], 0
je 0x46cfcf
cmp eax, 3
je 0x46d001
dec eax
jne 0x46cfcf
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 0x46cfcf
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46cfcf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46d049
cmp dword [ebx + 0x10], 0xcc
je 0x46d049
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.0046d054
pop ebx
ret

Function at 0x4837d0
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 0x48390c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x483924
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00484edc
mov eax, dword [ebp - 4]
call fcn.0048476c
xor edx, edx
push ebp
push 0x4838ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x48388e
test si, si
jne 0x483840
mov eax, dword [ebp - 8]
call fcn.00408fa8
mov esi, eax
cmp esi, 0xffff
jbe 0x483840
call fcn.00403724
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 0x48388e
cmp eax, 0xffffffff
jle 0x48386f
sub ebx, eax
jmp 0x48387e
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00484e10
test ebx, ebx
je 0x48388e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x483843
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4838d9
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x48393c
mov dl, 1
mov eax, dword [0x482db8]
call fcn.0040c210
call fcn.00403fb0
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x4838d9
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 0x4838f6
mov eax, dword [ebp - 4]
call fcn.004847c4
ret
Function at 0x483e3c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049f0
xor eax, eax
push ebp
push 0x484004
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x48401c
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00484edc
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x418e44]
call fcn.0041d670
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x483f94
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x483f4f
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
push 0
push ebx
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp eax, 0x10000
jbe 0x483ed3
call fcn.00403724
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x30]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x483f4f
cmp eax, 0xffffffff
jle 0x483f20
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x1008c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ca], 0
je 0x483f2f
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100cc]
call dword [esi + 0x100c8]
jmp 0x483f2f
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00484e10
mov eax, dword [0x4979f0]
mov eax, dword [eax]
call fcn.004623a4
test ebx, ebx
je 0x483f4f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x483ebf
mov eax, dword [ebp - 0xc]
call fcn.0041d160
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.0041d194
cmp edx, dword [esp + 4]
jne 0x483f6a
cmp eax, dword [esp]
pop edx
pop eax
je 0x483f7e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x483e96
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483f9b
mov eax, dword [ebp - 0xc]
call fcn.004037e4
ret
Function at 0x484044
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049f0
xor eax, eax
push ebp
push 0x48421a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x484230
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00484edc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.0048476c
xor eax, eax
push ebp
push 0x4841f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x418e44]
call fcn.0041d670
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48418d
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x484167
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x48412b
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0041d3c4
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x484123
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100c4]
call dword [esi + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.0048476c
cmp ebx, 0xffffffff
jne 0x484157
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], esi
cmp esi, 0x2749
je 0x484177
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00484e10
test ebx, ebx
je 0x484177
mov eax, dword [0x4979f0]
mov eax, dword [eax]
call fcn.004623a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4840c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484194
mov eax, dword [ebp - 0xc]
call fcn.004037e4
ret
Function at 0x484258
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48442d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x484444
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00484edc
mov eax, esi
call fcn.00404550
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x100bc], edx
mov eax, dword [ebp - 4]
call fcn.0048476c
xor eax, eax
push ebp
push 0x484410
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x484389
push 0
push 0x10000
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
je 0x4843af
cmp ebx, 1
jle 0x484353
mov eax, dword [esi]
call fcn.00404808
mov edi, eax
lea edx, [edi + ebx]
mov eax, esi
call fcn.00404b8c
mov eax, esi
call fcn.00404a58
inc edi
dec edi
test eax, eax
je 0x48430a
cmp edi, dword [eax - 4]
jb 0x48430f
call fcn.00403724
inc edi
lea edx, [eax + edi - 1]
mov eax, dword [ebp - 4]
add eax, 0x30
mov ecx, ebx
call fcn.00402958
mov eax, dword [ebp - 4]
add dword [eax + 0x100bc], ebx
mov eax, dword [ebp - 4]
cmp word [eax + 0x100c2], 0
je 0x484349
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100c4]
call dword [ebx + 0x100c0]
mov eax, dword [ebp - 4]
call fcn.0048476c
jmp 0x48437d
inc ebx
jne 0x48437d
call sub.wsock32.dll_WSAGetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10094], ebx
cmp ebx, 0x2749
je 0x4843af
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.00484e10
mov eax, dword [0x4979f0]
mov eax, dword [eax]
call fcn.004623a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x4843af
cmp dword [ebp - 8], 0xffffffff
je 0x4842b8
mov eax, dword [esi]
call fcn.00404808
cmp eax, dword [ebp - 8]
jl 0x4842b8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4843fa
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x48445c
mov dl, 1
mov eax, dword [0x482db8]
call fcn.0040c210
call fcn.00403fb0
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x4843fa
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 0x484417
mov eax, dword [ebp - 4]
call fcn.004847c4
ret
Function at 0x484d18
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 0x484de4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x484df8
mov dl, 4
mov eax, ebx
call fcn.00484edc
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x484dce
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x484dc0
test byte [ebx + 0x1c], 8
jne 0x484d7d
cmp word [ebx + 0x10052], 0
je 0x484d7d
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x484dce
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x484da0
call fcn.00403724
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 0x484dce
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.00484e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484deb
lea eax, [ebp - 4]
call fcn.00404550
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x484fc0
mov dl, 8
mov eax, ebx
call fcn.00484edc
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 0x484fb2
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret