Function at 0x10034e50
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x10079100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x75
call fcn.1001cd30
movzx eax, al
test eax, eax
je 0x10034e80
xor al, al
jmp 0x10035124
mov byte [ebp - 0x61], 1
push 1
mov ecx, dword [ebp - 0x60]
add ecx, 0x74
call fcn.1001c200
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.100165d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003fc0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.1001a160
lea ecx, [ebp - 0x2c]
call fcn.1001af50
mov ecx, dword [ebp - 0x60]
add ecx, 8
call fcn.1001f1f0
push eax
lea ecx, [ebp - 0x6c]
call fcn.10003a50
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
call fcn.1001cd10
cmp eax, 0xffffffff
je 0x100350d1
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [eax + 0x68]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [eax + 0x60]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
call fcn.1001cd10
push eax
call fcn.10039ec0
add esp, 0x14
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x10034f32
lea ecx, [ebp - 0x6c]
call fcn.1000b110
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edx + 0xc]
call eax
jmp 0x10034ed1
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
call fcn.1001cd10
push eax
call dword [sym.imp.WS2_32.dll_WSAAccept]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jne 0x10034fcb
call fcn.100457bd
cmp dword [eax], 0x18
jne 0x10034f85
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x94]
call fcn.10003680
push eax
call fcn.10015610
add esp, 4
jmp 0x10034ed1
call fcn.100457bd
cmp dword [eax], 4
je 0x10034f99
call fcn.100457bd
cmp dword [eax], 0xb
jne 0x10034f9e
jmp 0x10034ed1
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
call fcn.1001cd10
cmp eax, 0xffffffff
je 0x10034fc6
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
call fcn.1001cd10
push eax
call fcn.1002e200
add esp, 4
mov byte [ebp - 0x61], 0
jmp 0x100350d1
mov edx, dword [ebp - 0x60]
push 0
push 0x3e8
mov eax, dword [edx + 0x44]
push eax
mov ecx, dword [edx + 0x40]
push ecx
call fcn.100409d0
mov esi, eax
mov edx, dword [ebp - 0x60]
push 0
push 0x3e8
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [edx + 0x48]
push ecx
call fcn.10040920
add esi, eax
mov dword [ebp - 0x84], esi
push 4
lea edx, [ebp - 0x84]
push edx
push 0x1006
push 0xffff
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 0x60]
push 0
push 0x3e8
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ecx + 0x50]
push eax
call fcn.100409d0
mov esi, eax
mov ecx, dword [ebp - 0x60]
push 0
push 0x3e8
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ecx + 0x58]
push eax
call fcn.10040920
add esi, eax
mov dword [ebp - 0x88], esi
push 4
lea ecx, [ebp - 0x88]
push ecx
push 0x1005
push 0xffff
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x6c]
call fcn.1000b110
mov dword [ebp - 0x74], eax
sub esp, 0x28
mov esi, esp
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10016750
push eax
mov ecx, esi
call fcn.100042e0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 4]
call edx
movzx eax, al
test eax, eax
jne 0x100350cc
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.1003a5e0
add esp, 4
mov edx, dword [ebp - 0x68]
push edx
call fcn.1002e200
add esp, 4
jmp 0x10034ed1
lea ecx, [ebp - 0x6c]
call fcn.1000b110
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x6c]
call fcn.1001b2f0
movzx ecx, byte [ebp - 0x61]
test ecx, ecx
jne 0x100350ff
mov byte [ebp - 0x62], 1
jmp 0x10035103
mov byte [ebp - 0x62], 0
movzx edx, byte [ebp - 0x62]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x75
call fcn.1001c200
mov al, byte [ebp - 0x61]
mov byte [ebp - 0x63], al
lea ecx, [ebp - 0x5c]
call fcn.1001bed0
mov al, byte [ebp - 0x63]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040910
mov esp, ebp
pop ebp
ret