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

Disassembly:
sub esp, 0x108
mov eax, dword [0x469424]
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 0x413f63
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [0x4555f8]
test eax, eax
jne 0x413f63
mov dword [esi + 0x80], 0x300
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x413f83
push 0
push pe_nt_image_headers32
lea edx, [esp + 0x10]
push edx
push eax
call dword [0x4555e8]
cmp eax, 2
je 0x413fa5
mov dword [esi + 0x80], 0x400
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
cmp byte [esp + 8], bl
je 0x413fcd
mov dword [esi + 0x80], 0x500
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov al, byte [esp + 9]
cmp al, 0xff
jne 0x413ff7
mov dword [esi + 0x80], 0x600
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
test al, al
je 0x414025
cmp al, 1
je 0x41403d
cmp al, 2
je 0x41405f
mov dword [esi + 0x80], 0x700
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov al, 1
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov dword [esi + 0x80], 0x800
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
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 0x414076
mov eax, dword [esi + 0x4c]
jmp 0x414079
lea eax, [esi + 0x4c]
push edi
push ebx
push eax
lea eax, [esp + 0x16]
push eax
call fcn.00442740
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 0x4140a1
mov eax, dword [esi + 0x68]
jmp 0x4140a4
lea eax, [esi + 0x68]
push ebx
push eax
lea ecx, [esp + edi + 0x14]
push ecx
call fcn.00442740
mov eax, dword [esi + 8]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4140f3
push 0
add ebx, edi
push ebx
lea edx, [esp + 0x14]
push edx
push eax
call dword [0x4555f8]
test eax, eax
jne 0x4140f3
add dword [esi + 0x80], 0x900
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x414113
push 0
push pe_nt_image_headers32
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [0x4555e8]
cmp eax, 2
je 0x414136
pop edi
mov dword [esi + 0x80], 0xa00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
cmp byte [esp + 0xc], 1
je 0x414160
pop edi
mov dword [esi + 0x80], 0xb00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
cmp byte [esp + 0xd], 0
je 0x41418a
pop edi
mov dword [esi + 0x80], 0xc00
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00439d55
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00439d55
add esp, 0x108
ret