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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x130]
add rax, 8
mov r8, qword [rsp + 0x120]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14003ccf0
mov rcx, qword [rsp + 0x130]
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x90]
call fcn.14004e710
nop
cmp dword [rsp + 0x140], 1
jne 0x14004adaa
mov dword [rsp + 0x98], 3
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xa4], 2
mov rax, qword [rsp + 0x128]
cmp dword [rax], 0xffffffff
je 0x14004aba4
mov dword [rsp + 0x40], 0xffffffff
jmp 0x14004abac
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
jmp 0x14004abc0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 4
jge 0x14004adaa
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14004abe2
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
jmp 0x14004abf2
movsxd rax, dword [rsp + 0x24]
mov eax, dword [rsp + rax*4 + 0x98]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x14004ac13
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jne 0x14004ac13
jmp 0x14004abb6
lea rcx, [rsp + 0x30]
call fcn.14003bbc0
nop
cmp dword [rsp + 0x28], 3
jne 0x14004ac53
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 0xc]
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xc0]
call fcn.1400165c0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 1
jne 0x14004ac98
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movaps xmm2, xmm0
mov rax, qword [rsp + 0x138]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xc8]
call fcn.1400165c0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 0
jne 0x14004acdd
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 8]
subss xmm0, dword [rcx]
mov rax, qword [rsp + 0x138]
movss xmm2, dword [rax + 0xc]
movaps xmm1, xmm0
lea rcx, [rsp + 0xd0]
call fcn.1400165c0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 2
jne 0x14004ad2f
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm1, dword [rax + 8]
subss xmm1, dword [rcx]
movaps xmm2, xmm0
lea rcx, [rsp + 0xd8]
call fcn.1400165c0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.14003cd40
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.14003ba30
mov rdx, rax
mov rcx, qword [rsp + 0x130]
call fcn.1400471c0
movzx eax, al
test eax, eax
jne 0x14004ad7a
jmp 0x14004abb6
mov rax, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
jmp 0x14004b246
cmp dword [rsp + 0x140], 2
je 0x14004adc2
cmp dword [rsp + 0x140], 0
jne 0x14004b0f6
mov dword [rsp + 0xa8], 1
mov dword [rsp + 0xac], 3
mov dword [rsp + 0xb0], 2
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0x128]
cmp dword [rax], 0xffffffff
je 0x14004ae05
mov dword [rsp + 0x48], 0xffffffff
jmp 0x14004ae0d
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
jmp 0x14004ae21
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 4
jge 0x14004b0f6
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14004ae43
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
jmp 0x14004ae53
movsxd rax, dword [rsp + 0x2c]
mov eax, dword [rsp + rax*4 + 0xa8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14004ae74
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jne 0x14004ae74
jmp 0x14004ae17
cmp dword [rsp + 0x20], 0
jne 0x14004ae8f
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax]
movss dword [rsp + 0x50], xmm0
jmp 0x14004aea2
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x50], xmm0
cmp dword [rsp + 0x20], 1
jne 0x14004aebe
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x54], xmm0
jmp 0x14004aed0
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x84], xmm0
cmp dword [rsp + 0x20], 2
jne 0x14004af01
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x58], xmm0
jmp 0x14004af14
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x58], xmm0
cmp dword [rsp + 0x20], 3
jne 0x14004af30
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x5c], xmm0
jmp 0x14004af43
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax]
comiss xmm0, dword [rsp + 0x84]
jbe 0x14004af81
cmp dword [rsp + 0x20], 0
je 0x14004af7c
cmp dword [rsp + 0x20], 1
jne 0x14004af81
jmp 0x14004ae17
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
comiss xmm0, dword [rsp + 0x88]
jbe 0x14004afab
cmp dword [rsp + 0x20], 2
je 0x14004afa6
cmp dword [rsp + 0x20], 3
jne 0x14004afab
jmp 0x14004ae17
lea rcx, [rsp + 0x38]
call fcn.14003bbc0
cmp dword [rsp + 0x20], 0
jne 0x14004afdc
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rsp + 0x64], xmm0
jmp 0x14004b013
cmp dword [rsp + 0x20], 1
jne 0x14004aff8
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x60], xmm0
jmp 0x14004b007
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x38], xmm0
cmp dword [rsp + 0x20], 2
jne 0x14004b048
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rsp + 0x6c], xmm0
jmp 0x14004b07f
cmp dword [rsp + 0x20], 3
jne 0x14004b064
mov rax, qword [rsp + 0x138]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x68], xmm0
jmp 0x14004b073
movss xmm0, dword [rsp + 0x94]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax]
movss xmm0, dword [rsp + 0x38]
call fcn.140038390
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 4]
movss xmm0, dword [rsp + 0x3c]
call fcn.140038390
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x128]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
jmp 0x14004b246
mov rax, qword [rsp + 0x128]
mov dword [rax], 0xffffffff
cmp dword [rsp + 0x140], 2
jne 0x14004b151
movss xmm2, dword [0x1400e3d9c]
movss xmm1, dword [0x1400e3d9c]
lea rcx, [rsp + 0xe8]
call fcn.1400165c0
mov r8, rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14003cd40
nop
mov rax, qword [rsp + 0x110]
jmp 0x14004b246
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0x70]
addss xmm0, dword [rax]
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 8]
call fcn.140038400
mov rax, qword [rsp + 0x120]
subss xmm0, dword [rax]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x8c]
movss xmm0, dword [rsp + 0x78]
call fcn.140038390
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0x74]
addss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x130]
movss xmm1, dword [rax + 0xc]
call fcn.140038400
mov rax, qword [rsp + 0x120]
subss xmm0, dword [rax + 4]
movss dword [rsp + 0x80], xmm0
movss xmm1, dword [rsp + 0x7c]
movss xmm0, dword [rsp + 0x80]
call fcn.140038390
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret