Function at 0x10034150
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007188e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x1008a748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x68]
call fcn.1000ce30
mov dword [ebp - 4], 0
push 0
push 0xfa0
push 8
movzx eax, word [0x1008b674]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x120], esp
push 0x10090584
call fcn.100051e0
mov dword [ebp - 0x124], eax
call fcn.10029890
add esp, 0x28
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xffffffff
jne 0x10034226
mov byte [ebp - 0x68], 0
push str.INVALID_SOCKET
lea ecx, [ebp - 0x64]
call fcn.100117c0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000fe90
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed40
mov eax, dword [ebp + 8]
jmp 0x100348dc
mov dword [ebp - 0x14], 0x7d0
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x1005
push 0xffff
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x20]
call fcn.10033510
mov edx, dword [0x10090400]
mov dword [ebp - 0x1a], edx
mov dword [ebp - 0x11c], 0xa
push 0
push 0xa
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x114], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x84], 0
push 0x2000
call fcn.1003bae2
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x94], 0
push 0
mov ecx, 4
sub ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jle 0x10034332
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 4
jne 0x10034330
jmp 0x10034332
jmp 0x100342dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0x84], 0
jne 0x100343d4
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.10040806
add esp, 4
cmp dword [ebp - 0x9c], 0
jne 0x1003437b
mov dword [ebp - 0xb4], 0
jmp 0x10034391
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 0x68], 0
push 0x1007fc74
lea ecx, [ebp - 0x64]
call fcn.100117c0
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000fe90
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed40
mov eax, dword [ebp + 8]
jmp 0x100348dc
cmp dword [ebp - 0x84], 4
jge 0x1003448d
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x1fc]
push edx
call fcn.1000cd30
add esp, 8
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
push ecx
push 0x1007fc84
lea edx, [ebp - 0x214]
push edx
call fcn.10013600
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x64]
call fcn.10011710
lea ecx, [ebp - 0x214]
call fcn.10005300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call fcn.10005300
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000fe90
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed40
mov eax, dword [ebp + 8]
jmp 0x100348dc
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
add ecx, 4
mov dword [ebp - 0x98], ecx
push 0
mov edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jle 0x100344fa
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x94]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x98]
jne 0x100344f8
jmp 0x100344fa
jmp 0x1003449e
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x98]
je 0x100346bb
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.10040806
add esp, 4
cmp dword [ebp - 0xa4], 0
jne 0x1003453c
mov dword [ebp - 0xc4], 0
jmp 0x10034552
mov dword [ebp - 0x88], 0x8123
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 0x68], 0
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.1000cd30
add esp, 8
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x1b4]
push eax
call fcn.1000cd30
add esp, 8
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x104]
push edx
push 0x1007fcb0
lea eax, [ebp - 0x22c]
push eax
call fcn.10013600
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 4
push str._receiveOverSize:
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x184]
push eax
call fcn.10013730
add esp, 0xc
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1e4]
push ecx
call fcn.100134e0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x64]
call fcn.10011710
lea ecx, [ebp - 0x1e4]
call fcn.10005300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.10005300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x22c]
call fcn.10005300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.10005300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.10005300
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000fe90
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed40
mov eax, dword [ebp + 8]
jmp 0x100348dc
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
movzx eax, byte [0x1008b6e4]
test eax, eax
je 0x1003481f
mov ecx, dword [0x10090400]
push ecx
lea edx, [ebp - 0x1cc]
push edx
call fcn.1000cd30
add esp, 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
push ecx
call fcn.100331d0
add esp, 4
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 7
push 0x1007fce0
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.10013730
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.100134e0
add esp, 0xc
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 9
push 0x1007fcdc
mov ecx, dword [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.10013730
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x154]
call fcn.10005300
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x16c]
call fcn.10005300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x19c]
call fcn.10005300
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1cc]
call fcn.10005300
push 0
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
call fcn.10005380
push eax
lea edx, [ebp - 0x274]
push edx
call fcn.10024720
add esp, 0x14
lea ecx, [ebp - 0x274]
call fcn.1000ed40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10005300
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.10033ef0
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x68]
call fcn.10010990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2bc]
call fcn.1000ed40
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10040806
add esp, 4
cmp dword [ebp - 0xa0], 0
jne 0x10034899
mov dword [ebp - 0xc8], 0
jmp 0x100348af
mov dword [ebp - 0x88], 0x8123
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000fe90
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fec6
mov esp, ebp
pop ebp
ret