Function at 0x9f12f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0xa7f064]
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.009b8300
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.009f1ab0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x9f13d5
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.009c3e30
add esp, 0x10
test al, al
jne 0x9f142f
call fcn.00a0df09
mov eax, dword [eax]
mov dword [esi + 0x158], eax
call fcn.00a0df09
mov esi, dword [eax]
call fcn.00a0df09
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.009d4f50
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.009c3230
mov edi, dword [ebp - 0x128]
add esp, 0x1c
mov esi, 2
mov edi, dword [edi]
cmp edi, 0xffffffff
je 0x9f1798
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x9f1781
cmp dword [eax + 0x30], 0
push edi
push ebx
je 0x9f1779
call fcn.009b2d20
push 1
push ebx
call fcn.009b2f70
mov eax, dword [ebp - 0x12c]
push edi
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push ebx
call fcn.009b2f70
add esp, 0x20
jmp 0x9f1788
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.009c32f0
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [eax], 2
jne 0x9f14e8
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0xc], 1
jne 0x9f14e8
mov cl, 1
mov eax, esi
mov byte [ebp - 0x11d], cl
mov byte [ebp - 0x115], cl
cmp byte [ebx + 0x6dc], al
je 0x9f14ef
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 0x9f14ef
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.009d4f50
push eax
push str.Could_not_set_TCP_NODELAY:__s
push ebx
call fcn.009c32f0
mov al, byte [ebp - 0x11d]
add esp, 0x18
mov byte [ebp - 0x115], al
jmp 0x9f14ef
mov byte [ebp - 0x115], 0
mov eax, dword [edi]
mov dword [ebp - 0x128], eax
mov eax, dword [0xa83fb4]
mov dword [ebp - 0x124], 0x4020
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x12c], 4
test eax, eax
jne 0x9f154a
push 3
push 2
push eax
push eax
push 6
call fcn.009f4f10
add esp, 0x14
test al, al
je 0x9f153e
mov dword [0xa83fb4], 2
jmp 0x9f15a4
mov dword [0xa83fb4], 1
jmp 0x9f154f
cmp eax, 2
je 0x9f15a4
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 0x9f1585
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x124]
jg 0x9f15a4
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 0x9f1693
cmp byte [ebx + 0x6e3], 0
je 0x9f1693
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 0x9f1604
push dword [ebp - 0x11c]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push ebx
call fcn.009c32f0
add esp, 0xc
jmp 0x9f1693
push dword [ebx + 0x680]
mov dword [ebp - 0x110], 1
call fcn.009c4d00
push dword [ebx + 0x684]
imul eax, eax, 0x3e8
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x10c], eax
call fcn.009c4d00
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 0x9f1693
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.009c32f0
add esp, 0x10
cmp dword [ebx + 0x1b4], 0
je 0x9f16d9
push 1
push ebx
call fcn.009b2f70
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.009b2f70
mov eax, dword [ebp - 0x12c]
add esp, 0x1c
cmp eax, 2
jne 0x9f1713
mov byte [ebp - 0x116], 1
mov eax, dword [ebp - 0x138]
cmp dword [eax], 2
jne 0x9f1721
mov eax, dword [ebp - 0x130]
push 0
push 2
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.009f0db0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9f1721
cmp esi, 1
jne 0x9f13d5
lea esi, [eax + 6]
jmp 0x9f13d5
test eax, eax
je 0x9f16d9
mov esi, 0x2a
jmp 0x9f13d5
push 1
push dword [edi]
call fcn.009f96c0
add esp, 8
cmp byte [ebp - 0x116], 0
je 0x9f1798
push ebx
mov ebx, dword [ebp - 0x130]
push ebx
call fcn.009f1870
lea eax, [ebp - 0x114]
push eax
call fcn.009b8300
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.009ab911
mov esp, ebp
pop ebp
ret
call fcn.009b2d20
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.009ab911
mov esp, ebp
pop ebp
ret