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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1403bc658]
mov qword [rsp + 0x40], rax
vmovss xmm0, dword [0x140319458]
vmovss dword [rsp + 0xb8], xmm0
vmovss xmm0, dword [0x140319458]
vmovss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0x188]
add rax, 0x200
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0xbc]
vmovss dword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x120]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rsp + 0xb8]
vmovss dword [rsp + 0xb0], xmm0
vmovss xmm0, dword [rsp + 0xb0]
vmovss dword [rsp + 0xd0], xmm0
vmovss xmm0, dword [rsp + 0xc8]
vmovss dword [rsp + 0xd4], xmm0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x130], rax
vmovss xmm0, dword [0x140319458]
vmovss dword [rsp + 0xc0], xmm0
vmovss xmm0, dword [0x140319458]
vmovss dword [rsp + 0xc4], xmm0
mov rax, qword [rsp + 0x188]
add rax, 0x1f8
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rsp + 0xc4]
vmovss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0xd8]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rsp + 0xc0]
vmovss dword [rsp + 0x68], xmm0
vmovss xmm0, dword [rsp + 0x68]
vmovss dword [rsp + 0xe0], xmm0
vmovss xmm0, dword [rsp + 0x70]
vmovss dword [rsp + 0xe4], xmm0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x188]
vmovss xmm0, dword [rsp + 0x30]
vaddss xmm0, xmm0, dword [rax + 0x70]
vmovss dword [rsp + 0x48], xmm0
vmovss xmm0, dword [rsp + 0x48]
vcomiss xmm0, dword [rsp + 0x38]
jae 0x140038202
vmovss xmm0, dword [rsp + 0x48]
vmovss dword [rsp + 0x50], xmm0
jmp 0x14003820e
vmovss xmm0, dword [rsp + 0x38]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm0, dword [rsp + 0x50]
vmovss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x188]
vmovss xmm0, dword [rsp + 0x34]
vaddss xmm0, xmm0, dword [rax + 0x74]
vmovss dword [rsp + 0x58], xmm0
vmovss xmm0, dword [rsp + 0x58]
vcomiss xmm0, dword [rsp + 0x3c]
jae 0x14003824f
vmovss xmm0, dword [rsp + 0x58]
vmovss dword [rsp + 0x60], xmm0
jmp 0x14003825b
vmovss xmm0, dword [rsp + 0x3c]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rsp + 0x60]
vmovss dword [rsp + 0x34], xmm0
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x198]
and eax, 0x15
test eax, eax
jne 0x1400382a4
mov rax, qword [rsp + 0x188]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x1400382a4
mov eax, dword [rsp + 0x198]
or eax, 1
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x198]
and eax, 0x2a
test eax, eax
jne 0x1400382ed
mov rax, qword [rsp + 0x188]
movzx eax, byte [rax + 0xbc]
test eax, eax
je 0x1400382cf
mov dword [rsp + 0x64], 0x20
jmp 0x1400382d7
mov dword [rsp + 0x64], 2
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x198]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x198], eax
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x30]
vcomiss xmm0, dword [rax]
ja 0x14003831d
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x38]
vcomiss xmm0, dword [rax + 8]
jb 0x14003831d
mov byte [rsp + 0x20], 1
jmp 0x140038322
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x34]
vcomiss xmm0, dword [rax + 4]
ja 0x14003835c
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x3c]
vcomiss xmm0, dword [rax + 0xc]
jb 0x14003835c
mov byte [rsp + 0x21], 1
jmp 0x140038361
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x26], al
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x190]
vmovss xmm0, dword [rax + 8]
vsubss xmm0, xmm0, dword [rcx]
vmovss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 0x383c]
vmulss xmm0, xmm0, dword [0x140319498]
vmovss xmm1, dword [rsp + 0x78]
vaddss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x38]
vsubss xmm1, xmm1, dword [rsp + 0x30]
vcomiss xmm0, xmm1
jbe 0x1400383e6
mov rax, qword [rsp + 0x188]
movsx eax, byte [rax + 0xd0]
test eax, eax
jg 0x1400383e6
mov rax, qword [rsp + 0x188]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x1400383e6
mov byte [rsp + 0x22], 0
jmp 0x1400383eb
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x190]
vmovss xmm0, dword [rax + 0xc]
vsubss xmm0, xmm0, dword [rcx + 4]
vmovss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 0x3840]
vmulss xmm0, xmm0, dword [0x140319498]
vmovss xmm1, dword [rsp + 0x7c]
vaddss xmm0, xmm1, xmm0
vmovss xmm1, dword [rsp + 0x3c]
vsubss xmm1, xmm1, dword [rsp + 0x34]
vcomiss xmm0, xmm1
jbe 0x140038471
mov rax, qword [rsp + 0x188]
movsx eax, byte [rax + 0xd1]
test eax, eax
jg 0x140038471
mov rax, qword [rsp + 0x188]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x140038471
mov byte [rsp + 0x23], 0
jmp 0x140038476
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x198]
and eax, 1
test eax, eax
je 0x140038552
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140038552
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x30]
vcomiss xmm0, dword [rax]
ja 0x1400384bb
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x1400384f8
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx + 0x383c]
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x20]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038b30
jmp 0x14003854d
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x38]
vcomiss xmm0, dword [rax + 8]
ja 0x14003854d
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 8]
vaddss xmm0, xmm0, dword [rcx + 0x383c]
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x20]
vmovss xmm2, dword [0x140319458]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038b30
jmp 0x140038603
mov eax, dword [rsp + 0x198]
and eax, 4
test eax, eax
je 0x140038569
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14003857b
mov eax, dword [rsp + 0x198]
and eax, 0x10
test eax, eax
je 0x140038603
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400385d5
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x190]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rcx + 8]
vmulss xmm0, xmm0, dword [0x1403193f0]
vcvttss2si eax, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x20]
vmovss xmm2, dword [0x1403193f0]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038b30
jmp 0x140038603
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x188]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx + 0x20]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038b30
mov eax, dword [rsp + 0x198]
and eax, 2
test eax, eax
je 0x1400386d8
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x1400386d8
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x34]
vcomiss xmm0, dword [rax + 4]
ja 0x140038640
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x14003867e
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 0x3840]
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x24]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038bb0
jmp 0x1400386d3
mov rax, qword [rsp + 0x190]
vmovss xmm0, dword [rsp + 0x3c]
vcomiss xmm0, dword [rax + 0xc]
ja 0x1400386d3
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x40]
vmovss xmm0, dword [rax + 0xc]
vaddss xmm0, xmm0, dword [rcx + 0x3840]
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x24]
vmovss xmm2, dword [0x140319458]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038bb0
jmp 0x14003878b
mov eax, dword [rsp + 0x198]
and eax, 8
test eax, eax
je 0x1400386ef
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140038701
mov eax, dword [rsp + 0x198]
and eax, 0x20
test eax, eax
je 0x14003878b
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14003875c
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x190]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rcx + 0xc]
vmulss xmm0, xmm0, dword [0x1403193f0]
vcvttss2si eax, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov rax, qword [rsp + 0x188]
vsubss xmm0, xmm0, dword [rax + 0x24]
vmovss xmm2, dword [0x1403193f0]
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038bb0
jmp 0x14003878b
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x188]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 0x24]
vxorps xmm2, xmm2, xmm2
vmovups xmm1, xmm0
mov rcx, qword [rsp + 0x188]
call fcn.140038bb0
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0xf0]
call fcn.140037c50
mov rax, qword [rsp + 0x188]
add rax, 0x84
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
vmovss xmm0, dword [rsp + 0xf4]
vsubss xmm0, xmm0, dword [rax + 4]
vmovss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0xe8]
vmovss xmm0, dword [rsp + 0xf0]
vsubss xmm0, xmm0, dword [rax]
vmovss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x180]
vmovss xmm0, dword [rsp + 0x80]
vmovss dword [rax], xmm0
mov rax, qword [rsp + 0x180]
vmovss xmm0, dword [rsp + 0x88]
vmovss dword [rax + 4], xmm0
mov eax, dword [rsp + 0x198]
and eax, 0x40
test eax, eax
jne 0x140038a50
mov rax, qword [rsp + 0x188]
mov eax, dword [rax + 0x14]
and eax, 0x1000000
test eax, eax
je 0x140038a50
mov eax, dword [rsp + 0x28]
and eax, 0x14
test eax, eax
je 0x140038861
mov eax, dword [rsp + 0x28]
and eax, 0xffffffea
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0x28
test eax, eax
je 0x14003887a
mov eax, dword [rsp + 0x28]
and eax, 0xffffffd5
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x190]
add rax, 8
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x180]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 4]
vmovss dword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x180]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx]
vmovss dword [rsp + 0x90], xmm0
vmovss xmm0, dword [rsp + 0x90]
vmovss dword [rsp + 0x100], xmm0
vmovss xmm0, dword [rsp + 0x98]
vmovss dword [rsp + 0x104], xmm0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x180]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 4]
vmovss dword [rsp + 0xa8], xmm0
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x180]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx]
vmovss dword [rsp + 0xa0], xmm0
vmovss xmm0, dword [rsp + 0xa0]
vmovss dword [rsp + 0x110], xmm0
vmovss xmm0, dword [rsp + 0xa8]
vmovss dword [rsp + 0x114], xmm0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax + 0x368]
mov qword [rsp + 0x150], rax
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x168]
call fcn.140038040
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x118]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rcx]
mov rax, qword [rsp + 0x180]
vmovss dword [rax], xmm0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x118]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rcx + 4]
mov rax, qword [rsp + 0x180]
vmovss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x180]
add rsp, 0x178
ret