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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x140419c00]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
lea rdx, [rcx + 0x370]
mov ebp, edi
mov rbx, rcx
call fcn.1400a1a30
test eax, eax
jne 0x14009f56d
movzx eax, word [rcx + 0x710]
bt ax, 0xd
jae 0x14009f56d
test al, 0x60
jne 0x14009f05d
mov eax, 0x1000
test word [rcx + 0x714], ax
jne 0x14009f56d
test byte [rcx + 0x712], 1
mov qword [rsp + 0xc0], r12
jne 0x14009f080
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14009f080
add r12, 0xca2
jmp 0x14009f087
lea r12, [rcx + 0x384]
test r12, r12
jne 0x14009f096
mov eax, 0xffffff53
jmp 0x14009f17a
mov qword [rsp + 0xc8], r13
mov eax, 0x100
movzx r13d, word [rcx + 0x3f0]
cmp r13w, ax
jbe 0x14009f0c9
mov ecx, r13d
call fcn.1400c6880
mov rbp, rax
test rax, rax
jne 0x14009f0c9
lea eax, [rbp - 0x7d]
jmp 0x14009f172
lea r8, [rsp + 0x30]
mov qword [rsp + 0x80], r15
mov edx, 0x20
mov rcx, r12
call fcn.1400d71c0
mov r15d, eax
test eax, eax
jne 0x14009f558
movzx eax, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x30]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x88], r14
movzx eax, byte [rsp + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x33]
shl ecx, 8
or ecx, eax
mov eax, 0xba2e8ba3
mul ecx
shr edx, 3
imul eax, edx, 0xb
sub ecx, eax
mov eax, ecx
lea rcx, [0x140c28260]
imul r14, rax, 0x680
mov qword [rsp + 0x20], rax
lea rax, [0x140c23ae0]
add r14, rax
call fcn.1400c6820
test eax, eax
je 0x14009f19a
test rbp, rbp
je 0x14009f15d
mov rcx, rbp
call fcn.1400c6860
mov eax, 0xffffff96
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f4390
add rsp, 0x90
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0xb8], rsi
mov esi, edi
lea rdi, [r14 + 0xc]
nop dword [rax + rax]
movsxd rax, esi
lea rdx, [r14 + 0x1c]
imul rcx, rax, 0x228
mov r8d, 0x20
add rdx, rcx
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009f1e3
movzx eax, byte [rbx + 0x710]
shr al, 5
and al, 3
cmp byte [rdi], al
je 0x14009f204
inc esi
add rdi, 0x228
cmp esi, 3
jl 0x14009f1b0
mov esi, dword [r14]
lea eax, [rsi + 1]
mov dword [r14], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov eax, esi
imul rdi, rax, 0x228
mov rax, qword [rsp + 0x20]
add rdi, r14
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0xa0]
mov dword [rdi + 8], 2
lea r9, [rdi + 0x1e4]
movzx eax, byte [rbx + 0x710]
shr al, 5
and al, 3
mov byte [rdi + 0xc], al
mov rax, qword [rbx + 0xa8]
mov qword [rdi + 0x90], rax
lea rax, [rdi + 0xd0]
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x60], r9
test byte [rbx + 0x712], 1
je 0x14009f289
mov rax, qword [rbx + 0x3a8]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov byte [rdi + 0x3c], 0x20
jmp 0x14009f2c0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14009f2c0
movups xmm0, xmmword [rax + 0xcf3]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0xd03]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0xd13]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rbx + 0x10]
movzx ecx, byte [rax + 0xcc2]
mov byte [rdi + 0x3c], cl
movups xmm0, xmmword [r12]
movups xmmword [rdi + 0x1c], xmm0
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rdi + 0x2c], xmm1
movzx eax, word [rbx + 0x714]
shr ax, 9
and ax, 1
mov word [rdi + 0x48], ax
movzx edx, byte [rbx + 0x785]
lea eax, [rdx - 1]
cmp al, 0x1e
ja 0x14009f310
mov r8d, edx
mov rcx, r9
lea rdx, [rbx + 0x758]
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [rbx + 0x785]
mov byte [rdi + 0x58], al
mov eax, dword [rbx + 0x5bc]
mov dword [rdi + 0x18], eax
call fcn.1400bcd20
mov dword [rdi + 0x14], eax
cmp r13w, word [rbx + 0x3f0]
je 0x14009f35f
xor r12d, r12d
lea rax, [rdi + 0xe4]
mov qword [rdi + 0x80], rax
mov r15d, 0xffffff82
mov dword [rdi + 0x88], r12d
test rbp, rbp
je 0x14009f537
mov rcx, rbp
call fcn.1400c6860
jmp 0x14009f537
cmp word [rdi + 0x8a], 0
jbe 0x14009f37a
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x14009f37a
call fcn.1400c6860
mov eax, 0x100
xor r12d, r12d
cmp r13w, ax
jbe 0x14009f38e
movzx eax, r13w
jmp 0x14009f398
mov eax, r12d
lea rbp, [rdi + 0xe4]
mov qword [rdi + 0x80], rbp
mov r8, r13
mov word [rdi + 0x8a], ax
mov rcx, rbp
mov word [rdi + 0x88], r13w
mov rdx, qword [rbx + 0x3e8]
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [rbx + 0x5d0]
mov word [rdi + 0x4a], ax
movzx eax, byte [rbx + 0x719]
mov byte [rdi + 0x4c], al
movzx eax, byte [rbx + 0x71a]
mov byte [rdi + 0x4d], al
movzx eax, byte [rbx + 0x780]
mov byte [rdi + 0x68], al
movzx eax, word [rbx + 0x3d2]
mov word [rdi + 0x6a], ax
mov eax, dword [rbx + 0x3d4]
mov dword [rdi + 0x6c], eax
mov eax, dword [rbx + 0x3d8]
mov dword [rdi + 0x70], eax
movsd xmm0, qword [rbx + 0x3dc]
movsd qword [rdi + 0x74], xmm0
movzx eax, byte [rbx + 0x3e4]
mov byte [rdi + 0x7c], al
test r14, r14
je 0x14009f42f
inc dword [r14 + 4]
cmp dword [r14], 3
jne 0x14009f42f
mov dword [r14], r12d
movzx eax, byte [rbx + 0x710]
and al, 0x60
cmp al, 0x20
jne 0x14009f532
movzx eax, word [rbx + 0x3b6]
test ax, ax
je 0x14009f532
mov rcx, qword [rdi + 0x50]
mov word [rdi + 0x4e], ax
movzx r8d, word [rbx + 0x3b6]
mov rdx, qword [rbx + 0x3b8]
call sub.VCRUNTIME140.dll_memcpy
test r14, r14
je 0x14009f548
movzx edx, word [rbx + 0x3b6]
lea r8, [rsp + 0x30]
mov rcx, qword [rbx + 0x3b8]
call fcn.1400d71c0
mov r15d, eax
test eax, eax
jne 0x14009f53c
movzx ecx, byte [rsp + 0x31]
movzx ebx, byte [rsp + 0x30]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [rsp + 0x32]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [rsp + 0x33]
shl ebx, 8
or ebx, ecx
lea rcx, [0x140c28288]
call fcn.1400c6820
test eax, eax
jne 0x14009f53c
lea r9, [0x140c282b0]
mov eax, 0xba2e8ba3
mul ebx
shr edx, 3
imul eax, edx, 0xb
sub ebx, eax
lea rax, [rbx + rbx*4]
lea r8, [rax*4]
mov edx, dword [r8 + r9]
lea rcx, [rbx + rbx*4]
add rcx, rdx
lea eax, [rdx + 1]
mov dword [r8 + r9], eax
mov rax, qword [rsp + 0x20]
mov word [r9 + rcx*4 + 8], ax
mov word [r9 + rcx*4 + 0xa], si
lea rcx, [0x140c28288]
mov eax, dword [r8 + r9]
inc dword [r8 + r9 + 4]
cmp eax, 3
cmove eax, r12d
mov dword [r8 + r9], eax
call fcn.1400c6840
jmp 0x14009f53c
mov word [rdi + 0x4e], r12w
test r14, r14
je 0x14009f548
lea rcx, [0x140c28260]
call fcn.1400c6840
mov rsi, qword [rsp + 0xb8]
mov eax, r15d
jmp 0x14009f162
test rbp, rbp
je 0x14009f565
mov rcx, rbp
call fcn.1400c6860
mov eax, r15d
jmp 0x14009f16a
xor eax, eax
jmp 0x14009f182