Function at 0x10007380
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 8]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 1], 0
call fcn.10045b70
lea ebx, [esi + 0x98]
push ebx
movdqu xmm0, xmmword [eax]
lea eax, [esi + 8]
push eax
movdqu xmmword [esi + 0x120], xmm0
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc], eax
call fcn.10007b00
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10007523
push esi
push dword [ebp + 8]
call fcn.10007990
mov edi, eax
add esp, 8
test edi, edi
jne 0x10007523
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x17
jne 0x10007418
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 0x1b
push 0x29
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 8]
push dword [eax + 0x118]
add eax, 0xbc
push eax
push str.__Trying___s_:_d...
jmp 0x1000742c
mov eax, dword [ebp - 8]
push dword [eax + 0x118]
add eax, 0xbc
push eax
push str.__Trying__s:_d...
push esi
call fcn.1000ff60
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax]
cmp eax, 2
je 0x10007444
cmp eax, 0x17
jne 0x10007454
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 1
jne 0x10007454
mov eax, 1
jmp 0x10007456
xor eax, eax
test eax, eax
setne al
mov byte [ebp - 2], al
test al, al
je 0x10007476
cmp byte [esi + 0x68e], 0
je 0x10007476
push dword [ebx]
push esi
call fcn.10007c60
add esp, 8
push dword [ebx]
call fcn.10006cf0
add esp, 4
cmp byte [ebp - 2], 0
je 0x1000749a
cmp byte [esi + 0x694], 0
je 0x1000749a
push dword [ebx]
push esi
call fcn.10007b90
add esp, 8
cmp dword [esi + 0x19c], 0
je 0x100074db
push 1
push esi
call fcn.1002ec20
mov eax, dword [esi + 0x19c]
push 0
push dword [ebx]
push dword [esi + 0x1a0]
call eax
push 0
push esi
mov dword [ebp - 0x10], eax
call fcn.1002ec20
mov eax, dword [ebp - 0x10]
add esp, 0x1c
cmp eax, 2
jne 0x10007576
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 2
je 0x100074ee
cmp eax, 0x17
jne 0x10007585
mov eax, dword [ebp - 8]
add eax, 0x18
push eax
call fcn.10026650
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [ebx]
push dword [eax + 0xc]
push esi
call fcn.10006e70
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10007585
cmp edi, 1
jne 0x100075a1
lea edi, [eax + 6]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x100075f4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x100075e7
cmp dword [ecx + 0xc], 0
push eax
push esi
je 0x100075dc
call fcn.1002e780
push 1
push esi
call fcn.1002ec20
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [eax + 0x10]
mov eax, dword [eax + 0xc]
call eax
push 0
push esi
call fcn.1002ec20
add esp, 0x20
jmp 0x100075ee
test eax, eax
je 0x100074db
mov edi, 0x2a
jmp 0x10007523
push 1
push dword [ebx]
call fcn.10032700
mov ecx, dword [ebp - 8]
add esp, 8
cmp dword [ecx + 0xc], 2
setne al
mov byte [ecx + 0x156], al
test edi, edi
jne 0x10007523
cmp byte [ebp - 1], 0
je 0x100075f4
push esi
push dword [ebp + 8]
call fcn.10007880
lea eax, [ebp - 0x20]
push eax
call fcn.10045b70
add esp, 0xc
movdqu xmm0, xmmword [eax]
mov eax, dword [ebp - 8]
movdqu xmmword [eax + 0x130], xmm0
mov eax, dword [ebp + 8]
mov byte [eax + 0x14], 1
jmp 0x100075f7
call fcn.1002e780
mov eax, dword [ebp - 0xc]
add esp, 8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0xffffffff
mov eax, dword [ebp + 8]
push dword [ebx]
push edi
push str.cf_socket_open_______d__fd_d
push eax
push esi
call fcn.1000ffa0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret