Function at 0x18002f9f0
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
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [0x180178680]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [0x180178f60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 2
test eax, eax
jne 0x18002fa76
mov eax, dword [rsp + 0x50]
and eax, 0x40
test eax, eax
jne 0x18002fa76
mov rax, qword [rsp + 0x210]
movsx eax, byte [rax + 0xd0]
test eax, eax
jg 0x18002fa76
mov rax, qword [rsp + 0x210]
movsx eax, byte [rax + 0xd1]
test eax, eax
jle 0x18002fa7d
xor al, al
jmp 0x180030561
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0xb7]
test eax, eax
jne 0x18002fa97
xor al, al
jmp 0x180030561
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x7e]
test eax, eax
je 0x18002fab3
mov dword [rsp + 0x54], 4
jmp 0x18002fabb
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x210]
movss xmm0, dword [rax + 0x58]
addss xmm0, dword [0x180140a24]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3c28]
mulss xmm1, dword [0x180144db4]
addss xmm0, xmm1
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3c28]
mulss xmm1, dword [0x180144df4]
movss dword [rsp + 0x7c], xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x7c]
call fcn.1800058d0
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x80]
mulss xmm0, dword [0x180144ddc]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x7e]
test eax, eax
je 0x18002fb6a
movss xmm0, dword [0x180144e08]
movss dword [rsp + 0x48], xmm0
jmp 0x18002fb73
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x58], xmm0
lea rax, [rsp + 0x1c0]
mov rdi, rax
mov rsi, qword [rsp + 0x238]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x7f]
test eax, eax
je 0x18002fbbf
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x14]
and eax, 1
test eax, eax
jne 0x18002fbbf
mov byte [rsp + 0x38], 1
jmp 0x18002fbc4
mov byte [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x18002fbfc
mov rcx, qword [rsp + 0x210]
call fcn.18002be70
movss xmm1, dword [rsp + 0x1c4]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x1c4], xmm0
movss xmm2, dword [0x180144e60]
movss xmm1, dword [0x180144e60]
lea rcx, [rsp + 0x1b0]
call fcn.180001480
movss xmm2, dword [0x180144e60]
movss xmm1, dword [0x180144e60]
lea rcx, [rsp + 0x188]
call fcn.180001480
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x158], 1
lea rcx, str.RESIZE
call fcn.180025350
mov dword [rsp + 0x3c], 0
jmp 0x18002fc68
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x228]
cmp dword [rsp + 0x3c], eax
jge 0x1800301c4
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x18
lea rcx, [0x180143f60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x210]
add rcx, 0x28
mov rdx, qword [rsp + 0x210]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0xe0]
call fcn.180009700
mov rcx, qword [rsp + 0x210]
add rcx, 0x20
mov rdx, qword [rsp + 0xc8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1d0]
call fcn.180019aa0
mov rax, qword [rsp + 0x40]
add rax, 8
movss xmm2, dword [rsp + 0x4c]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.180009660
mov r8, rax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xf0]
call fcn.180009700
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
add rax, 8
movss xmm2, dword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.180009660
mov r8, rax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x100]
call fcn.1800096b0
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x198]
call fcn.1800088e0
movss xmm0, dword [rsp + 0x198]
comiss xmm0, dword [rsp + 0x1a0]
jbe 0x18002fdb6
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x198]
call fcn.180005980
movss xmm0, dword [rsp + 0x19c]
comiss xmm0, dword [rsp + 0x1a4]
jbe 0x18002fdde
lea rdx, [rsp + 0x1a4]
lea rcx, [rsp + 0x19c]
call fcn.180005980
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x210]
call fcn.180017750
mov dword [rsp + 0x5c], eax
mov r9d, 8
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x198]
call fcn.18001c8d0
mov dword [rsp + 0x20], 0x40800
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x181]
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x198]
call fcn.180056250
movzx eax, byte [rsp + 0x181]
test eax, eax
jne 0x18002fe4e
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x18002fe7a
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x18002fe63
mov dword [rsp + 0x60], 5
jmp 0x18002fe6b
mov dword [rsp + 0x60], 6
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x4a90], ecx
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x18002fedf
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax + 0x3752]
cmp eax, 2
jne 0x18002fedf
cmp dword [rsp + 0x3c], 0
jne 0x18002fedf
mov r8, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x108]
call fcn.1800112b0
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x3a], 1
call fcn.180011d20
jmp 0x180030143
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x180030143
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180140a24]
jp 0x18002ff04
je 0x18002ff32
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180144d8c]
jp 0x18002ff22
jne 0x18002ff22
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x18002ff32
movss xmm0, dword [0x180144e70]
movss dword [rsp + 0x64], xmm0
jmp 0x18002ff41
movss xmm0, dword [rsp + 0x1c4]
movss dword [rsp + 0x64], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax]
ucomiss xmm0, dword [0x180140a24]
jp 0x18002ff66
jne 0x18002ff66
movss xmm0, dword [rsp + 0x1c0]
movss dword [rsp + 0x68], xmm0
jmp 0x18002ff74
movss xmm0, dword [0x180144e70]
movss dword [rsp + 0x68], xmm0
movss xmm2, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x68]
lea rcx, [rsp + 0x1d8]
call fcn.180001480
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180144d8c]
jp 0x18002ffb3
jne 0x18002ffb3
movss xmm0, dword [rsp + 0x1cc]
movss dword [rsp + 0x6c], xmm0
jmp 0x18002ffc1
movss xmm0, dword [0x180144e60]
movss dword [rsp + 0x6c], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax]
ucomiss xmm0, dword [0x180144d8c]
jp 0x18002ffe6
jne 0x18002ffe6
movss xmm0, dword [rsp + 0x1c8]
movss dword [rsp + 0x70], xmm0
jmp 0x18002fff4
movss xmm0, dword [0x180144e60]
movss dword [rsp + 0x70], xmm0
movss xmm2, dword [rsp + 0x6c]
movss xmm1, dword [rsp + 0x70]
lea rcx, [rsp + 0x178]
call fcn.180001480
movss xmm0, dword [rsp + 0x4c]
xorps xmm0, xmmword [0x180144e80]
mov rax, qword [rsp + 0x40]
add rax, 8
movaps xmm2, xmm0
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.180009660
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
add rax, 8
movss xmm2, dword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.180009660
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x40]
mov r9, rax
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x120]
call fcn.180019aa0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
add rax, 0x3f64
mov rcx, qword [rsp + 0x30]
add rcx, 0xe08
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x128]
call fcn.1800096b0
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1b8]
call fcn.180009700
mov r9, qword [rsp + 0x178]
lea r8, [rsp + 0x1d8]
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x130]
call fcn.180018ce0
mov rax, qword [rax]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x188]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x1b0]
mov r8, rax
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x210]
call fcn.180010640
cmp dword [rsp + 0x3c], 0
je 0x180030162
movzx eax, byte [rsp + 0x180]
test eax, eax
jne 0x180030162
movzx eax, byte [rsp + 0x181]
test eax, eax
je 0x1800301bf
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x180030178
mov dword [rsp + 0x78], 0x22
jmp 0x18003019e
movzx eax, byte [rsp + 0x181]
test eax, eax
je 0x18003018e
mov dword [rsp + 0x74], 0x21
jmp 0x180030196
mov dword [rsp + 0x74], 0x20
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x78], eax
movss xmm1, dword [0x180140a24]
mov ecx, dword [rsp + 0x78]
call fcn.1800171c0
movsxd rcx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x230]
mov dword [rdx + rcx*4], eax
jmp 0x18002fc5e
call fcn.180024e80
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x158], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4a58], 0
je 0x1800304ca
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4a58]
mov rcx, qword [rsp + 0x210]
cmp qword [rax + 0x378], rcx
jne 0x1800304ca
lea rcx, [rsp + 0x190]
call fcn.180008a70
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4904], 2
jne 0x18003026b
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xe25]
test eax, eax
je 0x18003026b
mov dword [rsp + 0x20], 0x204
mov r9d, 0x203
mov r8d, 0x202
mov edx, 0x201
lea rcx, [rsp + 0x138]
call fcn.180017a70
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4904], 3
jne 0x1800302aa
mov dword [rsp + 0x20], 0x272
mov r9d, 0x271
mov r8d, 0x270
mov edx, 0x26f
lea rcx, [rsp + 0x140]
call fcn.180017a70
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
movss xmm0, dword [rsp + 0x190]
ucomiss xmm0, dword [0x180144d8c]
jp 0x1800302d6
jne 0x1800302d6
movss xmm0, dword [rsp + 0x194]
ucomiss xmm0, dword [0x180144d8c]
jp 0x1800302d6
je 0x1800304ca
movss xmm0, dword [0x180144e54]
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x180144e54]
mulss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x74]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x70]
call fcn.180005940
movss xmm1, dword [rsp + 0x84]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x88], xmm0
movss xmm2, dword [rsp + 0x88]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0xd8]
call fcn.180009660
mov rcx, qword [rsp + 0x30]
add rcx, 0x4a84
mov rdx, rax
call fcn.1800097f0
mov rax, qword [rsp + 0x210]
add rax, 0x28
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x210]
add rcx, 0x20
mov r8, rcx
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x148]
call fcn.1800096b0
mov rcx, qword [rsp + 0xd0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1800096b0
mov rcx, qword [rsp + 0x30]
add rcx, 0x4a84
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x158]
call fcn.180019c60
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x4a84], rax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4a78], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x490f], 1
movss xmm1, dword [0x180140a24]
mov ecx, 0x22
call fcn.1800171c0
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x230]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x30]
add rax, 0x4a84
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.180019260
movss xmm0, dword [rsp + 0x1a8]
ucomiss xmm0, dword [0x180144d8c]
jp 0x180030468
jne 0x180030468
movss xmm0, dword [rsp + 0x1ac]
ucomiss xmm0, dword [0x180144d8c]
jp 0x180030468
je 0x1800304ca
mov rax, qword [rsp + 0x210]
add rax, 0x30
lea r8, [rsp + 0x1a8]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.180009700
mov r8, rax
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x168]
call fcn.1800112b0
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x30]
add rax, 0x4a84
lea rdx, [rsp + 0x1a8]
mov rcx, rax
call fcn.180009840
movss xmm0, dword [rsp + 0x188]
ucomiss xmm0, dword [0x180144e60]
jp 0x1800304de
je 0x1800304ff
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x188]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x210]
call fcn.18001df00
movss xmm0, dword [rsp + 0x1b0]
ucomiss xmm0, dword [0x180144e60]
jp 0x180030513
je 0x180030544
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x170]
call fcn.180019260
mov rax, qword [rax]
mov rcx, qword [rsp + 0x210]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x210]
call fcn.18001df00
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x210]
mov qword [rcx + 0x28], rax
movzx eax, byte [rsp + 0x3a]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.18013b430
add rsp, 0x1f8
pop rdi
pop rsi
ret