Function at 0x18001e480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180066008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r13, rdx
mov rbp, rcx
mov rcx, qword [0x180069238]
mov ebx, pe_nt_image_headers64
mov r8d, ebx
xor edx, edx
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x18001e4f3
test byte [0x180067c70], 2
je 0x18001e4e9
mov r9d, ebx
lea r8, str.QUIC_BINDING
call fcn.180041870
mov ebx, 0x8007000e
jmp 0x18001e731
and dword [rax + 0x14], 0
mov eax, dword [rbp + 0x10]
shr eax, 1
not al
xor al, byte [rdi + 0x10]
and al, 1
xor byte [rdi + 0x10], al
mov edx, dword [rbp + 0x10]
shr edx, 1
xor dl, byte [rdi + 0x10]
and dl, 2
xor dl, byte [rdi + 0x10]
mov byte [rdi + 0x10], dl
mov rax, qword [rbp + 8]
neg rax
sbb cl, cl
and dword [rdi + 0x100], 0
and cl, 4
and dl, 0xfb
or cl, dl
mov byte [rdi + 0x10], cl
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea r14, [rdi + 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [rdi + 0x30]
xor edx, edx
lea rcx, [rdi + 0x40]
mov qword [rax + 8], rax
mov qword [rax], rax
lea r8d, [rdx + 0x40]
call fcn.180029d60
lea rcx, [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea rsi, [rdi + 0xa8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
call fcn.180022390
test al, al
jne 0x18001e594
mov ebx, 0x8007000e
jmp 0x18001e685
lea rax, [rdi + 0xc8]
mov ecx, 4
lea rbx, [rdi + 0x18]
mov qword [rax + 8], rax
mov rdx, rbx
mov qword [rax], rax
mov r12b, 1
call fcn.180041564
mov eax, dword [rbx]
xor r14b, r14b
and eax, 0xfafafafa
or eax, 0xa0a0a0a
mov dword [rbx], eax
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x1c], eax
call qword [sym.imp.IPHLPAPI.DLL_GetCurrentThreadCompartmentId]
mov ecx, dword [rbp + 0x20]
mov r15d, eax
cmp eax, ecx
je 0x18001e622
call qword [sym.imp.IPHLPAPI.DLL_SetCurrentThreadCompartmentId]
mov ebx, eax
test eax, eax
jle 0x18001e5f2
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x18001e61f
test byte [0x180067c74], 0x40
je 0x18001e67e
lea rax, str.Set_current_compartment_Id
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [0x180056c68]
call fcn.180042260
jmp 0x18001e67e
mov r14b, r12b
mov qword [rbp + 0x18], rdi
lea rsi, [rdi + 0x20]
mov rcx, qword [0x180067d98]
mov r8, rsi
mov rdx, rbp
call fcn.18001e760
mov ebx, eax
test r14b, r14b
je 0x18001e64c
mov ecx, r15d
call qword [sym.imp.IPHLPAPI.DLL_SetCurrentThreadCompartmentId]
test ebx, ebx
jns 0x18001e6b8
test byte [0x180067c74], 0x40
je 0x18001e677
lea rax, str.Create_datapath_binding
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [0x180056c68]
call fcn.180042260
lea rsi, [rdi + 0xa8]
lea r14, [rdi + 0x80]
lea rcx, [rdi + 0x40]
call fcn.180024730
test r12b, r12b
je 0x18001e69b
mov rcx, rsi
call fcn.1800247b8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [0x180069238]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18001e731
test byte [0x180067c74], 8
mov rax, qword [rsi]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm0
movsd xmm1, qword [rax + 0x20]
movsd qword [rsp + 0x78], xmm1
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x80], eax
mov rax, qword [rsi]
movups xmm0, xmmword [rax + 0x2c]
movups xmmword [rsp + 0x48], xmm0
movsd xmm1, qword [rax + 0x3c]
movsd qword [rsp + 0x58], xmm1
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x60], eax
je 0x18001e72b
mov r9, qword [rsi]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdx, [0x180056cb8]
lea rax, [rsp + 0x68]
mov byte [rsp + 0x30], 0x1c
mov r8, rdi
mov qword [rsp + 0x28], rax
call fcn.180042138
mov qword [r13], rdi
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180028c10
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret