Function at 0x140075230
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1402ccee0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r12d, r12d
mov r15, r9
cmp qword [rcx + 0x60], 0xffffffffffffffff
mov r14, r8
mov rbx, rcx
mov ebp, r12d
lea r13d, [r12 + 1]
mov dword [rsp + 0x30], r13d
jne 0x140075480
lea rdi, [rcx + 0x70]
xor eax, eax
mov qword [rdi], rax
lea r8d, [r12 + 0x38]
mov qword [rdi + 8], rax
add rcx, 0x8c
mov qword [rdi + 0x10], rax
xor edx, edx
mov dword [rdi + 0x18], eax
call fcn.1401a72b0
lea esi, [r12 + 0x10]
lea eax, [rsi + 0xc]
cmp word [r14], r13w
jne 0x1400752b2
mov word [rdi], r13w
jmp 0x1400752cc
cmp word [r14], 0x17
mov r9, rsi
mov r8, r14
mov rdx, rax
cmove r9, rax
mov rcx, rdi
call section..text
mov rax, qword [rsp + 0xc0]
movsxd rdx, dword [rbx + 0x26c]
mov rcx, qword [rbx + 0x260]
mov qword [rbx + 0x238], rax
mov qword [rbx + 0x68], r12
mov dword [rbx + 0x24c], r12d
mov qword [rbx + 0x218], r15
call fcn.1401b3804
test rax, rax
je 0x1400754c3
mov qword [rbx + 0x260], rax
mov eax, dword [rbx + 0x26c]
mov dword [rbx + 0x268], eax
cmp word [rdi], r13w
je 0x140075376
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
movzx eax, word [rbx + 0xc4]
test ax, ax
jne 0x140075347
movzx eax, word [r14]
lea rbp, [rsp + 0x38]
mov word [rsp + 0x38], ax
cmp word [rdi], r13w
je 0x140075376
mov r8d, 6
mov edx, r13d
mov rcx, rbp
call fcn.14007c154
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x140075391
jmp 0x140075509
xor r8d, r8d
mov edx, r13d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x60], rax
test eax, eax
js 0x14007554f
mov qword [rbx + 0x250], r12
mov dword [rbx + 0x29c], r12d
mov dword [rbx + 0x258], r12d
cmp word [rdi], r13w
je 0x1400753d6
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140075595
mov rcx, qword [rbx + 0x60]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea rdx, [rbx + 0xc4]
cmp word [rdx], r12w
je 0x140075465
cmp word [rdi], r13w
je 0x14007541b
cmp word [rdx], 0x17
mov rcx, qword [rbx + 0x60]
mov eax, 0x1c
cmove esi, eax
mov r8d, esi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140075475
or dword [rbx + 0x250], 0xffffffff
lea r9, [fcn.140075094]
mov rcx, qword [rbx + 0x230]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r12
call fcn.14007d3b4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a5d00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp word [rdi], r13w
je 0x14007541b
cmp word [r14], 0x17
mov rdx, r14
jmp 0x140075401
mov rcx, qword [rbx + 0x18]
call fcn.140079768
jmp 0x140075440
mov eax, dword [rcx + 0x60]
lea rdx, str...microstackILibAsyncSocket.c
mov ebx, 0xfd
mov dword [rsp + 0x20], eax
mov edi, 0x360
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007f3d4
mov r8d, edi
lea rdx, str...microstackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT2__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.1401a83f8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibAsyncSocket.c
mov ebx, 0x37c
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14007f3d4
mov r8d, ebx
lea rdx, str...microstackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, edi
call fcn.1401a83f8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfd
lea rdx, str...microstackILibAsyncSocket.c
mov edi, 0x398
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007f3d4
mov r8d, edi
lea rdx, str...microstackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.1401a83f8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfd
lea rdx, str...microstackILibAsyncSocket.c
mov edi, 0x39c
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007f3d4
mov r8d, edi
lea rdx, str...microstackILibAsyncSocket.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.1401a83f8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x3aa
mov dword [rsp + 0x20], r12d
mov r9d, eax
lea rdx, str...microstackILibAsyncSocket.c
xor ecx, ecx
call fcn.14007f3d4
mov ecx, 0xfd
call fcn.1401a83f8
int3