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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x30], rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdx
mov rax, qword [rcx + 0x60]
cmp qword [rax + 8], 0
je 0x14009f62d
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov rcx, qword [rcx]
call fcn.140096f10
mov rdx, rax
mov r9d, dword [r15 + 0x28]
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.14009ea10
mov dword [rsp + 0x20], eax
cmp eax, dword [r15 + 0x28]
jne 0x14009f65c
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14009f62d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f628
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f628
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
xor al, al
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400b3120
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r15 + 0x60]
mov r11, qword [rax]
mov qword [rsp + 0x28], r11
mov r9, qword [r11 + 8]
mov r13, r11
mov esi, 1
lea r14d, [rsi - 2]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
cmp byte [r9 + 0x19], 0
jne 0x14009f710
lea rax, [rsp + 0x50]
cmp r12, 8
cmovae rax, rdi
lea r10, [r9 + 0x20]
cmp qword [r9 + 0x38], 8
jb 0x14009f6ae
mov r10, qword [r9 + 0x20]
mov r11, qword [r9 + 0x30]
mov rcx, r11
cmp rbx, r11
cmovb rcx, rbx
test rcx, rcx
je 0x14009f6d7
sub r10, rax
movzx edx, word [r10 + rax]
cmp dx, word [rax]
jne 0x14009f6e1
add rax, 2
sub rcx, rsi
jne 0x14009f6c4
cmp r11, rbx
jae 0x14009f6e9
mov eax, r14d
jmp 0x14009f6f1
mov eax, esi
cmovb eax, r14d
jmp 0x14009f6f1
xor eax, eax
cmp r11, rbx
seta al
shr eax, 0x1f
test al, al
je 0x14009f6fe
mov r9, qword [r9 + 0x10]
jmp 0x14009f704
mov r13, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14009f692
mov r11, qword [rsp + 0x28]
cmp byte [r13 + 0x19], 0
jne 0x14009f785
lea rax, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x14009f726
mov rax, qword [r13 + 0x20]
lea r9, [rsp + 0x50]
cmp r12, 8
cmovae r9, rdi
mov r10, qword [r13 + 0x30]
mov rcx, rbx
cmp r10, rbx
cmovb rcx, r10
test rcx, rcx
je 0x14009f764
sub r9, rax
nop dword [rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14009f76e
add rax, 2
sub rcx, 1
jne 0x14009f750
cmp rbx, r10
jae 0x14009f774
mov esi, r14d
jmp 0x14009f77d
cmovb esi, r14d
jmp 0x14009f77d
xor esi, esi
cmp rbx, r10
seta sil
shr esi, 0x1f
test sil, sil
je 0x14009f788
mov r13, r11
mov rax, qword [r15 + 0x60]
cmp r13, qword [rax]
jne 0x14009f7e6
cmp r12, 8
jb 0x14009f7cc
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009f7c4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f904
mov rcx, rdi
call fcn.1400b3088
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
jmp 0x14009f62f
mov eax, dword [rsp + 0x20]
mov dword [r15 + 0x28], eax
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
call qword [rax]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14009f80d
mov rcx, rax
call fcn.14008f030
nop
lea rdx, [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14009e840
nop
test rbx, rbx
je 0x14009f83b
mov rcx, rbx
call fcn.14008f010
test eax, eax
jne 0x14009f83b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
nop
xor ebx, ebx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], bx
lea r8d, [rbx + 3]
lea rdx, [0x1401126d8]
lea rcx, [rsp + 0x70]
call fcn.140003cb0
nop
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + Ordinal_50]
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14009f8c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f8be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f8be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
test dword [r15 + 0x3c], 0x200
jne 0x14009f92d
mov dword [r15 + 0x3c], 0xfffffffe
cmp r12, 8
jb 0x14009f913
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009f90b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f90b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400b3088
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov al, 1
jmp 0x14009f62f
mov dword [rsp + 0x24], Ordinal_19
lea rdx, [0x140139428]
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll__CxxThrowException
int3