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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x14095de80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [0x14095f0f0]
mov qword [rsp + 0x30], rax
mov ecx, 0x3b8
call fcn.140028c10
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov ecx, 0x3b8
call fcn.140019e20
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002139f
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140018a90
mov qword [rsp + 0x48], rax
jmp 0x1400213a8
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x100]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x30]
add rax, 0x19e0
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xc8]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140030870
nop
movss xmm2, dword [0x1400f8300]
movss xmm1, dword [0x1400f8300]
lea rcx, [rsp + 0xa8]
call fcn.140003e20
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov eax, dword [rsp + 0x100]
and eax, 0x100
test eax, eax
jne 0x14002153f
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax + 8]
call fcn.140023cd0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14002153f
mov rax, qword [rsp + 0x30]
add rax, 0x2dc0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call fcn.1400338e0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x29c], ecx
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0xc8]
call fcn.140030960
nop
mov rax, qword [rsp + 0x28]
add rax, 0xc
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140025d90
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x1c]
mov byte [rax + 0x7d], cl
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov rcx, rax
call fcn.1400261b0
comiss xmm0, dword [0x1400f9964]
jbe 0x14002153f
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140025d90
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xc0]
call fcn.140025d90
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0xe0], rax
mov eax, dword [rsp + 0x100]
and eax, 0x40
test eax, eax
je 0x140021604
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x94], 2
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x90], 2
mov rax, qword [rsp + 0xc8]
mov byte [rax + 0x98], 0
jmp 0x140021691
mov rax, qword [rsp + 0xc8]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x18]
jb 0x140021627
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x90], 2
mov rax, qword [rsp + 0xc8]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1c]
jb 0x14002164a
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x94], 2
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x90], 0
jg 0x140021676
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x94], 0
jg 0x140021676
mov dword [rsp + 0x38], 0
jmp 0x14002167e
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x38]
mov byte [rax + 0x98], cl
mov rax, qword [rsp + 0x30]
add rax, 0x19b0
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x90]
call fcn.140033d70
nop
mov eax, dword [rsp + 0x100]
and eax, 0x2000
test eax, eax
je 0x1400216f5
mov rax, qword [rsp + 0x30]
add rax, 0x19a0
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x98]
call fcn.140033ff0
nop
jmp 0x14002171e
mov rax, qword [rsp + 0x30]
add rax, 0x19a0
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xa0]
call fcn.140033d70
nop
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f0cc0
add rsp, 0xe8
ret