Function at 0x14009f390
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 0x14009f45d
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov rcx, qword [rcx]
call fcn.140096d40
mov rdx, rax
mov r9d, dword [r15 + 0x28]
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.14009e840
mov dword [rsp + 0x20], eax
cmp eax, dword [r15 + 0x28]
jne 0x14009f48c
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14009f45d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f458
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f458
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2eb8
xor al, al
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400b2f50
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 0x14009f540
lea rax, [rsp + 0x50]
cmp r12, 8
cmovae rax, rdi
lea r10, [r9 + 0x20]
cmp qword [r9 + 0x38], 8
jb 0x14009f4de
mov r10, qword [r9 + 0x20]
mov r11, qword [r9 + 0x30]
mov rcx, r11
cmp rbx, r11
cmovb rcx, rbx
test rcx, rcx
je 0x14009f507
sub r10, rax
movzx edx, word [r10 + rax]
cmp dx, word [rax]
jne 0x14009f511
add rax, 2
sub rcx, rsi
jne 0x14009f4f4
cmp r11, rbx
jae 0x14009f519
mov eax, r14d
jmp 0x14009f521
mov eax, esi
cmovb eax, r14d
jmp 0x14009f521
xor eax, eax
cmp r11, rbx
seta al
shr eax, 0x1f
test al, al
je 0x14009f52e
mov r9, qword [r9 + 0x10]
jmp 0x14009f534
mov r13, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14009f4c2
mov r11, qword [rsp + 0x28]
cmp byte [r13 + 0x19], 0
jne 0x14009f5b5
lea rax, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x14009f556
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 0x14009f594
sub r9, rax
nop dword [rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14009f59e
add rax, 2
sub rcx, 1
jne 0x14009f580
cmp rbx, r10
jae 0x14009f5a4
mov esi, r14d
jmp 0x14009f5ad
cmovb esi, r14d
jmp 0x14009f5ad
xor esi, esi
cmp rbx, r10
seta sil
shr esi, 0x1f
test sil, sil
je 0x14009f5b8
mov r13, r11
mov rax, qword [r15 + 0x60]
cmp r13, qword [rax]
jne 0x14009f616
cmp r12, 8
jb 0x14009f5fc
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009f5f4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f734
mov rcx, rdi
call fcn.1400b2eb8
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
jmp 0x14009f45f
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 0x14009f63d
mov rcx, rax
call fcn.14008ee60
nop
lea rdx, [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14009e670
nop
test rbx, rbx
je 0x14009f66b
mov rcx, rbx
call fcn.14008ee40
test eax, eax
jne 0x14009f66b
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 0x14009f6f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f6ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f6ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b2eb8
test dword [r15 + 0x3c], 0x200
jne 0x14009f75d
mov dword [r15 + 0x3c], 0xfffffffe
cmp r12, 8
jb 0x14009f743
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009f73b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f73b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400b2eb8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov al, 1
jmp 0x14009f45f
mov dword [rsp + 0x24], Ordinal_19
lea rdx, [0x1401393f0]
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll__CxxThrowException
int3