Function at 0x100555c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push esi
push edi
push eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x16], 0
call fcn.10013520
lea ebx, [esi + 0x98]
push ebx
movdqu xmm0, xmmword [eax]
lea eax, [esi + 8]
push eax
movdqu xmmword [esi + 0x128], xmm0
mov esi, dword [esp + 0x44]
push esi
mov dword [esp + 0x24], eax
call fcn.10055f30
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1005575e
push esi
push ebp
call fcn.10055d60
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005575e
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x17
jne 0x1005564e
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push eax
push 0x1b
push 0x29
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, str.__Trying___s_:_d...
jmp 0x10055653
mov ecx, str.__Trying__s:_d...
mov eax, dword [esp + 0x18]
push dword [eax + 0xec]
add eax, 0xbc
push eax
push ecx
push esi
call fcn.10020260
mov eax, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [eax]
cmp eax, 2
je 0x1005567d
cmp eax, 0x17
jne 0x1005568e
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 1
jne 0x1005568e
mov eax, 1
jmp 0x10055690
xor eax, eax
test eax, eax
setne al
mov byte [esp + 0x13], al
test al, al
je 0x100556b1
cmp byte [esi + 0x6d0], 0
je 0x100556b1
push dword [ebx]
push esi
call fcn.100560b0
add esp, 8
push dword [ebx]
call fcn.10054df0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x100556d6
cmp byte [esi + 0x6d7], 0
je 0x100556d6
push dword [ebx]
push esi
call fcn.10055fc0
add esp, 8
cmp dword [esi + 0x1ac], 0
je 0x1005571a
push 1
push esi
call fcn.1000dc80
mov eax, dword [esi + 0x1ac]
push 0
push dword [ebx]
push dword [esi + 0x1b0]
call eax
push 0
push esi
mov dword [esp + 0x38], eax
call fcn.1000dc80
mov eax, dword [esp + 0x38]
add esp, 0x1c
cmp eax, 2
jne 0x100557ab
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, 2
je 0x1005572e
cmp eax, 0x17
jne 0x100557ba
mov eax, dword [esp + 0x18]
add eax, 0x18
push eax
call fcn.10061a10
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [ebx]
push dword [ebp + 0xc]
push esi
call fcn.10054fa0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x100557ba
cmp edi, 1
jne 0x100557c6
lea edi, [eax + 6]
mov ebp, dword [ebx]
cmp ebp, 0xffffffff
je 0x10055810
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10055803
cmp dword [eax + 0x30], 0
push ebp
push esi
je 0x100557fb
call fcn.1000da10
push 1
push esi
call fcn.1000dc80
mov eax, dword [esp + 0x2c]
push ebp
push dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call eax
push 0
push esi
call fcn.1000dc80
add esp, 0x20
jmp 0x1005580a
test eax, eax
je 0x1005571a
mov edi, 0x2a
jmp 0x1005575e
push 1
push dword [ebx]
call fcn.1005cc90
add esp, 8
test edi, edi
jne 0x1005575e
cmp byte [esp + 0x12], 0
je 0x10055814
push esi
push ebp
call fcn.10055c10
lea eax, [esp + 0x28]
push eax
call fcn.10013520
add esp, 0xc
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0x18]
movdqu xmmword [eax + 0x138], xmm0
mov byte [ebp + 0x14], 1
jmp 0x10055814
call fcn.1000da10
add esp, 8
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0xffffffff
mov ebp, dword [esp + 0x34]
push dword [ebx]
push edi
push str.cf_socket_open_______d__fd_d
push ebp
push esi
call fcn.100202f0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret