Function at 0x18002ce20
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 [0x1801867c0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [0x180187700]
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 0x18002cea6
mov eax, dword [rsp + 0x50]
and eax, 0x40
test eax, eax
jne 0x18002cea6
mov rax, qword [rsp + 0x210]
movsx eax, byte [rax + 0xd0]
test eax, eax
jg 0x18002cea6
mov rax, qword [rsp + 0x210]
movsx eax, byte [rax + 0xd1]
test eax, eax
jle 0x18002cead
xor al, al
jmp 0x18002d9a1
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0xb7]
test eax, eax
jne 0x18002cec7
xor al, al
jmp 0x18002d9a1
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x7e]
test eax, eax
je 0x18002cee3
mov dword [rsp + 0x54], 4
jmp 0x18002ceeb
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 [0x180149f90]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3c28]
mulss xmm1, dword [0x180149f54]
addss xmm0, xmm1
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3c28]
mulss xmm1, dword [0x180149f9c]
movss dword [rsp + 0x7c], xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x7c]
call fcn.180002870
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x80]
mulss xmm0, dword [0x180149f80]
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 0x18002cf9a
movss xmm0, dword [0x180149fb0]
movss dword [rsp + 0x48], xmm0
jmp 0x18002cfa3
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 0x18002cfef
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x14]
and eax, 1
test eax, eax
jne 0x18002cfef
mov byte [rsp + 0x38], 1
jmp 0x18002cff4
mov byte [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x18002d02c
mov rcx, qword [rsp + 0x210]
call fcn.1800292a0
movss xmm1, dword [rsp + 0x1c4]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x1c4], xmm0
movss xmm2, dword [0x18014a00c]
movss xmm1, dword [0x18014a00c]
lea rcx, [rsp + 0x1b0]
call fcn.180005a70
movss xmm2, dword [0x18014a00c]
movss xmm1, dword [0x18014a00c]
lea rcx, [rsp + 0x188]
call fcn.180005a70
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x158], 1
lea rcx, str.RESIZE
call fcn.1800226f0
nop
mov dword [rsp + 0x3c], 0
jmp 0x18002d099
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x228]
cmp dword [rsp + 0x3c], eax
jge 0x18002d5fe
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x18
lea rcx, [0x1801475a0]
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.180006800
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.180016da0
nop
mov rax, qword [rsp + 0x40]
add rax, 8
movss xmm2, dword [rsp + 0x4c]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.180006760
mov r8, rax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xf0]
call fcn.180006800
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.180006760
mov r8, rax
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x100]
call fcn.1800067b0
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x198]
call fcn.1800058e0
nop
movss xmm0, dword [rsp + 0x198]
comiss xmm0, dword [rsp + 0x1a0]
jbe 0x18002d1ea
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x198]
call fcn.180002920
nop
movss xmm0, dword [rsp + 0x19c]
comiss xmm0, dword [rsp + 0x1a4]
jbe 0x18002d213
lea rdx, [rsp + 0x1a4]
lea rcx, [rsp + 0x19c]
call fcn.180002920
nop
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x210]
call fcn.1800149e0
mov dword [rsp + 0x5c], eax
mov r9d, 8
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x198]
call fcn.180019bd0
mov dword [rsp + 0x20], 0x40800
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x181]
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x198]
call fcn.180060d50
nop
movzx eax, byte [rsp + 0x181]
test eax, eax
jne 0x18002d284
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x18002d2b0
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x18002d299
mov dword [rsp + 0x60], 5
jmp 0x18002d2a1
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 0x18002d316
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax + 0x3752]
cmp eax, 2
jne 0x18002d316
cmp dword [rsp + 0x3c], 0
jne 0x18002d316
mov r8, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x108]
call fcn.18000e470
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x3a], 1
call fcn.18000ef20
nop
jmp 0x18002d57d
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x18002d57d
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180149f90]
jp 0x18002d33b
je 0x18002d369
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d359
jne 0x18002d359
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x18002d369
movss xmm0, dword [0x18014a01c]
movss dword [rsp + 0x64], xmm0
jmp 0x18002d378
movss xmm0, dword [rsp + 0x1c4]
movss dword [rsp + 0x64], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax]
ucomiss xmm0, dword [0x180149f90]
jp 0x18002d39d
jne 0x18002d39d
movss xmm0, dword [rsp + 0x1c0]
movss dword [rsp + 0x68], xmm0
jmp 0x18002d3ab
movss xmm0, dword [0x18014a01c]
movss dword [rsp + 0x68], xmm0
movss xmm2, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x68]
lea rcx, [rsp + 0x1d8]
call fcn.180005a70
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d3ea
jne 0x18002d3ea
movss xmm0, dword [rsp + 0x1cc]
movss dword [rsp + 0x6c], xmm0
jmp 0x18002d3f8
movss xmm0, dword [0x18014a00c]
movss dword [rsp + 0x6c], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d41d
jne 0x18002d41d
movss xmm0, dword [rsp + 0x1c8]
movss dword [rsp + 0x70], xmm0
jmp 0x18002d42b
movss xmm0, dword [0x18014a00c]
movss dword [rsp + 0x70], xmm0
movss xmm2, dword [rsp + 0x6c]
movss xmm1, dword [rsp + 0x70]
lea rcx, [rsp + 0x178]
call fcn.180005a70
nop
movss xmm0, dword [rsp + 0x4c]
xorps xmm0, xmmword [0x18014a020]
mov rax, qword [rsp + 0x40]
add rax, 8
movaps xmm2, xmm0
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.180006760
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.180006760
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.180016da0
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.1800067b0
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1b8]
call fcn.180006800
nop
mov r9, qword [rsp + 0x178]
lea r8, [rsp + 0x1d8]
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x130]
call fcn.180015fe0
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.18000d800
nop
cmp dword [rsp + 0x3c], 0
je 0x18002d59c
movzx eax, byte [rsp + 0x180]
test eax, eax
jne 0x18002d59c
movzx eax, byte [rsp + 0x181]
test eax, eax
je 0x18002d5f9
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x18002d5b2
mov dword [rsp + 0x78], 0x22
jmp 0x18002d5d8
movzx eax, byte [rsp + 0x181]
test eax, eax
je 0x18002d5c8
mov dword [rsp + 0x74], 0x21
jmp 0x18002d5d0
mov dword [rsp + 0x74], 0x20
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x78], eax
movss xmm1, dword [0x180149f90]
mov ecx, dword [rsp + 0x78]
call fcn.180014450
movsxd rcx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x230]
mov dword [rdx + rcx*4], eax
jmp 0x18002d08f
call fcn.180022220
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x158], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4a58], 0
je 0x18002d908
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4a58]
mov rcx, qword [rsp + 0x210]
cmp qword [rax + 0x378], rcx
jne 0x18002d908
lea rcx, [rsp + 0x190]
call fcn.180005ab0
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4904], 2
jne 0x18002d6a6
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xe25]
test eax, eax
je 0x18002d6a6
mov dword [rsp + 0x20], 0x204
mov r9d, 0x203
mov r8d, 0x202
mov edx, 0x201
lea rcx, [rsp + 0x138]
call fcn.180014d00
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4904], 3
jne 0x18002d6e5
mov dword [rsp + 0x20], 0x272
mov r9d, 0x271
mov r8d, 0x270
mov edx, 0x26f
lea rcx, [rsp + 0x140]
call fcn.180014d00
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
movss xmm0, dword [rsp + 0x190]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d711
jne 0x18002d711
movss xmm0, dword [rsp + 0x194]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d711
je 0x18002d908
movss xmm0, dword [0x18014a000]
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x18014a000]
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.1800028e0
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.180006760
mov rcx, qword [rsp + 0x30]
add rcx, 0x4a84
mov rdx, rax
call fcn.1800068f0
nop
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.1800067b0
mov rcx, qword [rsp + 0xd0]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1800067b0
mov rcx, qword [rsp + 0x30]
add rcx, 0x4a84
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x158]
call fcn.180016f60
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 [0x180149f90]
mov ecx, 0x22
call fcn.180014450
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.180016560
nop
movss xmm0, dword [rsp + 0x1a8]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d8a5
jne 0x18002d8a5
movss xmm0, dword [rsp + 0x1ac]
ucomiss xmm0, dword [0x180149f2c]
jp 0x18002d8a5
je 0x18002d908
mov rax, qword [rsp + 0x210]
add rax, 0x30
lea r8, [rsp + 0x1a8]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.180006800
mov r8, rax
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x168]
call fcn.18000e470
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.180006940
nop
movss xmm0, dword [rsp + 0x188]
ucomiss xmm0, dword [0x18014a00c]
jp 0x18002d91c
je 0x18002d93e
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x188]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x210]
call fcn.18001b200
nop
movss xmm0, dword [rsp + 0x1b0]
ucomiss xmm0, dword [0x18014a00c]
jp 0x18002d952
je 0x18002d984
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x170]
call fcn.180016560
mov rax, qword [rax]
mov rcx, qword [rsp + 0x210]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x210]
call fcn.18001b200
nop
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.18013d910
add rsp, 0x1f8
pop rdi
pop rsi
ret