Function at 0x459e10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x486b0a
push eax
mov eax, 0x283c
mov dword fs:[0], esp
call fcn.0047c8c0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [esp + 0x2870]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2858], 1
mov byte [esp + 0x18], al
call dword [0x489244]
mov ecx, dword [0x489228]
lea eax, [esp + 0x2870]
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
call dword [0x489220]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [0x48923c]
mov byte [esp + 0x2854], 2
test edi, edi
jne 0x459e90
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x4c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x48], esi
mov esi, edi
mov edi, dword [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x2860]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x459ec4
mov eax, edx
push eax
call dword [0x4896ac]
mov edx, dword [esp + 0x286c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
mov esi, eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x28], 2
mov dword [esp + 0x34], ecx
call dword [0x48969c]
push 0
push 1
push 2
mov word [esp + 0x32], ax
mov dword [esp + 0x34], esi
call dword [0x4896bc]
mov esi, eax
lea eax, [esp + 0x34]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x40], 1
call dword [0x4896e4]
lea ecx, [esp + 0x24]
push 0x10
push ecx
push esi
call dword [0x4896c0]
mov edx, dword [ebp + 0xa8]
mov edi, dword [0x48914c]
push 0x14
push edx
call edi
test eax, eax
jne 0x459f89
push esi
call dword [0x4896c4]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2858], 1
call dword [0x489244]
push 1
lea ecx, [esp + 0x2860]
mov byte [esp + 0x2858], 0
call dword [0x489244]
mov dword [esp + 0x2854], 0xffffffff
jmp 0x45a058
push 0
lea eax, [esp + 0x50]
push ebx
push eax
push esi
call dword [0x4896d0]
mov ecx, dword [ebp + 0xa8]
push 0xc8
push ecx
call edi
test eax, eax
je 0x459f47
xor ebx, ebx
lea edx, [esp + 0x4c]
push ebx
mov ecx, 0xa00
xor eax, eax
lea edi, [esp + 0x50]
push 0x2800
push edx
rep stosd dword es:[edi], eax
push esi
call dword [0x4896a4]
push esi
mov ebp, eax
call dword [0x4896c4]
or esi, 0xffffffff
cmp ebp, esi
jne 0x45a022
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2858], 1
call dword [0x489244]
push 1
lea ecx, [esp + 0x2860]
mov byte [esp + 0x2858], bl
call dword [0x489244]
push 1
lea ecx, [esp + 0x2874]
mov dword [esp + 0x2858], esi
call dword [0x489244]
xor al, al
jmp 0x45a194
cmp ebp, ebx
jne 0x45a06e
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2858], 1
call dword [0x489244]
push 1
lea ecx, [esp + 0x2860]
mov byte [esp + 0x2858], 0
call dword [0x489244]
mov dword [esp + 0x2854], esi
push 1
lea ecx, [esp + 0x2874]
call dword [0x489244]
xor al, al
jmp 0x45a194
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call dword [0x489244]
push 1
push ebp
lea ecx, [esp + 0x40]
call dword [0x48922c]
test al, al
je 0x45a0b6
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov byte [eax + ebp], 0
mov ecx, dword [0x489228]
lea eax, [esp + 0x38]
mov byte [esp + 0x2854], 3
mov edx, dword [ecx]
mov ecx, dword [esp + 0x2880]
push edx
push ebx
push eax
call dword [0x489220]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x45a0ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45a0f6
cmp al, 0xff
je 0x45a0f6
dec al
mov byte [ecx], al
jmp 0x45a0ff
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x45a123
mov al, byte [ecx - 1]
test al, al
je 0x45a119
cmp al, 0xff
je 0x45a119
dec al
mov byte [ecx - 1], al
jmp 0x45a123
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x2860]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x45a156
mov al, byte [ecx - 1]
test al, al
je 0x45a14c
cmp al, 0xff
je 0x45a14c
dec al
mov byte [ecx - 1], al
jmp 0x45a156
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x2874]
mov dword [esp + 0x2860], ebx
cmp ecx, ebx
mov dword [esp + 0x2864], ebx
mov dword [esp + 0x2868], ebx
je 0x45a192
mov al, byte [ecx - 1]
test al, al
je 0x45a188
cmp al, 0xff
je 0x45a188
dec al
mov byte [ecx - 1], al
jmp 0x45a192
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x284c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2848
ret 0x28