Function at 0x5c97e0
Capabilities:
Connect socket
Get hostname
Send data
Send data on socket

Disassembly:
sub esp, 0x3c
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov eax, 2
mov word [esp + 0x38], ax
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [edi + 0x54]
mov dword [esp + 0x3c], eax
movzx eax, word [0x65b28c]
push eax
call sub.WS2_32.dll_htons
mov word [esp + 0x3a], ax
lea eax, [esp + 0x38]
push 0x10
push eax
push dword [edi + 4]
call sub.WS2_32.dll_connect
test eax, eax
jns 0x5c9851
cmp dword [esp + 0x54], 0
mov eax, 0x69
mov ecx, 0x63
cmovne eax, ecx
mov dword [0x6527a4], eax
jmp 0x5c9b30
push dword [esp + 0x60]
push 0x200
push dword [edi + 0x60]
call fcn.005cb850
mov esi, eax
xor ebp, ebp
push 0x100
mov dword [esp + 0x14], esi
call fcn.005c6d10
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5c98a7
push 0x100
push ebx
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x5c989e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c9892
sub ecx, edx
lea ebp, [ecx + 1]
push ebx
call fcn.0053ae24
add esp, 4
push 0x220
lea eax, [esi + 0x24]
add eax, ebp
push eax
push 0x13
call fcn.005c6f50
mov ebx, eax
test ebx, ebx
je 0x5c9b30
mov esi, dword [edi + 0x3c]
and esi, 0xf00000
call fcn.005c9150
mov edx, dword [edi + 0xc]
movzx ecx, al
mov eax, edx
shl ecx, 0x18
or ecx, esi
mov esi, ecx
or esi, 1
and al, 1
cmove esi, ecx
test dl, 8
je 0x5c98fa
or esi, 8
mov dword [0x65b26c], 1
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], ebp
test esi, esi
je 0x5c9938
push esi
push dword [edi + 0x60]
push eax
call fcn.00604150
add esp, 0xc
lea eax, [ebx + 0x24]
push esi
push dword [edi + 0x60]
push eax
call fcn.00604150
lea eax, [esi + 0x24]
add esp, 0xc
xor esi, esi
add eax, ebx
jne 0x5c995d
push ebp
call fcn.005c6d10
mov esi, eax
add esp, 4
test esi, esi
je 0x5c996d
push ebp
push eax
call sub.WS2_32.dll_gethostname
push esi
call fcn.0053ae24
add esp, 4
movzx eax, word [ebx + 2]
push 0
push eax
push ebx
push dword [edi + 4]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x5c9991
mov dword [0x6527a4], 0x61
jmp 0x5c9b27
push 0x3a98
push 0x13
push edi
call fcn.005cae00
mov esi, eax
test esi, esi
je 0x5c9b27
movzx eax, word [esi + 4]
test ax, ax
je 0x5c99bb
mov dword [0x6527a4], eax
jmp 0x5c9b27
mov ebp, dword [esi + 0x1c]
test ebp, ebp
je 0x5c9b1d
cmp ebp, 1
je 0x5c9b1d
cmp dword [esp + 0x54], 0
mov ax, word [esi + 0x14]
mov word [edi + 0x44], ax
jne 0x5c99ee
movzx eax, word [esi + 0x10]
mov word [edi + 0x48], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0x46], ax
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x14], eax
call fcn.005c6d10
add esp, 4
mov dword [edi + 0x40], eax
test eax, eax
je 0x5c9b27
push dword [esp + 0x10]
add esi, 0x20
push esi
push eax
call fcn.00604150
mov eax, dword [edi + 0x40]
add esp, 0xc
cmp dword [esp + 0x64], 0
mov dword [edi + 0x24], eax
je 0x5c9afd
lea eax, [esp + 0x14]
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
push eax
movups xmmword [esp + 0x28], xmm0
push edi
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1e], 0x1c
mov byte [esp + 0x20], 0x34
mov byte [esp + 0x22], 0x2c
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], 0x13
mov byte [esp + 0x2c], 0x20
call fcn.005caab0
test eax, eax
je 0x5c9afd
push 0x1388
push dword [esp + 0x1e]
push edi
call fcn.005cae00
test eax, eax
je 0x5c9afd
cmp word [eax + 4], 0
jne 0x5c9afd
movzx eax, word [esi]
imul ecx, eax, 0x3e8
movzx eax, word [esi + 2]
add ecx, eax
cmp ecx, dword [esp + 0x64]
jge 0x5c9afd
xor eax, eax
xorps xmm0, xmm0
mov word [edi + 0x44], ax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
push eax
push edi
movups xmmword [esp + 0x2c], xmm0
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1e], 0x14
mov byte [esp + 0x20], 0x14
mov byte [esp + 0x22], 0x24
mov dword [esp + 0x24], ebp
call fcn.005caab0
test eax, eax
je 0x5c9af1
push 0x1388
push dword [esp + 0x1e]
push edi
call fcn.005cae00
mov dword [0x6527a4], 0x69
jmp 0x5c9b27
push ebx
call fcn.0053ae24
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00602a00
add esp, 0x3c
ret 0x18
mov dword [0x6527a4], 0x62
push ebx
call fcn.0053ae24
add esp, 4
mov ecx, dword [esp + 0x48]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x3c
ret 0x18