Function at 0x1401da360
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rbx, rcx
mov rdi, rdx
lea rdx, str.I2CP
mov r12d, r8d
lea rsi, [rsp + 0x80]
mov ebp, r9d
mov rcx, rsi
call fcn.140395a40
mov rdx, rsi
mov rcx, rbx
call fcn.1401d0440
mov rcx, rsi
xor r14d, r14d
xor r13d, r13d
xor r15d, r15d
call fcn.1403907e0
mov byte [rbx + 0x50], bpl
xor ebp, ebp
xor r10d, r10d
lea rax, fcn.1401da9e0
xor r11d, r11d
mov rdi, qword [rdi]
mov r8, rsi
mov qword [rbx], rax
lea rax, [rbx + 0x1060]
mov ecx, 0x17
mov qword [rbx + 0x1080], rbp
lea rbp, [rsp + 0x60]
mov rdx, rdi
mov qword [rbx + 0x1070], rax
mov qword [rbx + 0x1078], rax
lea rax, [rbx + 0x1088]
mov dword [rbx + 0x1060], r10d
mov qword [rbx + 0x1068], r11
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov r9, rax
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x30], rax
call fcn.140287750
test eax, eax
jle 0x1401da457
mov r14d, dword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x80]
jmp 0x1401da45d
xor r14d, r14d
xorps xmm6, xmm6
mov rcx, rbp
call fcn.1402ee430
test al, al
je 0x1401da4a9
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov ecx, 2
xor r13d, r13d
call fcn.140287750
test eax, eax
jle 0x1401da490
mov r13d, dword [rsp + 0x80]
mov rcx, rbp
xor r14d, r14d
xorps xmm6, xmm6
call fcn.1402ee430
test al, al
cmovne r13d, r14d
xor r15d, r15d
jmp 0x1401da4b2
xor r13d, r13d
mov r15d, 1
lea rax, [0x140440f18]
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x90], 0x70
mov qword [rsp + 0x80], rax
lea rax, [0x140440f53]
mov qword [rsp + 0x88], rax
call fcn.140287cf0
xor eax, eax
mov ecx, 7
mov rdi, rbp
test r15d, r15d
rep stosd dword [rdi], eax
mov rax, qword [sym.imp.WSOCK32.dll_htons]
movzx ecx, r12w
jne 0x1401da528
mov word [rsp + 0x60], 2
call rax
mov ecx, r13d
mov word [rsp + 0x62], ax
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x64], eax
jmp 0x1401da548
mov word [rsp + 0x60], 0x17
call rax
xor r9d, r9d
mov dword [rsp + 0x78], r14d
mov word [rsp + 0x62], ax
mov dword [rsp + 0x64], r9d
movups xmmword [rsp + 0x68], xmm6
mov rcx, qword [rsp + 0x38]
lea rdx, [rbx + 0x38]
call fcn.14028cc80
xor r8d, r8d
xor ecx, ecx
mov r13d, 0x17
mov eax, 2
cmp word [rsp + 0x60], 2
mov r15, qword [rbx + 0x1088]
mov dword [rsp + 0x48], ecx
cmove r13d, eax
cmp qword [rbx + 0x1090], 0xffffffffffffffff
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r8
je 0x1401da5bd
mov rcx, qword [rsp + 0x30]
mov edx, 1
call fcn.1402c5f00
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
jmp 0x1401da665
mov r9, qword [rsp + 0x30]
mov r8d, 6
mov edx, 1
mov ecx, r13d
call fcn.140287510
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
mov r12, rax
lea r14, [rsp + 0x40]
je 0x1401da643
mov rax, qword [r15 + 0x30]
mov r9, qword [rsp + 0x30]
mov r8, r12
mov rcx, rsi
mov rdx, qword [rax + 0x28]
call fcn.1402a1200
mov rcx, rsi
call fcn.1402ee430
test al, al
jne 0x1401da643
mov qword [rbx + 0x1090], r12
lea rcx, [rbx + 0x10a0]
xor edx, edx
mov byte [rbx + 0x1098], 0x10
mov qword [rsp + 0x40], 0xffffffffffffffff
call fcn.140356410
xor edx, edx
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rdx
movups xmm1, xmmword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, r14
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm1
call fcn.14028bec0
mov rcx, rsi
call fcn.1402ee430
test al, al
jne 0x1401da6c8
lea rdi, [rsp + 0x82]
mov ecx, 0x1a
mov dword [rbx + 0x10c8], r13d
rep stosb byte [rdi], al
mov byte [rbx + 0x10cc], 0
mov word [rsp + 0x80], 2
movups xmm3, xmmword [rsp + 0x8c]
movaps xmm2, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x10d0], xmm2
movups xmmword [rbx + 0x10dc], xmm3
jmp 0x1401da6c8
mov rdx, qword [rsp + 0x30]
lea r8, [0x14050b5c0]
lea r13, [0x140440f60]
lea r12, [0x140440fa1]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea rdx, [0x140440fd0]
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], 0x126
call fcn.140287cc0
mov rcx, qword [rbx + 0x1090]
mov dword [rsp + 0x80], 1
cmp rcx, 0xffffffffffffffff
jne 0x1401da743
mov rcx, qword [rsp + 0x30]
mov edx, 0x2719
call fcn.1402c6290
jmp 0x1401da770
mov dword [rsp + 0x20], 4
mov r9, rsi
mov r8d, 4
mov edx, 0xffff
call qword [sym.imp.WSOCK32.dll_setsockopt]
xor edx, edx
mov rcx, qword [rsp + 0x30]
test eax, eax
setne dl
call fcn.140285ad0
mov rdx, qword [rsp + 0x30]
lea r8, [0x14050b560]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea rdx, [0x140440fd5]
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], 0x12b
call fcn.140287cc0
mov rcx, qword [rbx + 0x1090]
cmp word [rsp + 0x60], 2
mov r8d, 0x1c
mov eax, 0x10
cmove r8, rax
cmp rcx, 0xffffffffffffffff
jne 0x1401da7e7
mov rcx, qword [rsp + 0x30]
mov edx, 0x2719
call fcn.1402c6290
jmp 0x1401da801
mov rdx, rbp
call qword [sym.imp.WSOCK32.dll_bind]
xor edx, edx
mov rcx, qword [rsp + 0x30]
test eax, eax
setne dl
call fcn.140285ad0
mov rdx, qword [rsp + 0x30]
lea r8, [0x14050b5a0]
mov rcx, rdx
call fcn.1402c4e30
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea rdx, [0x140440fe0]
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], 0x12e
call fcn.140287cc0
mov rcx, qword [rbx + 0x1090]
cmp rcx, 0xffffffffffffffff
jne 0x1401da863
mov rcx, qword [rsp + 0x30]
mov edx, 0x2719
call fcn.1402c6290
jmp 0x1401da87f
mov edx, 0x7fffffff
call qword [sym.imp.WSOCK32.dll_listen]
xor edx, edx
mov rcx, qword [rsp + 0x30]
test eax, eax
setne dl
call fcn.140285ad0
mov rcx, qword [rsp + 0x30]
mov r8, rsi
lea rdx, [0x140440fe5]
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], 0x131
call fcn.140287cc0
lea rdx, [rbx + 0x58]
xor eax, eax
mov ecx, 0x400
mov rdi, rdx
rep stosd dword [rdi], eax
lea rax, [0x1401df0a0]
mov qword [rbx + 0x258], rax
lea rax, [0x1401dfc80]
mov qword [rbx + 0x68], rax
lea rax, [0x1401e00f0]
mov qword [rbx + 0x88], rax
lea rax, [0x1401e02a0]
mov qword [rbx + 0x78], rax
lea rax, [0x1401e0090]
mov qword [rbx + 0x98], rax
lea rax, [0x1401e0110]
mov qword [rbx + 0x2e8], rax
lea rax, [0x1401df9a0]
mov qword [rbx + 0xa8], rax
lea rax, [0x1401e0530]
mov qword [rbx + 0x298], rax
lea rax, [0x1401df540]
mov qword [rbx + 0x2b8], rax
lea rax, [0x1401df300]
mov qword [rbx + 0x278], rax
lea rax, [0x1401e0240]
mov qword [rbx + 0xd8], rax
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret