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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x14039a820]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x37f0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x2a0]
mov byte [rax + 0xbb], 0
mov rax, qword [rsp + 0x2a0]
vmovss xmm0, dword [rax + 0x58]
vmovss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x2a0]
vmovss xmm0, dword [rax + 0x5c]
vmovss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0xb9]
test eax, eax
je 0x1400394b3
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x48]
vmovss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
vmovss xmm0, dword [rcx + 0x5c]
vmovss dword [rax + 0x3838], xmm0
movzx eax, byte [rsp + 0x2b0]
test eax, eax
je 0x140039445
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x48f6]
test eax, eax
jne 0x140039445
mov dword [rsp + 0x58], 0xc
jmp 0x14003944d
mov dword [rsp + 0x58], 0xd
vmovss xmm1, dword [0x1400ba544]
mov ecx, dword [rsp + 0x58]
call fcn.140029a30
mov dword [rsp + 0x80], eax
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x80]
mov rax, qword [rsp + 0x2a8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x2a8]
mov rcx, qword [rax]
call fcn.140037fa0
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x84]
vmovss dword [rax + 0x3838], xmm0
jmp 0x140039f3b
mov eax, dword [rsp + 0x38]
and eax, 0x80
test eax, eax
je 0x14003970a
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x28
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x270]
call fcn.140009990
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x20
xor r9d, r9d
mov r8, qword [rsp + 0x1a8]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.140050780
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax + 0x298]
call fcn.14004fef0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x10]
vmovss dword [rsp + 0x88], xmm0
vmovss xmm1, dword [0x1400c093c]
mov ecx, 3
call fcn.140029a30
mov dword [rsp + 0x8c], eax
vmovss xmm2, dword [0x1400ba59c]
mov rax, qword [rsp + 0x2a0]
vmovss xmm1, dword [rax + 0x28]
lea rcx, [rsp + 0x1b0]
call fcn.1400090a0
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1b8]
call fcn.140009990
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x2a0]
add rax, 0x20
mov dword [rsp + 0x28], 0x30
vmovss xmm0, dword [rsp + 0x88]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x8c]
mov r8, qword [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0xe8]
call fcn.140049df0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x10]
vmovss dword [rsp + 0x90], xmm0
vmovss xmm1, dword [0x1400ba544]
mov ecx, 3
call fcn.140029a30
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x2a0]
add rax, 0x28
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1c0]
call fcn.140009990
mov qword [rsp + 0xf0], rax
vmovss xmm2, dword [0x1400ba59c]
vxorps xmm1, xmm1, xmm1
lea rcx, [rsp + 0x1c8]
call fcn.1400090a0
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1d0]
call fcn.140009990
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x28], 0xc0
vmovss xmm0, dword [rsp + 0x90]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x94]
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140049df0
mov eax, dword [rsp + 0x38]
and eax, 0x80
test eax, eax
jne 0x1400398a8
mov rcx, qword [rsp + 0x2a0]
call fcn.14002b080
vmovss xmm1, dword [0x1400ba544]
mov ecx, eax
call fcn.140029a30
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
vmovss xmm0, dword [0x1400ba544]
vmovss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x47b0]
and eax, 0x40
test eax, eax
je 0x140039778
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x4810]
vmovss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400397c2
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x98], eax
vmovss xmm0, dword [rsp + 0x5c]
call fcn.14002c3e0
vmulss xmm0, xmm0, dword [0x1400ba5b8]
vaddss xmm0, xmm0, dword [0x1400ba524]
vcvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x98]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400397ee
mov dword [rsp + 0x60], 0
jmp 0x1400397f6
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x2a0]
add rax, 0x28
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1d8]
call fcn.140009990
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x2a0]
call fcn.14003dd00
vmovups xmm2, xmm0
vxorps xmm1, xmm1, xmm1
lea rcx, [rsp + 0x1e0]
call fcn.1400090a0
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1e8]
call fcn.140009990
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.140049df0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
jne 0x140039947
movzx eax, byte [rsp + 0x2b0]
test eax, eax
je 0x1400398cd
mov dword [rsp + 0x64], 0xc
jmp 0x1400398d5
mov dword [rsp + 0x64], 0xb
vmovss xmm1, dword [0x1400ba544]
mov ecx, dword [rsp + 0x64]
call fcn.140029a30
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x2a8]
add rax, 8
mov rcx, qword [rsp + 0x2a8]
mov dword [rsp + 0x28], 0x30
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x9c]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x120]
call fcn.140049df0
mov eax, dword [rsp + 0x38]
and eax, 0x400
test eax, eax
je 0x140039b7e
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x2a0]
call fcn.140030470
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400375f0
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140024e60
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400399c2
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x68], xmm0
jmp 0x1400399cc
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x68], xmm0
vmovss xmm1, dword [0x1400ba544]
mov ecx, 0xe
call fcn.140029a30
mov dword [rsp + 0xa0], eax
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x1f0]
call fcn.1400090a0
mov r8, rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x1f8]
call fcn.140009930
mov qword [rsp + 0x128], rax
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x200]
call fcn.1400090a0
mov r8, rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x208]
call fcn.140009990
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x28], 0x30
vmovss xmm0, dword [rsp + 0x68]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xa0]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140049df0
mov rax, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x48]
jae 0x140039b7e
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x2a0]
vmovss xmm0, dword [rax + 0x24]
vaddss xmm0, xmm0, dword [rcx + 0x2c]
vmovss xmm1, dword [rsp + 0xc4]
vcomiss xmm1, xmm0
jae 0x140039b7e
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 0x48]
vmovss dword [rsp + 0xa4], xmm0
vmovss xmm1, dword [0x1400ba544]
mov ecx, 6
call fcn.140029a30
mov dword [rsp + 0xa8], eax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xb8]
call fcn.1400296f0
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0xb8]
call fcn.140009c00
mov qword [rsp + 0x148], rax
vmovss xmm0, dword [rsp + 0xa4]
vmovss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xa8]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.140047a50
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x140039b98
xor ecx, ecx
call fcn.140089c20
mov rax, qword [rsp + 0x2a0]
movzx eax, byte [rax + 0xb5]
test eax, eax
je 0x140039bb5
mov ecx, 1
call fcn.140089c20
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140039f22
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
jne 0x140039f22
mov dword [rsp + 0x3c], 0
jmp 0x140039be8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c0]
cmp dword [rsp + 0x3c], eax
jge 0x140039f22
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2c8]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
and eax, 0xff000000
test eax, eax
jne 0x140039c1c
jmp 0x140039bde
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x18
lea rcx, [0x1400bf640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x28
mov rdx, qword [rsp + 0x2a0]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0x220]
call fcn.140009990
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x20
mov rdx, qword [rsp + 0x158]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.14002c0b0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x140039cdb
vmovss xmm2, dword [rsp + 0x2d0]
vmovss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x228]
call fcn.1400090a0
mov qword [rsp + 0xc8], rax
jmp 0x140039cff
vmovss xmm2, dword [rsp + 0x34]
vmovss xmm1, dword [rsp + 0x2d0]
lea rcx, [rsp + 0x230]
call fcn.1400090a0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x160]
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.14001cf80
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x240]
call fcn.140009990
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.140036ac0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x140039daa
vmovss xmm2, dword [rsp + 0x34]
vmovss xmm1, dword [rsp + 0x2d0]
lea rcx, [rsp + 0x248]
call fcn.1400090a0
mov qword [rsp + 0xd0], rax
jmp 0x140039dce
vmovss xmm2, dword [rsp + 0x2d0]
vmovss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x250]
call fcn.1400090a0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x178]
mov rdx, rax
lea rcx, [rsp + 0x258]
call fcn.14001cf80
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x260]
call fcn.140009990
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.140036ac0
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xb0], eax
vmovss xmm0, dword [rsp + 0x40]
vaddss xmm0, xmm0, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
vmovss xmm1, dword [rax + 0xc]
vmulss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x7c]
vaddss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x40]
vaddss xmm1, xmm1, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
vmovss xmm2, dword [rax + 8]
vmulss xmm1, xmm2, xmm1
vmovss xmm2, dword [rsp + 0x78]
vaddss xmm1, xmm2, xmm1
vmovups xmm2, xmm0
lea rcx, [rsp + 0x268]
call fcn.1400090a0
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb0]
vmovss xmm2, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.14004fa10
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x1a0], rax
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x1a0]
call fcn.140036a70
jmp 0x140039bde
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x140039f3b
mov rcx, qword [rsp + 0x2a0]
call fcn.140039f50
add rsp, 0x298
ret