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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r9
mov rsi, r8
mov r15, rdx
mov r13, rcx
mov rax, qword [0x1803b6038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x78]
mov qword [r8], rax
lea r9, [rsp + 0x70]
mov qword [r9], rax
mov rax, qword [rdx]
mov rax, qword [rax + 0x10]
mov rcx, rdx
mov rdx, r13
call qword [0x1803f5008]
mov ebp, 3
test al, al
je 0x1800bf0c5
cmp qword [rsp + 0x70], 0
je 0x1800bf086
cmp dword [r13 + 0x1c], 0
jne 0x1800bf0f0
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rax*8]
add rcx, 0x10
test rbx, rbx
je 0x1800bf0eb
mov r8, qword [rbx]
mov qword [rbx], rcx
test rdx, rdx
je 0x1800bf0b7
mov qword [rdx], 0
mov ebp, 8
cmp r8, rcx
jae 0x1800bf14e
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1801e6610
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r8d, r8d
jmp 0x1800bf0ab
cmp dword [r13 + 0x18], 0
je 0x1800bf086
lea r14, [r13 + 0x20]
mov rcx, r14
call fcn.1800fddf0
test al, al
jne 0x1800bf390
mov rcx, r14
call fcn.1801743e0
mov ebp, 7
test al, al
jne 0x1800bf086
jmp 0x1800bf0c5
xor bpl, 1
movzx eax, bpl
lea ebp, [rax + rax*2]
cmp qword [rsp + 0x88], 0
je 0x1800bf0c5
lea rcx, [rsp + 0x88]
call fcn.1800e2a00
jmp 0x1800bf0c5
xor ebp, ebp
jmp 0x1800bf12d
mov dword [rsi], 0x10
mov ecx, dword [r15 + 0xc]
mov dword [rsi + 4], ecx
mov dword [rsi + 8], eax
mov word [rsi + 0xd], 0
mov byte [rsi + 0xf], 0
lea rcx, [r13 + 0x20]
mov qword [rsp + 0x40], rcx
call fcn.1800fddf0
test al, al
je 0x1800bf18c
cmp dword [r13 + 0x18], 0
je 0x1800bf187
mov r14b, byte [r13 + 0x42]
jmp 0x1800bf18f
mov r14b, 1
jmp 0x1800bf18f
xor r14d, r14d
mov byte [rsi + 0xc], r14b
mov r8, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
movaps xmm0, xmmword [0x1803467d0]
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x88], 0
mov rax, r8
shr rax, 0x3c
jne 0x1800bf38b
add rsi, 0x10
lea rdi, [rsi + r8*8]
lea r12, [rsp + 0x88]
mov rcx, r12
mov qword [rsp + 0x48], r8
call fcn.1800e2aa0
mov rdx, qword [r12]
mov rax, rdx
shr rax, 1
lea rcx, [rsp + 0x90]
test dl, 1
je 0x1800bf209
mov rcx, qword [rsp + 0x90]
lea r9, [rsp + 0x60]
mov qword [r9], rax
mov qword [r9 + 8], rcx
lea r8, [rsp + 0x50]
mov qword [r8], rbx
mov qword [r8 + 8], rdi
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
mov rcx, r15
mov rdx, r13
call qword [0x1803f5008]
mov ebp, 3
test al, al
je 0x1800bf12d
cmp qword [rsp + 0x70], 0
je 0x1800bf14a
mov bpl, 1
mov r15d, 8
xor ebx, ebx
mov dword [rsp + 0x3c], r14d
jmp 0x1800bf2c3
call fcn.18010a990
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, r13
mov r8, r12
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne al
je 0x1800bf2a6
mov rcx, qword [rsp + 0x80]
mov qword [rsi + rbx*8], rcx
mov r13, r14
mov r14d, dword [rsp + 0x3c]
and bpl, al
inc rbx
add r15, 0x10
cmp rbx, qword [rsp + 0x70]
jae 0x1800bf122
cmp qword [rsp + 0x48], rbx
je 0x1800bf38d
mov rax, qword [rsp + 0x88]
mov rcx, rax
shr rcx, 1
cmp rcx, rbx
jbe 0x1800bf38b
lea rdi, [rsp + 0x90]
test al, 1
je 0x1800bf2f9
mov rdi, qword [rsp + 0x90]
mov r12, qword [rdi + r15]
lea rax, [r12 + 1]
cmp rax, 1
jbe 0x1800bf3a0
test r14b, r14b
je 0x1800bf36a
mov r14, r13
cmp byte [r13 + 0x43], 0
je 0x1800bf323
mov rcx, r12
call sym.msedge_elf.dll_OQS_destroy
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x40]
call fcn.1801743f0
mov r12, rax
mov dword [rdi + r15 - 8], 0
mov r13, qword [rdi + r15]
mov qword [rdi + r15], 0
lea rax, [r13 + 1]
cmp rax, 2
jb 0x1800bf264
jmp 0x1800bf25f
mov dword [rdi + r15 - 8], 0
mov qword [rdi + r15], 0
call fcn.18010a990
mov qword [rsi + rbx*8], r12
mov al, 1
jmp 0x1800bf2ae
ud2
int3
cmp byte [r13 + 0x42], 0
jne 0x1800bf086
jmp 0x1800bf10b
int3