Function at 0x14009eeec
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, 0x228
mov r13, r9
mov rsi, r8
mov rdi, rdx
mov rbp, qword [rsp + 0x290]
cmp rbp, 4
mov qword [rsp + 0x98], rcx
jae 0x14009f3ad
mov eax, 1
mov word [rsp + 0x3c], 0
movaps xmm0, xmmword [0x1402eaf00]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x14009f384
movabs rcx, 0x8000000000000000
mov rax, qword [rdi]
xor rax, rcx
cmp rax, 2
mov ecx, 2
cmovb rcx, rax
mov qword [rsp + 0xb0], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov al, byte [rdi + 0x18]
mov byte [rsp + 0x2b], al
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0xa0], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x88], rax
mov rax, qword [rsi]
mov qword [rsp + 0xa8], rax
xor r15d, r15d
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x14009f048
cmp rax, 1
jne 0x14009f083
mov rcx, qword [rsp + 0x88]
call fcn.14018b462
mov rsi, rax
mov rdi, rdx
mov rcx, rdx
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x88]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], rbx
mov rax, qword [rsp + 0x80]
mov byte [rsp + 0xd8], al
movabs rax, 0x8000000000000000
inc rax
jmp 0x14009f079
mov rax, qword [rsp + 0x90]
lock inc qword [rax]
jle 0x14009f417
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc8], rax
movabs rax, 0x8000000000000000
mov qword [rsp + 0xb8], rax
jmp 0x14009f0f8
mov rcx, qword [rsp + 0x30]
call fcn.14018b462
mov rdi, rax
mov rsi, rdx
mov rcx, rdx
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x30]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x80]
lock inc qword [rcx]
jle 0x14009f417
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rbx
mov al, byte [rsp + 0x2b]
mov byte [rsp + 0xd0], al
mov qword [rsp + 0xd8], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x138]
lea rdx, [rsp + 0xb8]
mov r8, r13
mov r9, rbp
call fcn.14009f475
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x138], rax
jne 0x14009f14c
cmp dword [rsp + 0x140], 2
jb 0x14009f376
mov rcx, qword [rsp + 0x148]
call fcn.140078aee
jmp 0x14009f376
mov rbp, r13
mov rbx, qword [rsp + 0xa8]
mov r13d, dword [rbx + 0x1c]
inc r13d
cmp r13d, 0xffffffff
je 0x14009f3ff
mov rdx, qword [rbx + 8]
mov r14, qword [rbx + 0x10]
mov r8d, dword [rbx + 0x18]
cmp r14, r8
jbe 0x14009f1f5
mov r9, r8
shl r9, 7
lea rax, [rdx + r9]
mov r12d, dword [rdx + r9 + 0x78]
or r12d, 1
mov ecx, 0xf
lea rdi, [rsp + 0xb8]
lea r10, [rsp + 0x138]
mov rsi, r10
rep movsq qword [rdi], qword [rsi]
lea rcx, [rsp + 0x120]
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x1b0], xmm0
mov ecx, dword [rdx + r9]
mov dword [rbx + 0x18], ecx
mov ecx, 0xc
mov rdi, rax
mov rsi, r10
rep movsq qword [rdi], qword [rsi]
mov dword [rdx + r9 + 0x60], r12d
mov dword [rdx + r9 + 0x64], r8d
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rdx + r9 + 0x68], xmm0
mov dword [rdx + r9 + 0x78], r12d
mov r14d, r8d
jmp 0x14009f29f
mov ecx, 0xf
lea rdi, [rsp + 0x1b0]
lea rax, [rsp + 0x138]
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov ecx, 0xc
lea rdi, [rsp + 0xb8]
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
lea rax, [rsp + 0x218]
movups xmm0, xmmword [rax]
lea rax, [rsp + 0x120]
movups xmmword [rax], xmm0
mov eax, 1
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x11c], r14d
mov dword [rsp + 0x130], eax
cmp r14, qword [rbx]
jne 0x14009f26e
mov rcx, rbx
mov rdx, r14
call fcn.14009e610
mov rdx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
jmp 0x14009f271
mov rax, r14
mov rdi, rax
shl rdi, 7
add rdi, rdx
mov ecx, 0x10
lea rsi, [rsp + 0xb8]
rep movsq qword [rdi], qword [rsi]
inc rax
mov qword [rbx + 0x10], rax
lea eax, [r14 + 1]
mov dword [rbx + 0x18], eax
mov r12d, 1
mov dword [rbx + 0x1c], r13d
cmp dword [rsp + 0x38], 0
je 0x14009f2d6
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x40]
mov r13, rbp
jne 0x14009f33d
lea rcx, [rsp + 0x40]
call fcn.140273088
mov rbp, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x50]
jmp 0x14009f345
movzx eax, word [rsp + 0x3c]
cmp rax, 7
mov r13, rbp
jbe 0x14009f35d
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0x3c]
mov r8d, r12d
mov r9d, r14d
call fcn.14009eb2e
mov rbp, qword [rsp + 0x290]
cmp dword [rsp + 0x38], 0
je 0x14009f326
cmp qword [rsp + 0x40], 0
je 0x14009f326
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1403f9220]
xor edx, edx
call fcn.1402e3f64
mov ecx, 9
lea rdi, [rsp + 0x38]
lea rsi, [rsp + 0xb8]
rep movsq qword [rdi], qword [rsi]
jmp 0x14009f376
mov rbp, qword [rsp + 0x290]
mov rax, qword [rsp + 0x48]
mov dword [rax + rdx*8], r12d
mov dword [rax + rdx*8 + 4], r14d
inc rdx
mov qword [rsp + 0x50], rdx
jmp 0x14009f376
mov dword [rsp + rax*8 + 0x40], r12d
mov dword [rsp + rax*8 + 0x44], r14d
inc eax
mov word [rsp + 0x3c], ax
mov rbp, qword [rsp + 0x290]
inc r15d
cmp dword [rsp + 0x2c], r15d
jne 0x14009efd0
lea rsi, [rsp + 0x38]
mov ecx, 9
mov rdi, qword [rsp + 0x98]
rep movsq qword [rdi], qword [rsi]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rbp, 0xc
jb 0x14009ef22
cmp dword [r13], 0x66637474
jne 0x14009ef22
mov eax, dword [r13 + 8]
bswap eax
cmp eax, 9
jb 0x14009ef27
mov dword [rsp + 0x2c], eax
mov ecx, eax
call fcn.14009e5c3
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x38], 1
jmp 0x14009ef5d
lea rcx, [0x14033f10a]
lea r8, [0x14033f130]
mov edx, 0x23
call fcn.14007aaa0
ud2