Function at 0x140184a60
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, qword [rcx + 0x10]
mov r15, rcx
lea rcx, [rsp + 0x30]
mov rbx, rdx
xor r13b, r13b
call fcn.140141ba0
lea rsi, [r14 + 0x98]
mov rcx, rbx
mov r8, rsi
lea rdx, [r14 + 8]
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x148], xmm0
call fcn.140185450
mov edi, eax
test eax, eax
jne 0x140184bf7
mov rdx, rbx
mov rcx, r15
call fcn.140185260
mov edi, eax
test eax, eax
jne 0x140184bf7
cmp dword [r14 + 8], 0x17
jne 0x140184b04
mov rcx, qword [rsi]
lea r9, [rsp + 0x70]
lea edx, [rax + 0x29]
mov dword [rsp + 0x70], eax
lea r8d, [rax + 0x1b]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rdx, str.__Trying___s_:_d...
jmp 0x140184b0b
lea rdx, str.__Trying__s:_d...
mov r9d, dword [r14 + 0x110]
lea r8, [r14 + 0xe0]
mov rcx, rbx
call fcn.14014e800
mov eax, dword [r14 + 8]
cmp eax, 2
je 0x140184b2f
cmp eax, 0x17
jne 0x140184b3b
cmp dword [r14 + 0xc], 1
jne 0x140184b3b
mov bpl, 1
jmp 0x140184b3e
xor bpl, bpl
test bpl, bpl
je 0x140184b57
cmp byte [rbx + 0xa9c], 0
je 0x140184b57
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.140185610
mov rcx, qword [rsi]
call fcn.140184240
test bpl, bpl
je 0x140184b78
cmp byte [rbx + 0xaa3], 0
je 0x140184b78
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.1401854f0
cmp qword [rbx + 0x270], 0
je 0x140184bb7
mov dl, 1
mov rcx, rbx
call fcn.14013c610
mov rdx, qword [rsi]
xor r8d, r8d
mov rcx, qword [rbx + 0x278]
call qword [rbx + 0x270]
xor edx, edx
mov rcx, rbx
mov ebp, eax
call fcn.14013c610
cmp ebp, 2
jne 0x140184c44
mov r13b, 1
mov eax, dword [r14 + 8]
cmp eax, 2
je 0x140184bc9
cmp eax, 0x17
jne 0x140184c53
lea rcx, [r14 + 0x18]
call fcn.140191060
mov r9d, dword [r14 + 8]
mov rcx, rbx
mov r8, qword [rsi]
mov rdx, qword [r15 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.140184400
mov edi, eax
test eax, eax
je 0x140184c53
cmp eax, 1
jne 0x140184c60
lea edi, [rax + 6]
mov rbp, qword [rsi]
cmp rbp, 0xffffffffffffffff
je 0x140184ca5
mov r14, qword [r15 + 0x18]
test r14, r14
je 0x140184c95
cmp qword [r14 + 0x38], 0
mov rdx, rbp
mov rcx, rbx
je 0x140184c90
call fcn.14013c2e0
mov dl, 1
mov rcx, rbx
call fcn.14013c610
mov rcx, qword [r14 + 0x40]
mov rdx, rbp
call qword [r14 + gethostname]
xor edx, edx
mov rcx, rbx
call fcn.14013c610
jmp 0x140184c9e
test ebp, ebp
je 0x140184bb7
mov edi, Ordinal_45
jmp 0x140184bf7
mov rcx, qword [rsi]
mov edx, 1
call fcn.14018bcc0
test edi, edi
jne 0x140184bf7
test r13b, r13b
je 0x140184ca5
mov rdx, rbx
mov rcx, r15
call fcn.140185110
lea rcx, [rsp + 0x30]
call fcn.140141ba0
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x158], xmm0
mov byte [r15 + 0x24], 1
jmp 0x140184ca5
call fcn.14013c2e0
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rsi], 0xffffffffffffffff
mov rax, qword [rsi]
lea r8, str.cf_socket_open_______d__fd_qd
mov r9d, edi
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rbx
call fcn.14014e8a0
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret