joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48af28
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 0x48afb1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a5908
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48af9b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bf60
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, 0x48afc8
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a39b8]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c884
call fcn.0040405c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48afb8
lea eax, [ebp - 0x1c]
call fcn.004046e0
ret

Function at 0x48b67c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048b5a0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403acc
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x48b6e0
call fcn.0048ae70
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48b6d2
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.00403acc
pop esi
pop ebx
ret

Function at 0x48b704
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048b424
xor eax, eax
push ebp
push 0x48b783
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046e0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x48b73d
call fcn.00404108
jmp 0x48b78a
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x48b76d
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.004048d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b78a
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48b790
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048b424
xor eax, eax
push ebp
push 0x48b809
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046e0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x48b7cc
call fcn.00404108
jmp 0x48b810
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x48b7f3
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404950
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b810
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b818
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048b424
xor eax, eax
push ebp
push 0x48b893
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x48b84e
call fcn.00404108
jmp 0x48b89a
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x48b87d
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b89a
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x48b9d4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404ba0
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040316c
test ebx, ebx
je 0x48ba1f
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 0x48bafc
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 0x48bb2d
mov ecx, dword [0x4a3ae4]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c848
call fcn.0040405c
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 0x48bb5a
mov ecx, dword [0x4a3818]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c848
call fcn.0040405c
xor eax, eax
push ebp
push 0x48bbdb
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.00403acc
cmp byte [ebp + 8], 0
je 0x48bbb5
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048ba64
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048b5fc
jmp 0x48bbd1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048b15c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bbf8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48bc04
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 0x48bc35
mov ecx, dword [0x4a3898]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c848
call fcn.0040405c
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 0x48bc62
mov ecx, dword [0x4a3818]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c848
call fcn.0040405c
xor eax, eax
push ebp
push 0x48bcde
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.00403acc
cmp byte [ebp + 8], 0
je 0x48bcba
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.0048ba64
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.0048b67c
jmp 0x48bcd4
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.0048b15c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bcfb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48bedc
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.0048b424
xor eax, eax
push ebp
push 0x48c04d
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 0x48c037
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48bf27
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48bf31
call fcn.00404108
jmp 0x48c054
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b348
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 + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x48c02c
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 0x48bfdf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48bfcc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403acc
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.0048be94
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48c060]
cmp dl, byte [eax + 0x28]
je 0x48c033
call fcn.0040c76c
jmp 0x48c033
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b368
jmp 0x48c033
cmp ecx, ebx
jge 0x48bffb
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.0041b368
jmp 0x48bf31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b348
cmp edx, dword [esp + 4]
jne 0x48c01b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48bf31
push ebp
call fcn.0048be94
pop ecx
jmp 0x48c033
push ebp
call fcn.0048be94
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c054
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c064
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 0x48c186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048b424
xor eax, eax
push ebp
push 0x48c169
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 0x48c0b4
call fcn.00404108
jmp 0x48c170
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 0x48c153
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c153
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403acc
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 0x48c153
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bf60
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, 0x48c1a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a39b8]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c884
call fcn.0040405c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c170
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c18d
lea eax, [ebp - 0x28]
call fcn.004046e0
ret
Function at 0x48c1ec
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 0x48c336
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048b424
xor eax, eax
push ebp
push 0x48c319
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48c251
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48c251
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 0x48c303
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c264
call fcn.00404108
jmp 0x48c320
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 0x48c303
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c303
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403acc
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 0x48c303
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bf60
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, 0x48c350
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a39b8]
mov dl, 1
mov eax, dword [0x489f54]
call fcn.0040c884
call fcn.0040405c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c320
mov eax, dword [ebp - 4]
call fcn.0048b430
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c33d
lea eax, [ebp - 0x28]
call fcn.004046e0
ret
Function at 0x48e264
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x48e280
add esp, 0xfffffff0
call fcn.00403bf4
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x48e3bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0041f6b4
mov byte [ebx + 0x10210], 0
mov eax, 0x400
call fcn.004027c0
mov dword [ebx + 0x10068], eax
push ebx
push 0x48eb0c
call fcn.0044eca8
mov dword [ebx + 0x10060], eax
mov dword [ebx + 0x10208], 1
mov byte [ebx + 0x1006c], 0
push 0x48e3e8
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x10248], eax
lea eax, [ebp - 8]
call fcn.0048dedc
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.0048ea8c
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x48e38f
xor eax, eax
push ebp
push 0x48e379
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x48e346
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e918
push 4
lea eax, [ebp - 0x10]
call fcn.0048deb4
mov eax, dword [ebp - 0x10]
call fcn.00404ba0
push eax
push 0xff7f
push 0xffff
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e39d
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e918
mov byte [ebx + 0x10210], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e3c6
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404704
ret

Function at 0x48e438
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e50c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1024c]
test eax, eax
je 0x48e467
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x48e4d3
xor eax, eax
push ebp
push 0x48e4bd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x48e4b3
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e4e1
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0048e918
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1003c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e513
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404704
ret
Function at 0x48e768
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x48e78d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48e786
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e902
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x48e848
test esi, esi
jle 0x48e7d3
lea eax, [ebp - 0x10]
call fcn.0048e1e0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x407f68]
call fcn.0040c78c
call fcn.0040405c
jmp 0x48e83e
cmp word [ebx + 0x10242], 0
jne 0x48e7fb
lea eax, [ebp - 0x14]
call fcn.0048e1e0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x407f68]
call fcn.0040c78c
call fcn.0040405c
jmp 0x48e83e
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0x10244]
call dword [ebx + 0x10240]
cmp byte [ebp - 9], 0
jne 0x48e83d
lea eax, [ebp - 0x18]
call fcn.0048e1e0
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x407f68]
call fcn.0040c78c
call fcn.0040405c
jmp 0x48e83e
inc esi
cmp dword [ebp + 8], 0
je 0x48e7b1
mov byte [ebx + 0x1006c], 0
mov eax, ebx
call fcn.0048e5a8
cmp dword [ebx + 0x10044], 0
jne 0x48e87b
lea eax, [ebp - 0x1c]
call fcn.0048e178
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x48dab4]
call fcn.0040c78c
call fcn.0040405c
lea eax, [ebp - 0x20]
call fcn.0048dfb4
mov ecx, dword [ebp - 0x20]
mov dl, 2
mov eax, ebx
call fcn.0048ea8c
mov word [ebx + 0x10040], 2
mov ax, word [ebx + 0x10038]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x10042], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x10040]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0x1022a], 0
je 0x48e8e7
mov edx, ebx
mov eax, dword [ebx + 0x1022c]
call dword [ebx + 0x10228]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e909
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404704
ret
Function at 0x48eb80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48ec54
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xffff
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x10030], eax
cmp word [ebx + 0x10222], 0
je 0x48ec3e
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x48ec68
call fcn.00409df4
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x10030]
mov edx, ebx
mov eax, dword [ebx + 0x10224]
call dword [ebx + 0x10220]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec5b
lea eax, [ebp - 8]
call fcn.004046e0
ret

Function at 0x48ee54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404b90
xor eax, eax
push ebp
push 0x48ef81
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10034]
mov edx, dword [ebp - 4]
call fcn.00404734
mov dword [ebx + 0x10224], esi
mov dword [ebx + 0x10220], 0x48edc4
mov edx, 0xfa0
mov eax, ebx
call fcn.0048e438
mov eax, dword [ebx + 0x1003c]
mov dword [ebx + 0x10038], eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x1003c]
mov dword [eax], edx
push 4
lea edx, [ebp - 8]
mov ecx, 3
mov eax, ebx
call fcn.0048e768
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x48eee9
mov eax, dword [0x4a3904]
mov eax, dword [eax]
call fcn.004579b0
cmp dword [ebx + 0xc], 0
jne 0x48ef65
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x32
jb 0x48eedd
jmp 0x48ef65
mov edx, dword [edi]
mov eax, ebx
call fcn.0048e438
inc dword [edi]
cmp dword [edi], 0xffff
jne 0x48ef16
mov dword [edi], 0xfa0
mov eax, dword [ebx + 0x1003c]
mov dword [ebx + 0x10038], eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x1003c]
mov dword [eax], edx
push 4
lea edx, [ebp - 8]
mov ecx, 3
mov eax, ebx
call fcn.0048e768
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x48ef53
mov eax, dword [0x4a3904]
mov eax, dword [eax]
call fcn.004579b0
cmp dword [ebx + 0xc], 0
jne 0x48ef65
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x32
jb 0x48ef47
cmp dword [ebx + 0xc], 0
je 0x48eefd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef88
lea eax, [ebp - 4]
call fcn.004046e0
ret