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

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140416208]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3a], 0
call fcn.14007fbb0
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1400854a3
mov dword [rsp + 0x54], 1
jmp 0x1400854ab
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1400854cd
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f08], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f10], 0
je 0x140085558
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
jne 0x140085558
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x1403fd0c0]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1f24]
subss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
call fcn.14008a060
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f24], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f54]
jb 0x140085558
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f24]
jb 0x140085558
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f10], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140085590
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
jne 0x140085590
mov edx, 1
mov ecx, 3
call fcn.140069db0
movzx eax, al
test eax, eax
je 0x140085590
mov dword [rsp + 0x58], 1
jmp 0x140085598
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400855f2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
jne 0x1400855f2
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
je 0x1400855f2
mov dl, 1
xor ecx, ecx
call fcn.140069d00
movzx eax, al
test eax, eax
je 0x1400855f2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x1400855f2
mov dword [rsp + 0x5c], 1
jmp 0x1400855fa
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x140085619
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140085726
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dd8], 0
je 0x14008563e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
mov qword [rsp + 0xa8], rax
jmp 0x140085665
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1bd0]
dec eax
mov r8d, 0xffffffff
mov edx, 0x80000001
mov ecx, eax
call fcn.1400852b0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x140085726
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x3a0]
mov qword [rax + 0x1f10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1f10]
mov qword [rax + 0x1f08], rcx
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f24], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f20], xmm0
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400856e7
mov byte [rsp + 0x3b], 0
jmp 0x1400856ec
mov byte [rsp + 0x3b], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3b]
mov byte [rax + 0x1f28], cl
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14008570f
mov dword [rsp + 0x60], 2
jmp 0x140085717
mov dword [rsp + 0x60], 3
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1e0c], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f20]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f20], xmm0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
je 0x1400858e2
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1e0c], 3
jne 0x1400858e2
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f20]
subss xmm0, dword [0x1403fcd4c]
divss xmm0, dword [0x1403fcca4]
call fcn.140067460
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f24]
movss dword [rsp + 0x94], xmm0
movss xmm1, dword [rsp + 0x90]
movss xmm0, dword [rsp + 0x94]
call fcn.14008a060
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f24], xmm0
mov edx, 4
mov ecx, 0xc
call fcn.140069db0
movzx eax, al
mov dword [rsp + 0x98], eax
mov edx, 4
mov ecx, 0xd
call fcn.140069db0
movzx eax, al
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140085833
mov ecx, dword [rsp + 0x64]
call fcn.140085370
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1403fcf68]
movss dword [rax + 0x1f24], xmm0
mov ecx, 3
call fcn.140069d60
movzx eax, al
test eax, eax
jne 0x1400858e2
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1403fcf68]
comiss xmm0, dword [rax + 0x1f24]
jbe 0x140085868
mov dword [rsp + 0x68], 1
jmp 0x140085870
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f28]
and eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x1f28], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f28]
test eax, eax
je 0x1400858b1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dd8], 0
je 0x1400858b1
mov byte [rsp + 0x3a], 1
jmp 0x1400858d2
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f28]
test eax, eax
jne 0x1400858d2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1f08]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f08], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
je 0x1400859c8
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1e0c], 2
jne 0x1400859c8
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f20]
subss xmm0, dword [0x1403fcd4c]
divss xmm0, dword [0x1403fcca4]
call fcn.140067460
movss dword [rsp + 0x9c], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f24]
movss dword [rsp + 0x80], xmm0
movss xmm1, dword [rsp + 0x9c]
movss xmm0, dword [rsp + 0x80]
call fcn.14008a060
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f24], xmm0
mov dl, 1
xor ecx, ecx
call fcn.140069d00
movzx eax, al
test eax, eax
je 0x1400859a7
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
je 0x140085996
mov dword [rsp + 0x6c], 1
jmp 0x14008599e
mov dword [rsp + 0x6c], 0xffffffff
mov ecx, dword [rsp + 0x6c]
call fcn.140085370
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
jne 0x1400859c8
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1f08]
mov qword [rsp + 0x40], rax
mov edx, 1
mov ecx, 0x10
call fcn.140069db0
movzx eax, al
test eax, eax
je 0x1400859ea
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1f28], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1c68], 0
je 0x140085a08
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1c79]
test eax, eax
je 0x140085a6f
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f28]
test eax, eax
je 0x140085a6f
mov edx, 2
mov ecx, 0x10
call fcn.140069db0
movzx eax, al
test eax, eax
je 0x140085a6f
mov rax, qword [rsp + 0x30]
add rax, 0x128
mov rcx, rax
call fcn.140074e00
movzx eax, al
mov dword [rsp + 0x84], eax
mov rcx, qword [rsp + 0x30]
add rcx, 0x3c4
call fcn.140074e00
movzx eax, al
mov ecx, dword [rsp + 0x84]
cmp ecx, eax
jne 0x140085a6f
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f08], 0
je 0x140085c37
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1f08]
mov eax, dword [rax + 0x1c]
and eax, 4
test eax, eax
jne 0x140085c37
lea rcx, [rsp + 0x78]
call fcn.140066760
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1e0c], 2
jne 0x140085aed
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
jne 0x140085aed
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.140082a90
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1e0c], 3
jne 0x140085b24
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 4
lea rcx, [rsp + 0xd8]
call fcn.140082a90
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
movss xmm0, dword [rsp + 0x78]
ucomiss xmm0, dword [0x1403fcc40]
jp 0x140085b4a
jne 0x140085b4a
movss xmm0, dword [rsp + 0x7c]
ucomiss xmm0, dword [0x1403fcc40]
jp 0x140085b4a
je 0x140085c37
movss xmm0, dword [0x1403fd2c8]
movss dword [rsp + 0xb8], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1403fd2c8]
mulss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0xc4]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc0]
call fcn.14008a020
movss xmm1, dword [rsp + 0x88]
mulss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400674f0
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1f08]
mov rax, qword [rax + 0x3a0]
mov qword [rsp + 0xa0], rax
movss xmm2, dword [rsp + 0x8c]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xe0]
call fcn.140066ec0
mov rcx, qword [rsp + 0xa0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140066f60
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.14007d0a0
mov rcx, qword [rsp + 0xa0]
call fcn.140087440
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e2f], 1
cmp qword [rsp + 0x40], 0
je 0x140085cf3
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dd8], 0
je 0x140085c70
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
mov rax, qword [rax + 0x3a0]
cmp qword [rsp + 0x40], rax
je 0x140085cf3
call fcn.14006fa60
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e2e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e2f], 1
mov rcx, qword [rsp + 0x40]
call fcn.140082350
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14007fea0
mov rcx, qword [rsp + 0x40]
call fcn.14007c840
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x3c0], 0
jne 0x140085cd6
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400824e0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x160], 2
jne 0x140085cf3
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1e24], 1
cmp qword [rsp + 0x40], 0
je 0x140085d0b
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f08], 0
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x140085e58
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dd8], 0
je 0x140085e58
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x398], 0
je 0x140085d92
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
jne 0x140085d92
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x1000000
test eax, eax
je 0x140085d92
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x14000000
test eax, eax
jne 0x140085d92
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x398]
mov qword [rsp + 0x48], rax
jmp 0x140085d3c
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
cmp qword [rsp + 0x48], rax
je 0x140085dd7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x48]
call fcn.14007c840
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x3b8], rcx
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e2e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e2f], 1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
je 0x140085e1c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1e24]
xor eax, 1
mov dword [rsp + 0x70], eax
jmp 0x140085e24
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jne 0x140085e4f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dd8]
movsxd rcx, dword [rsp + 0x50]
mov dword [rax + rcx*4 + 0x3c0], 0
mov ecx, dword [rsp + 0x50]
call fcn.140082390
add rsp, 0xf8
ret