Function at 0x488ca0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdda3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
lea ebx, [ecx + 4]
mov edi, 0x613af0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [ebp - 0x10], esp
dec ecx
push 1
mov dword [ebp - 0x20], ecx
push ecx
mov ecx, ebx
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
call fcn.0048a240
test al, al
je 0x488d18
mov eax, dword [ebp - 0x20]
mov edi, dword [ebx + 4]
mov ecx, eax
mov esi, 0x613af0
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0048a220
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0x28], 0xffffffff
je 0x488d27
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push 6
mov ebx, 2
push 1
push ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 0x28], eax
jne 0x488d54
lea ecx, [ebp - 0x30]
push 0x5b85a8
push ecx
mov dword [ebp - 0x30], 1
call fcn.0049b040
mov eax, dword [0x613ab8]
test eax, eax
jne 0x488dd5
mov edx, dword [ebp + 0xc]
mov word [ebp - 0x60], bx
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [ebp + 8]
mov word [ebp - 0x5e], ax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x5c], eax
jne 0x488d96
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x488dc0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x5c], edx
mov edx, dword [edi + 0x28]
lea ecx, [ebp - 0x60]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x488f76
lea eax, [ebp - 0x24]
push 0x5b85a8
push eax
mov dword [ebp - 0x24], ebx
call fcn.0049b040
lea eax, [ebp - 0x2c]
push 0x5b85a8
push eax
mov dword [ebp - 0x2c], 3
call fcn.0049b040
lea ecx, [ebp - 0xa4]
call fcn.0048a6c0
mov esi, dword [0x613ac8]
mov byte [ebp - 4], 1
test esi, esi
jne 0x488df3
mov esi, 0x613af0
mov cl, byte [ebp + 0xf]
push 0
mov byte [ebp - 0x50], cl
lea ecx, [ebp - 0x50]
call fcn.0048a1d0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x50]
push ebx
call fcn.0048a240
test al, al
je 0x488e3c
mov edi, dword [ebp - 0x4c]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x50]
call fcn.0048a220
mov esi, dword [0x613ac4]
mov byte [ebp - 4], 2
test esi, esi
jne 0x488e4f
mov esi, 0x613af0
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.0048a1d0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x40]
push ebx
call fcn.0048a240
test al, al
je 0x488e98
mov edi, dword [ebp - 0x3c]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x40]
call fcn.0048a220
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x40]
push eax
push ecx
mov ecx, 0x613aa0
mov byte [ebp - 4], 3
call fcn.0048a580
push eax
lea eax, [ebp - 0x19]
sub esp, 0x10
mov ecx, 0x613aa0
mov edx, esp
mov dword [ebp - 0x68], esp
push eax
mov dword [ebp - 0x20], edx
call fcn.0048a590
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00489cf0
mov ecx, 0x613aa0
mov byte [ebp - 4], 4
call fcn.0048a570
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.0048a7d0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0048a1d0
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x488f23
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x488f1a
cmp al, 0xff
je 0x488f1a
dec al
mov byte [ecx], al
jmp 0x488f23
push ecx
call fcn.004be727
add esp, 4
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0xf]
push edx
mov edx, dword [ebp + 8]
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
push edx
call fcn.00489cf0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0048a9d0
test eax, eax
jne 0x488f67
lea edx, [ebp - 0x28]
push 0x5b85a8
push edx
mov dword [ebp - 0x28], 2
call fcn.0049b040
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0048a730
mov ecx, dword [ebp - 0x18]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov byte [ecx + 0x14], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8