Function at 0x1009b320
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x130
mov eax, dword [0x1018e4ac]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
push ebp
push esi
mov ebx, dword [eax + 8]
mov esi, dword [esp + 0x144]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x16], 0
call fcn.10063e60
lea ebp, [ebx + 0x98]
push ebp
movups xmm0, xmmword [eax]
lea eax, [ebx + 8]
push eax
push esi
movups xmmword [ebx + 0x108], xmm0
call fcn.1009b960
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1009b631
push esi
push dword [esp + 0x20]
call fcn.1009b830
mov edi, eax
add esp, 8
test edi, edi
jne 0x1009b631
push dword [ebx + 0xcc]
cmp dword [ebx + 8], 0x17
lea eax, [ebx + 0x9c]
push eax
mov ecx, str.__Trying___s_:_d...
mov eax, str.__Trying__s:_d...
cmove eax, ecx
push eax
push esi
call fcn.1006e960
mov eax, dword [ebx + 8]
add esp, 0x10
cmp eax, 2
je 0x1009b3d4
cmp eax, 0x17
jne 0x1009b440
cmp dword [ebx + 0xc], 1
jne 0x1009b440
cmp byte [esi + 0x6c4], 0
mov al, 1
mov byte [esp + 0x13], al
mov byte [esp + 0x11], al
je 0x1009b445
push 4
mov byte [esp + 0x15], al
lea eax, [esp + 0x24]
push eax
push 1
push 6
push dword [ebp]
mov dword [esp + 0x34], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1009b445
push 0x100
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.1007faa0
push eax
push str.Could_not_set_TCP_NODELAY:__s
push esi
call fcn.1006e960
mov al, byte [esp + 0x2b]
add esp, 0x18
mov byte [esp + 0x11], al
jmp 0x1009b445
mov byte [esp + 0x11], 0
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [0x1018fab4]
mov dword [esp + 0x28], 0x4020
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
test eax, eax
jne 0x1009b499
push 3
push 2
push eax
push eax
push 6
call fcn.1009f6e0
add esp, 0x14
test al, al
je 0x1009b48d
mov dword [0x1018fab4], 2
jmp 0x1009b4e5
mov dword [0x1018fab4], 1
jmp 0x1009b49e
cmp eax, 2
je 0x1009b4e5
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1009b4ca
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jg 0x1009b4e5
push 4
lea eax, [esp + 0x2c]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp byte [esp + 0x11], 0
je 0x1009b5ad
cmp byte [esi + 0x6cb], 0
je 0x1009b5ad
mov ebx, dword [ebp]
lea eax, [esp + 0x14]
push 4
push eax
push 8
push 0xffff
push ebx
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1009b532
push ebx
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push esi
call fcn.1006e960
add esp, 0xc
jmp 0x1009b5a9
push dword [esi + 0x668]
mov dword [esp + 0x30], 1
call fcn.100702d0
push dword [esi + 0x66c]
imul eax, eax, 0x3e8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
call fcn.100702d0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x44]
push eax
push 0x98000004
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1009b5a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ebx
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
push esi
call fcn.1006e960
add esp, 0x10
mov ebx, dword [esp + 0x24]
cmp dword [esi + 0x19c], 0
je 0x1009b5f2
push 1
push esi
call fcn.1005eba0
mov eax, dword [esi + 0x19c]
push 0
push dword [ebp]
push dword [esi + 0x1a0]
call eax
push 0
push esi
mov dword [esp + 0x34], eax
call fcn.1005eba0
mov eax, dword [esp + 0x34]
add esp, 0x1c
cmp eax, 2
jne 0x1009b67f
mov byte [esp + 0x12], 1
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x1009b603
cmp eax, 0x17
jne 0x1009b68e
lea eax, [ebx + 0x18]
push eax
call fcn.100a8b60
push eax
push dword [ebx + 8]
mov eax, dword [esp + 0x28]
push dword [ebp]
push dword [eax + 0xc]
push esi
call fcn.1009ae20
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1009b68e
cmp edi, 1
jne 0x1009b631
lea edi, [eax + 6]
mov ebx, dword [ebp]
cmp ebx, 0xffffffff
je 0x1009b6e0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1009b6d2
cmp dword [eax + 0x30], 0
push ebx
push esi
je 0x1009b6ca
call fcn.1005e900
push 1
push esi
call fcn.1005eba0
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push esi
call fcn.1005eba0
add esp, 0x20
jmp 0x1009b6d9
test eax, eax
je 0x1009b5f2
mov edi, 0x2a
jmp 0x1009b631
push 1
push dword [ebp]
call fcn.100a2f70
add esp, 8
cmp byte [esp + 0x12], 0
je 0x1009b6e0
mov ebp, dword [esp + 0x1c]
push esi
push ebp
call fcn.1009b700
lea eax, [esp + 0x34]
push eax
call fcn.10063e60
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x118], xmm0
mov byte [ebp + 0x14], 1
jmp 0x1009b6e0
call fcn.1005e900
add esp, 8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp], 0xffffffff
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013ad45
add esp, 0x130
ret