Function at 0x180020410
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, 0x1c8
mov rax, qword [0x180879ec0]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x18087a1d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
and eax, 2
test eax, eax
jne 0x180020494
mov eax, dword [rsp + 0x54]
and eax, 0x40
test eax, eax
jne 0x180020494
mov rax, qword [rsp + 0x1d0]
movsx eax, byte [rax + 0xa4]
test eax, eax
jg 0x180020494
mov rax, qword [rsp + 0x1d0]
movsx eax, byte [rax + 0xa5]
test eax, eax
jle 0x18002049b
xor al, al
jmp 0x180020f6b
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x8f]
test eax, eax
jne 0x1800204b5
xor al, al
jmp 0x180020f6b
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xd3]
test eax, eax
je 0x1800204d4
mov dword [rsp + 0x58], 4
jmp 0x1800204dc
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x1d0]
movss xmm0, dword [rax + 0x50]
addss xmm0, dword [0x1808316f0]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1918]
mulss xmm1, dword [0x1808316b0]
addss xmm0, xmm1
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1918]
mulss xmm1, dword [0x1808316f8]
movss dword [rsp + 0x78], xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x78]
call fcn.180002e70
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [0x1808316dc]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xd3]
test eax, eax
je 0x180020585
movss xmm0, dword [0x180831710]
movss dword [rsp + 0x5c], xmm0
jmp 0x18002058e
xorps xmm0, xmm0
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x64], xmm0
movss xmm2, dword [0x180831774]
movss xmm1, dword [0x180831774]
lea rcx, [rsp + 0x180]
call fcn.180005c60
movss xmm2, dword [0x180831774]
movss xmm1, dword [0x180831774]
lea rcx, [rsp + 0x168]
call fcn.180005c60
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x150], 1
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x154], 2
lea rcx, str.RESIZE
call fcn.18001ac70
nop
mov dword [rsp + 0x40], 0
jmp 0x180020619
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1e8]
cmp dword [rsp + 0x40], eax
jge 0x180020a11
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
lea rcx, [0x18087a1e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x1d0]
add rcx, 0x28
mov rdx, qword [rsp + 0x1d0]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0xc0]
call fcn.1800063a0
mov rcx, qword [rsp + 0x1d0]
add rcx, 0x20
mov rdx, qword [rsp + 0x98]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x198]
call fcn.180011d80
nop
mov rax, qword [rsp + 0x48]
add rax, 8
movss xmm2, dword [rsp + 0x44]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.180006300
mov r8, rax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xd0]
call fcn.1800063a0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x48]
add rax, 8
movss xmm2, dword [rsp + 0x64]
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.180006300
mov r8, rax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xe0]
call fcn.180006350
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x188]
call fcn.180005ab0
nop
movss xmm0, dword [rsp + 0x188]
comiss xmm0, dword [rsp + 0x190]
jbe 0x18002076a
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x188]
call fcn.180002ef0
nop
movss xmm0, dword [rsp + 0x18c]
comiss xmm0, dword [rsp + 0x194]
jbe 0x180020793
lea rdx, [rsp + 0x194]
lea rcx, [rsp + 0x18c]
call fcn.180002ef0
nop
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
call fcn.1800104e0
mov dword [rsp + 0x20], 0x2020
lea r9, [rsp + 0x158]
lea r8, [rsp + 0x159]
mov edx, eax
lea rcx, [rsp + 0x188]
call fcn.180048130
nop
movzx eax, byte [rsp + 0x159]
test eax, eax
jne 0x1800207e4
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x180020810
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1800207f9
mov dword [rsp + 0x60], 5
jmp 0x180020801
mov dword [rsp + 0x60], 6
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x2060], ecx
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x180020878
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax + 0x42d]
test eax, eax
je 0x180020878
cmp dword [rsp + 0x40], 0
jne 0x180020878
mov rax, qword [rsp + 0x1d8]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0xe8]
call fcn.18000bb70
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov byte [rsp + 0x38], 1
call fcn.18000c430
nop
jmp 0x180020990
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x180020990
movss xmm0, dword [rsp + 0x44]
xorps xmm0, xmmword [0x1808317b0]
mov rax, qword [rsp + 0x48]
add rax, 8
movaps xmm2, xmm0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.180006300
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x48]
add rax, 8
movss xmm2, dword [rsp + 0x64]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.180006300
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
mov r9, rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x100]
call fcn.180011d80
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
add rax, 0x1c58
mov rcx, qword [rsp + 0x30]
add rcx, 0x138
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x108]
call fcn.180006350
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x1a0]
call fcn.1800063a0
nop
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x168]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x180]
mov r8, rax
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1d0]
call fcn.18000b270
nop
cmp dword [rsp + 0x40], 0
je 0x1800209af
movzx eax, byte [rsp + 0x158]
test eax, eax
jne 0x1800209af
movzx eax, byte [rsp + 0x159]
test eax, eax
je 0x180020a0c
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x1800209c5
mov dword [rsp + 0x50], 0x20
jmp 0x1800209eb
movzx eax, byte [rsp + 0x159]
test eax, eax
je 0x1800209db
mov dword [rsp + 0x68], 0x1f
jmp 0x1800209e3
mov dword [rsp + 0x68], 0x1e
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
movss xmm1, dword [0x1808316f0]
mov ecx, dword [rsp + 0x50]
call fcn.1800100c0
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x1f0]
mov dword [rdx + rcx*4], eax
jmp 0x18002060f
mov dword [rsp + 0x3c], 0
jmp 0x180020a25
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x3c], eax
jge 0x180020cc7
movss xmm0, dword [0x180831710]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x1a8]
call fcn.180010ca0
mov eax, dword [rsp + 0x3c]
add eax, 4
mov edx, eax
mov rcx, qword [rsp + 0x1d0]
call fcn.1800104e0
mov dword [rsp + 0x20], 0x20
lea r9, [rsp + 0x15a]
lea r8, [rsp + 0x15b]
mov edx, eax
lea rcx, [rsp + 0x1a8]
call fcn.180048130
nop
movzx eax, byte [rsp + 0x15b]
test eax, eax
je 0x180020ac1
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1c28]
comiss xmm0, dword [0x1808316a0]
ja 0x180020acd
movzx eax, byte [rsp + 0x15a]
test eax, eax
je 0x180020b13
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x180020ae2
mov dword [rsp + 0x6c], 4
jmp 0x180020aea
mov dword [rsp + 0x6c], 3
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x6c]
mov dword [rax + 0x2060], ecx
movzx eax, byte [rsp + 0x15a]
test eax, eax
je 0x180020b13
mov rax, qword [rsp + 0x1e0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x15a]
test eax, eax
je 0x180020cc2
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x170]
call fcn.180005ca0
nop
cmp dword [rsp + 0x3c], 0
jne 0x180020b95
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x110]
call fcn.180005c60
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x13c]
subss xmm0, dword [rcx + 0x1c5c]
addss xmm0, dword [0x180831710]
movss dword [rsp + 0x17c], xmm0
cmp dword [rsp + 0x3c], 1
jne 0x180020bea
xorps xmm2, xmm2
movss xmm1, dword [0x1808316f0]
lea rcx, [rsp + 0x118]
call fcn.180005c60
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x138]
subss xmm0, dword [rcx + 0x1c58]
addss xmm0, dword [0x180831710]
movss dword [rsp + 0x178], xmm0
cmp dword [rsp + 0x3c], 2
jne 0x180020c3f
movss xmm2, dword [0x1808316f0]
xorps xmm1, xmm1
lea rcx, [rsp + 0x120]
call fcn.180005c60
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x13c]
subss xmm0, dword [rcx + 0x1c5c]
addss xmm0, dword [0x180831710]
movss dword [rsp + 0x17c], xmm0
cmp dword [rsp + 0x3c], 3
jne 0x180020c8f
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x128]
call fcn.180005c60
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x138]
subss xmm0, dword [rcx + 0x1c58]
addss xmm0, dword [0x180831710]
movss dword [rsp + 0x178], xmm0
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x1d0]
call fcn.18000b270
nop
jmp 0x180020a1b
call fcn.18001a840
nop
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1d98], 0
je 0x180020eae
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1d98]
mov rcx, qword [rsp + 0x1d0]
cmp qword [rax + 0x378], rcx
jne 0x180020eae
lea rcx, [rsp + 0x160]
call fcn.180005ca0
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1d7c], 3
jne 0x180020d59
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x151]
test eax, eax
je 0x180020d59
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x130]
call fcn.1800107b0
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1d7c], 4
jne 0x180020d93
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 2
lea rcx, [rsp + 0x138]
call fcn.1800107b0
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
movss xmm0, dword [rsp + 0x160]
ucomiss xmm0, dword [0x18083168c]
jp 0x180020dbf
jne 0x180020dbf
movss xmm0, dword [rsp + 0x164]
ucomiss xmm0, dword [0x18083168c]
jp 0x180020dbf
je 0x180020eae
movss xmm0, dword [0x180831768]
movss dword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x180831768]
mulss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0xcc]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc8]
call fcn.180002eb0
movss xmm1, dword [rsp + 0x74]
mulss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1800118e0
movaps xmm1, xmm0
lea rcx, [rsp + 0x160]
call fcn.180006440
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1db8], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1dc7], 1
movss xmm1, dword [0x1808316f0]
mov ecx, 0x20
call fcn.1800100c0
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x1f0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x1d0]
add rax, 0x30
lea r8, [rsp + 0x160]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1800063a0
mov r8, qword [rax]
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x148]
call fcn.18000bb70
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
movss xmm0, dword [rsp + 0x168]
ucomiss xmm0, dword [0x180831774]
jp 0x180020ec2
je 0x180020ee4
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x168]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x1d0]
call fcn.180014ea0
nop
movss xmm0, dword [rsp + 0x180]
ucomiss xmm0, dword [0x180831774]
jp 0x180020ef8
je 0x180020f2a
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x150]
call fcn.1800118a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.180014ea0
nop
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x150], 0
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x154], 1
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0x28], rax
movzx eax, byte [rsp + 0x38]
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.18007d960
add rsp, 0x1c8
ret