Function at 0xa05ef0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0xa93064]
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.009ccea0
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.00a066b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0xa05fd5
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.009d89d0
add esp, 0x10
test al, al
jne 0xa0602f
call fcn.00a22ae7
mov eax, dword [eax]
mov dword [esi + 0x158], eax
call fcn.00a22ae7
mov esi, dword [eax]
call fcn.00a22ae7
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.009e9b30
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.009d7dd0
mov edi, dword [ebp - 0x128]
add esp, 0x1c
mov esi, 2
mov edi, dword [edi]
cmp edi, 0xffffffff
je 0xa06398
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0xa06381
cmp dword [eax + 0x30], 0
push edi
push ebx
je 0xa06379
call fcn.009c78c0
push 1
push ebx
call fcn.009c7b10
mov eax, dword [ebp - 0x12c]
push edi
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push ebx
call fcn.009c7b10
add esp, 0x20
jmp 0xa06388
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.009d7e90
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [eax], 2
jne 0xa060e8
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0xc], 1
jne 0xa060e8
mov cl, 1
mov eax, esi
mov byte [ebp - 0x11d], cl
mov byte [ebp - 0x115], cl
cmp byte [ebx + 0x6dc], al
je 0xa060ef
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 0xa060ef
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.009e9b30
push eax
push str.Could_not_set_TCP_NODELAY:__s
push ebx
call fcn.009d7e90
mov al, byte [ebp - 0x11d]
add esp, 0x18
mov byte [ebp - 0x115], al
jmp 0xa060ef
mov byte [ebp - 0x115], 0
mov eax, dword [edi]
mov dword [ebp - 0x128], eax
mov eax, dword [0xa97fb4]
mov dword [ebp - 0x124], 0x4020
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x12c], 4
test eax, eax
jne 0xa0614a
push 3
push 2
push eax
push eax
push 6
call fcn.00a09b10
add esp, 0x14
test al, al
je 0xa0613e
mov dword [0xa97fb4], 2
jmp 0xa061a4
mov dword [0xa97fb4], 1
jmp 0xa0614f
cmp eax, 2
je 0xa061a4
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 0xa06185
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x124]
jg 0xa061a4
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 0xa06293
cmp byte [ebx + 0x6e3], 0
je 0xa06293
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 0xa06204
push dword [ebp - 0x11c]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push ebx
call fcn.009d7e90
add esp, 0xc
jmp 0xa06293
push dword [ebx + 0x680]
mov dword [ebp - 0x110], 1
call fcn.009d98a0
push dword [ebx + 0x684]
imul eax, eax, 0x3e8
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x10c], eax
call fcn.009d98a0
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 0xa06293
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.009d7e90
add esp, 0x10
cmp dword [ebx + 0x1b4], 0
je 0xa062d9
push 1
push ebx
call fcn.009c7b10
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.009c7b10
mov eax, dword [ebp - 0x12c]
add esp, 0x1c
cmp eax, 2
jne 0xa06313
mov byte [ebp - 0x116], 1
mov eax, dword [ebp - 0x138]
cmp dword [eax], 2
jne 0xa06321
mov eax, dword [ebp - 0x130]
push 0
push 2
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.00a059b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xa06321
cmp esi, 1
jne 0xa05fd5
lea esi, [eax + 6]
jmp 0xa05fd5
test eax, eax
je 0xa062d9
mov esi, 0x2a
jmp 0xa05fd5
push 1
push dword [edi]
call fcn.00a0e2c0
add esp, 8
cmp byte [ebp - 0x116], 0
je 0xa06398
push ebx
mov ebx, dword [ebp - 0x130]
push ebx
call fcn.00a06470
lea eax, [ebp - 0x114]
push eax
call fcn.009ccea0
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.009c04ba
mov esp, ebp
pop ebp
ret
call fcn.009c78c0
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.009c04ba
mov esp, ebp
pop ebp
ret