Function at 0x1400b3840
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, r8
mov rdi, rcx
dec edx
cmp edx, 0xc8
ja case.0x1400b3898.9
movsxd rax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xb4244]
mov ecx, dword [rdx + rax*4 + 0xb41b8]
add rcx, rdx
jmp rcx
cmp dword [r8], 0
setne al
mov byte [rdi + 0x82d], al
jmp case.0x1400b3898.9
mov eax, 1
mov dword [rdi + 0x870], eax
mov eax, dword [r8]
mov dword [rdi + 0x874], eax
mov eax, dword [r8 + 8]
mov dword [rdi + 0x878], eax
mov eax, dword [r8 + 0x10]
mov dword [rdi + 0x87c], eax
jmp case.0x1400b3898.9
mov rax, qword [r8]
xor esi, esi
mov qword [rbp - 0x38], rsi
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400b38f8
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
call qword [rax]
mov qword [rbp - 0x38], rax
lea rdx, [rdi + 0x888]
lea rcx, [rbp - 0x70]
call fcn.1400b4db0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je case.0x1400b3898.9
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp case.0x1400b3898.9
mov rax, qword [r8]
xor esi, esi
mov ecx, esi
mov qword [rbp - 0x38], rcx
mov r8, qword [rax + 0x38]
test r8, r8
je 0x1400b3951
mov rax, qword [r8]
lea rdx, [rbp - 0x70]
mov rcx, r8
call qword [rax]
mov rcx, rax
mov qword [rbp - 0x38], rax
add rdi, 0x908
test rcx, rcx
je 0x1400b3a16
lea rax, [rbp - 0x30]
mov qword [rsp + 0x70], rax
mov qword [rbp + 8], rsi
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [rax]
mov qword [rbp + 8], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400a9f40
mov r14, rax
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x48], rsi
mov ecx, Ordinal_73
call fcn.14025e2ec
mov rbx, rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_c3d1049d8fbee6b490258f5ac09fa42d___void__int__char_const____ptr64_.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov rdx, r14
call fcn.1400a9f40
mov qword [rbp + 0x48], rbx
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1400b39d5
mov rax, qword [rcx]
cmp rcx, r14
setne dl
call qword [rax + 0x20]
mov qword [r14 + 0x38], rsi
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1400b4db0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400b39fb
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400b3a32
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1400b3a32
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400b3a36
mov rax, qword [r8]
cmp r8, rdi
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rdi + 0x38], rsi
mov rcx, qword [rbp - 0x38]
jmp 0x1400b390c
lea rcx, [rdi + 0x908]
mov rdx, qword [r8]
call fcn.1400abce0
jmp case.0x1400b3898.9
cmp dword [r8], 0
setne al
mov byte [rdi + 0x880], al
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0xf4240
mov qword [rdi + 0x810], rcx
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0x3e8
mov qword [rdi + 0x810], rcx
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0xf4240
mov qword [rdi + 0x818], rcx
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0x3e8
mov qword [rdi + 0x818], rcx
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0xf4240
mov qword [rdi + 0x820], rcx
jmp case.0x1400b3898.9
movsxd rax, dword [r8]
imul rcx, rax, 0x3e8
mov qword [rdi + 0x820], rcx
jmp case.0x1400b3898.9
mov eax, dword [r8]
mov dword [rdi + 0x828], eax
jmp case.0x1400b3898.9
mov byte [rdi + 0x82c], 1
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov eax, dword [r8 + 8]
mov dword [rcx + 0x70], eax
mov eax, dword [r8 + 0x10]
mov dword [rcx + 0x74], eax
mov dword [rsp + 0x70], 4
add r8, 0x18
mov edx, dword [r8]
cmp edx, 1
jge 0x1400b3b62
mov eax, 1
mov dword [rcx + 0x78], eax
mov eax, dword [rbx + 0x20]
mov dword [rcx + 0x7c], eax
jmp case.0x1400b3898.9
lea rax, [rsp + 0x70]
cmp edx, 4
cmovle rax, r8
mov eax, dword [rax]
mov dword [rcx + 0x78], eax
mov eax, dword [rbx + 0x20]
mov dword [rcx + 0x7c], eax
jmp case.0x1400b3898.9
add rbx, 8
movsxd rcx, dword [rbx - 8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov dword [rsp + 0x70], 0x20
mov edx, dword [rbx]
test edx, edx
jns 0x1400b3bcc
xor esi, esi
mov dword [rcx + 0x80], esi
jmp case.0x1400b3898.9
lea rax, [rsp + 0x70]
cmp edx, 0x20
cmovle rax, rbx
mov esi, dword [rax]
mov dword [rcx + 0x80], esi
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov eax, dword [r8 + 8]
mov dword [rcx + 0x84], eax
jmp case.0x1400b3898.9
lea rcx, [rdi + 0x8c8]
mov rdx, qword [r8]
call fcn.1400abb50
jmp case.0x1400b3898.9
lea rcx, [rdi + 0x830]
mov rdx, qword [r8]
call fcn.1400abb50
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov rax, qword [r8 + 8]
lea rbx, [rcx + 0x88]
xor esi, esi
mov qword [rbp - 0x38], rsi
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400b3c9f
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
call qword [rax]
mov qword [rbp - 0x38], rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400b4db0
jmp 0x1400b3908
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov rdx, qword [r8 + 8]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x1400b3cf0
mov r8, rax
add rcx, 0xc8
call fcn.140079310
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
movzx eax, word [r8 + 8]
mov word [rcx + 0x3c], ax
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rdi, qword [rdx + rcx*8]
test rdi, rdi
je case.0x1400b3898.9
mov rdx, qword [r8 + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1400b3d82
mov r8, rax
lea rcx, [rdi + 0xc8]
call fcn.140079310
movzx eax, word [rbx + 0x10]
mov word [rdi + 0x3c], ax
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov rdx, qword [r8 + 8]
mov qword [rsp + 0x70], rdx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1400b3de5
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
call fcn.1400b3750
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rax, qword [rdx + rcx*8]
test rax, rax
je case.0x1400b3898.9
movzx ecx, word [r8 + 8]
test cx, cx
je case.0x1400b3898.9
cmp word [rax + 0x3e], cx
je case.0x1400b3898.9
mov word [rax + 0x3e], cx
or dword [rax + 0x38], 0x100000
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rdi, qword [rdx + rcx*8]
test rdi, rdi
je case.0x1400b3898.9
mov rcx, qword [r8 + 8]
mov qword [rsp + 0x70], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400b3ea1
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400b3750
movzx eax, word [rbx + 0x10]
test ax, ax
je case.0x1400b3898.9
cmp word [rdi + 0x3e], ax
je case.0x1400b3898.9
mov word [rdi + 0x3e], ax
or dword [rdi + 0x38], 0x100000
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov rdx, qword [r8 + 8]
test rdx, rdx
je case.0x1400b3898.9
xor r8d, r8d
add rcx, 0x140
call fcn.1400ad810
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rdi, qword [rdx + rcx*8]
test rdi, rdi
je case.0x1400b3898.9
mov rdx, qword [r8 + 8]
mov eax, dword [r8 + 0x10]
mov ecx, dword [rdi + 0x38]
bts ecx, 0x11
mov dword [rdi + 0x38], ecx
test eax, eax
je 0x1400b3f88
bts ecx, 0x12
mov dword [rdi + 0x38], ecx
test rdx, rdx
je 0x1400b3f9c
xor r8d, r8d
lea rcx, [rdi + 0x120]
call fcn.1400ad810
mov rcx, qword [rdi + 0x10]
call fcn.1400b6070
test al, al
je case.0x1400b3898.9
mov rcx, rdi
call fcn.1400b1c10
jmp case.0x1400b3898.9
movsxd rbx, dword [r8]
mov rcx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rcx
sar rax, 3
cmp rbx, rax
jae case.0x1400b3898.9
mov rbx, qword [rcx + rbx*8]
test rbx, rbx
je case.0x1400b3898.9
and dword [rbx + 0x38], 0xfff9ffff
mov rcx, qword [rbx + 0x10]
call fcn.1400b6070
test al, al
je case.0x1400b3898.9
mov rcx, qword [rbx + 0x10]
mov r8d, reloc.WS2_32.dll_listen
cmp word [rbx + 0x120], 2
jne 0x1400b403c
mov eax, dword [rbx + 0x144]
mov dword [rsp + 0x74], eax
mov eax, dword [rbx + 0x124]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x70]
xor edx, edx
jmp 0x1400b418b
mov eax, dword [rbx + 0x158]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbx + 0x128]
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, [rsp + 0x70]
mov edx, reloc.WLDAP32.dll_Ordinal_41
jmp 0x1400b418b
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov eax, dword [r8 + 8]
or dword [rcx + 0x38], eax
mov eax, dword [r8 + 0x10]
not eax
and dword [rcx + 0x38], eax
jmp case.0x1400b3898.9
movsxd rcx, dword [r8]
mov rdx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xc8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae case.0x1400b3898.9
mov rcx, qword [rdx + rcx*8]
test rcx, rcx
je case.0x1400b3898.9
mov eax, dword [r8 + 8]
mov dword [rcx + 0x184], eax
jmp case.0x1400b3898.9
mov rbx, qword [r8]
test rbx, rbx
je case.0x1400b3898.9
mov rcx, rbx
call fcn.1400b1be0
test al, al
je case.0x1400b3898.9
mov rax, qword [rbx + 0x10050]
cmp byte [rax + 0x38], 9
jne case.0x1400b3898.9
mov rcx, rbx
call fcn.1400add30
jmp case.0x1400b3898.9
mov rbx, qword [r8]
test rbx, rbx
je case.0x1400b3898.9
mov rcx, rbx
call fcn.1400b1be0
test al, al
je case.0x1400b3898.9
mov rax, qword [rbx + 0x10050]
cmp byte [rax + 0x38], 9
jne case.0x1400b3898.9
mov rcx, qword [rbx + 0x10]
call fcn.1400b5d40
mov byte [rbx + 0x10190], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
jmp case.0x1400b3898.9
mov rdi, qword [r8]
test rdi, rdi
je case.0x1400b3898.9
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je case.0x1400b3898.9
call fcn.1400b6070
test al, al
je case.0x1400b3898.9
mov rcx, qword [rdi + 0x10]
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x20], eax
mov r9, qword [rbx + 0x18]
mov r8d, dword [rbx + 0x10]
mov edx, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14025e930
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret