Function at 0x9cb1c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0xa59064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x114]
push edi
push eax
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x116], 0
call fcn.009921c0
lea edi, [esi + 0x98]
push edi
mov dword [ebp - 0x128], edi
movups xmm0, xmmword [eax]
lea eax, [esi + 8]
push eax
push ebx
movups xmmword [esi + 0x128], xmm0
mov dword [ebp - 0x138], eax
call fcn.009cb980
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x9cb2a5
mov esi, dword [ebp - 0x130]
mov esi, dword [esi + 8]
lea eax, [esi + 0xec]
push eax
lea eax, [esi + 0xbc]
push eax
push dword [esi + 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.0099dcf0
add esp, 0x10
test al, al
jne 0x9cb2ff
call fcn.009e7dc7
mov eax, dword [eax]
mov dword [esi + 0x158], eax
call fcn.009e7dc7
mov esi, dword [eax]
call fcn.009e7dc7
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.009aee10
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0099d0f0
mov edi, dword [ebp - 0x128]
add esp, 0x1c
mov esi, 2
mov edi, dword [edi]
cmp edi, 0xffffffff
je 0x9cb668
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x9cb651
cmp dword [eax + 0x30], 0
push edi
push ebx
je 0x9cb649
call fcn.0098cbe0
push 1
push ebx
call fcn.0098ce30
mov eax, dword [ebp - 0x12c]
push edi
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push ebx
call fcn.0098ce30
add esp, 0x20
jmp 0x9cb658
mov eax, dword [ebp - 0x134]
xor esi, esi
mov dword [ebp - 0x11c], esi
push dword [eax + 0xec]
add eax, 0xbc
push eax
push str.__Trying__s:_d...
push ebx
call fcn.0099d1b0
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [eax], 2
jne 0x9cb3b8
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0xc], 1
jne 0x9cb3b8
mov cl, 1
mov eax, esi
mov byte [ebp - 0x11d], cl
mov byte [ebp - 0x115], cl
cmp byte [ebx + 0x6dc], al
je 0x9cb3bf
push 4
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 1
push eax
push 1
push 6
push dword [edi]
mov byte [ebp - 0x115], cl
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x9cb3bf
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.009aee10
push eax
push str.Could_not_set_TCP_NODELAY:__s
push ebx
call fcn.0099d1b0
mov al, byte [ebp - 0x11d]
add esp, 0x18
mov byte [ebp - 0x115], al
jmp 0x9cb3bf
mov byte [ebp - 0x115], 0
mov eax, dword [edi]
mov dword [ebp - 0x128], eax
mov eax, dword [0xa5dfb4]
mov dword [ebp - 0x124], 0x4020
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x12c], 4
test eax, eax
jne 0x9cb41a
push 3
push 2
push eax
push eax
push 6
call fcn.009cede0
add esp, 0x14
test al, al
je 0x9cb40e
mov dword [0xa5dfb4], 2
jmp 0x9cb474
mov dword [0xa5dfb4], 1
jmp 0x9cb41f
cmp eax, 2
je 0x9cb474
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x1001
push 0xffff
push dword [ebp - 0x128]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x9cb455
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x124]
jg 0x9cb474
push 4
lea eax, [ebp - 0x124]
push eax
push 0x1001
push 0xffff
push dword [ebp - 0x128]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp byte [ebp - 0x115], 0
je 0x9cb563
cmp byte [ebx + 0x6e3], 0
je 0x9cb563
mov eax, dword [edi]
lea ecx, [ebp - 0x124]
push 4
push ecx
push 8
push 0xffff
push eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x9cb4d4
push dword [ebp - 0x11c]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push ebx
call fcn.0099d1b0
add esp, 0xc
jmp 0x9cb563
push dword [ebx + 0x680]
mov dword [ebp - 0x110], 1
call fcn.0099ebc0
push dword [ebx + 0x684]
imul eax, eax, 0x3e8
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x10c], eax
call fcn.0099ebc0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x110]
push eax
push 0x98000004
push dword [ebp - 0x11c]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x9cb563
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 0x11c]
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
push ebx
call fcn.0099d1b0
add esp, 0x10
cmp dword [ebx + 0x1b4], 0
je 0x9cb5a9
push 1
push ebx
call fcn.0098ce30
mov eax, dword [ebx + 0x1b4]
push 0
push dword [edi]
push dword [ebx + 0x1b8]
call eax
push 0
push ebx
mov dword [ebp - 0x12c], eax
call fcn.0098ce30
mov eax, dword [ebp - 0x12c]
add esp, 0x1c
cmp eax, 2
jne 0x9cb5e3
mov byte [ebp - 0x116], 1
mov eax, dword [ebp - 0x138]
cmp dword [eax], 2
jne 0x9cb5f1
mov eax, dword [ebp - 0x130]
push 0
push 2
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.009cac80
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9cb5f1
cmp esi, 1
jne 0x9cb2a5
lea esi, [eax + 6]
jmp 0x9cb2a5
test eax, eax
je 0x9cb5a9
mov esi, 0x2a
jmp 0x9cb2a5
push 1
push dword [edi]
call fcn.009d3590
add esp, 8
cmp byte [ebp - 0x116], 0
je 0x9cb668
push ebx
mov ebx, dword [ebp - 0x130]
push ebx
call fcn.009cb740
lea eax, [ebp - 0x114]
push eax
call fcn.009921c0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x134]
pop edi
movups xmmword [eax + 0x138], xmm0
mov eax, esi
mov byte [ebx + 0x14], 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009857d7
mov esp, ebp
pop ebp
ret
call fcn.0098cbe0
add esp, 8
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x98], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009857d7
mov esp, ebp
pop ebp
ret