Function at 0x4095c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x108
mov eax, dword [0x452528]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
push ebx
mov bl, 5
mov byte [esp + 4], bl
mov byte [esp + 5], 1
mov byte [esp + 6], 0
je 0x409623
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jne 0x409623
mov dword [esi + 0x80], 0x300
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x409643
push 0
push 0x100
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 2
je 0x409665
mov dword [esi + 0x80], 0x400
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
cmp byte [esp + 8], bl
je 0x40968d
mov dword [esi + 0x80], 0x500
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov al, byte [esp + 9]
cmp al, 0xff
jne 0x4096b7
mov dword [esi + 0x80], 0x600
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
test al, al
je 0x4096e5
cmp al, 1
je 0x4096fd
cmp al, 2
je 0x40971f
mov dword [esi + 0x80], 0x700
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov al, 1
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov dword [esi + 0x80], 0x800
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
cmp dword [esi + 0x60], 0x10
mov ebx, dword [esi + 0x5c]
mov byte [esp + 8], 1
mov byte [esp + 9], bl
jb 0x409736
mov eax, dword [esi + 0x4c]
jmp 0x409739
lea eax, [esi + 0x4c]
push edi
push ebx
push eax
lea eax, [esp + 0x16]
push eax
call fcn.0042edb0
lea edi, [ebx + 2]
mov ebx, dword [esi + 0x78]
mov byte [esp + edi + 0x18], bl
add esp, 0xc
add edi, 1
cmp dword [esi + 0x7c], 0x10
jb 0x409761
mov eax, dword [esi + 0x68]
jmp 0x409764
lea eax, [esi + 0x68]
push ebx
push eax
lea ecx, [esp + edi + 0x14]
push ecx
call fcn.0042edb0
mov eax, dword [esi + 8]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4097b3
push 0
add ebx, edi
push ebx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jne 0x4097b3
add dword [esi + 0x80], 0x900
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4097d3
push 0
push 0x100
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 2
je 0x4097f6
pop edi
mov dword [esi + 0x80], 0xa00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
cmp byte [esp + 0xc], 1
je 0x409820
pop edi
mov dword [esi + 0x80], 0xb00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
cmp byte [esp + 0xd], 0
je 0x40984a
pop edi
mov dword [esi + 0x80], 0xc00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00426fe7
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00426fe7
add esp, 0x108
ret