Function at 0x5543a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x718924]
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 - 0x120], eax
lea eax, [ebp - 0x114]
push edi
push eax
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x116], 0
call fcn.00518250
lea edi, [esi + 0x98]
push edi
mov dword [ebp - 0x11c], edi
movups xmm0, xmmword [eax]
lea eax, [esi + 8]
push eax
push ebx
movups xmmword [esi + 0x128], xmm0
mov dword [ebp - 0x130], eax
call fcn.00554b30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x554485
mov eax, dword [ebp - 0x120]
mov esi, dword [eax + 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.00525420
add esp, 0x10
test al, al
jne 0x5544ea
call fcn.004e6683
mov eax, dword [eax]
mov dword [esi + 0x158], eax
call fcn.004e6683
mov esi, dword [eax]
call fcn.004e6683
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00536820
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.005245a0
mov edi, dword [ebp - 0x11c]
add esp, 0x1c
mov esi, 2
mov eax, dword [edi]
mov dword [ebp - 0x11c], eax
cmp eax, 0xffffffff
je 0x55486e
mov ecx, dword [ebp - 0x120]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x12c], ecx
test ecx, ecx
je 0x554861
cmp dword [ecx + 0x30], 0
push eax
push ebx
je 0x554853
call fcn.00512720
push 1
push ebx
call fcn.00512990
mov eax, dword [ebp - 0x12c]
push dword [ebp - 0x11c]
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push ebx
call fcn.00512990
add esp, 0x20
jmp 0x554868
mov eax, dword [ebp - 0x130]
xor esi, esi
cmp dword [eax], 0x17
jne 0x554519
push 4
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], esi
push eax
push 0x1b
push 0x29
push dword [edi]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, str.__Trying___s_:_d...
jmp 0x55451e
mov ecx, str.__Trying__s:_d...
mov eax, dword [ebp - 0x134]
push dword [eax + 0xec]
add eax, 0xbc
push eax
push ecx
push ebx
call fcn.00524660
mov eax, dword [ebp - 0x130]
add esp, 0x10
mov eax, dword [eax]
cmp eax, 2
je 0x55454c
cmp eax, 0x17
jne 0x5545b4
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0xc], 1
jne 0x5545b4
cmp byte [ebx + 0x6e0], 0
mov byte [ebp - 0x115], 1
je 0x5545bb
push 4
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 1
push eax
push 1
push 6
push dword [edi]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x5545bb
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00536820
push eax
push str.Could_not_set_TCP_NODELAY:__s
push ebx
call fcn.00524660
add esp, 0x18
jmp 0x5545bb
mov byte [ebp - 0x115], 0
mov eax, dword [edi]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x7232ac]
mov dword [ebp - 0x124], 0x4020
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], 4
test eax, eax
jne 0x554612
push 3
push 2
push eax
push eax
push 6
call fcn.00559910
add esp, 0x14
test al, al
je 0x554606
mov dword [0x7232ac], 2
jmp 0x55466c
mov dword [0x7232ac], 1
jmp 0x554617
cmp eax, 2
je 0x55466c
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x1001
push 0xffff
push dword [ebp - 0x11c]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x55464d
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x124]
jg 0x55466c
push 4
lea eax, [ebp - 0x124]
push eax
push 0x1001
push 0xffff
push dword [ebp - 0x11c]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp byte [ebp - 0x115], 0
je 0x55475b
cmp byte [ebx + 0x6e6], 0
je 0x55475b
mov eax, dword [edi]
lea ecx, [ebp - 0x124]
push 4
push ecx
push 8
push 0xffff
push eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x5546cc
push dword [ebp - 0x128]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d
push ebx
call fcn.00524660
add esp, 0xc
jmp 0x55475b
push dword [ebx + 0x684]
mov dword [ebp - 0x110], 1
call fcn.00526430
push dword [ebx + 0x688]
imul eax, eax, 0x3e8
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x10c], eax
call fcn.00526430
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 - 0x128]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x55475b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 0x128]
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
push ebx
call fcn.00524660
add esp, 0x10
cmp dword [ebx + 0x1ac], esi
je 0x5547a0
push 1
push ebx
call fcn.00512990
mov eax, dword [ebx + 0x1ac]
push 0
push dword [edi]
push dword [ebx + 0x1b0]
call eax
push 0
push ebx
mov dword [ebp - 0x12c], eax
call fcn.00512990
mov eax, dword [ebp - 0x12c]
add esp, 0x1c
cmp eax, 2
jne 0x5547f1
mov byte [ebp - 0x116], 1
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
cmp eax, 2
je 0x5547b2
cmp eax, 0x17
jne 0x5547ff
mov eax, dword [ebp - 0x134]
add eax, 0x18
push eax
call fcn.005604b0
push eax
mov eax, dword [ebp - 0x130]
push dword [eax]
mov eax, dword [ebp - 0x120]
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.00553d90
mov esi, eax
add esp, 0x18
test esi, esi
je 0x5547ff
cmp esi, 1
jne 0x55480b
lea esi, [eax + 6]
jmp 0x554485
test eax, eax
je 0x5547a0
mov esi, 0x2a
jmp 0x554485
push 1
push dword [edi]
call fcn.00560480
add esp, 8
test esi, esi
jne 0x554485
cmp byte [ebp - 0x116], 0
je 0x55486e
push ebx
push dword [ebp - 0x120]
call fcn.00554960
lea eax, [ebp - 0x114]
push eax
call fcn.00518250
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x134]
movups xmmword [eax + 0x138], xmm0
mov eax, dword [ebp - 0x120]
mov byte [eax + 0x14], 1
jmp 0x554874
call fcn.00512720
mov eax, dword [ebp - 0x11c]
add esp, 8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
mov eax, dword [ebp - 0x120]
push dword [edi]
push esi
push str.cf_socket_open_______d__fd_d
push eax
push ebx
call fcn.005246e0
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret