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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
cmp dword [rsp + 0x100], 3
jl 0x14005b1c5
mov eax, dword [rsp + 0x108]
and eax, 0xff000000
test eax, eax
jne 0x14005b1ca
jmp 0x14005bac6
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x30]
and eax, 4
test eax, eax
je 0x14005b905
mov rax, qword [rsp + 0xf0]
vmovss xmm0, dword [rax + 0xc0]
vmovss dword [rsp + 0x68], xmm0
mov eax, dword [rsp + 0x108]
and eax, 0xffffff
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x100]
sub eax, 2
imul eax, eax, 3
imul ecx, dword [rsp + 0x100], 6
add eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x100]
shl eax, 1
mov dword [rsp + 0x6c], eax
mov r8d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xf0]
call fcn.140057fb0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x34]
inc eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 2
jmp 0x14005b292
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x30], eax
jge 0x14005b32b
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x50]
movzx edx, word [rsp + 0x2c]
mov word [rax + rcx], dx
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx*2 - 2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x50]
add rax, 6
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x50], rax
jmp 0x14005b288
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x38]
add rax, 0x30
mov qword [rsp + 0xb8], rax
mov edx, dword [rsp + 0x100]
mov rcx, qword [rsp + 0xb8]
call fcn.1400687c0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x100]
dec eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x34], 0
jmp 0x14005b39d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x34], eax
jge 0x14005b4fa
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xf8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xf8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
vmovss xmm0, dword [rax]
vsubss xmm0, xmm0, dword [rcx]
vmovss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
vmovss xmm0, dword [rax + 4]
vsubss xmm0, xmm0, dword [rcx + 4]
vmovss dword [rsp + 0x38], xmm0
vmovss xmm0, dword [rsp + 0x3c]
vmulss xmm0, xmm0, dword [rsp + 0x3c]
vmovss xmm1, dword [rsp + 0x38]
vmulss xmm1, xmm1, dword [rsp + 0x38]
vaddss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x5c], xmm0
vmovss xmm0, dword [rsp + 0x5c]
vcomiss xmm0, dword [0x14031934c]
jbe 0x14005b4c2
vmovss xmm0, dword [rsp + 0x5c]
vxorps xmm1, xmm1, xmm1
vmovss xmm0, xmm1, xmm0
vmovups xmmword [rsp + 0xc0], xmm0
vmovups xmm0, xmmword [rsp + 0xc0]
vrsqrtss xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
vmovaps xmm0, xmmword [rsp + 0xd0]
vmovss dword [rsp + 0x80], xmm0
vmovss xmm0, dword [rsp + 0x80]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rsp + 0x3c]
vmulss xmm0, xmm0, dword [rsp + 0x60]
vmovss dword [rsp + 0x3c], xmm0
vmovss xmm0, dword [rsp + 0x38]
vmulss xmm0, xmm0, dword [rsp + 0x60]
vmovss dword [rsp + 0x38], xmm0
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
vmovss xmm0, dword [rsp + 0x38]
vmovss dword [rcx + rax*8], xmm0
vmovss xmm0, dword [rsp + 0x3c]
vxorps xmm0, xmm0, xmmword [0x1403196e0]
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
vmovss dword [rcx + rax*8 + 4], xmm0
jmp 0x14005b383
mov eax, dword [rsp + 0x100]
dec eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0
jmp 0x14005b531
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x20], eax
jge 0x14005b8e5
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
vmovss xmm0, dword [rax]
vaddss xmm0, xmm0, dword [rcx]
vmulss xmm0, xmm0, dword [0x1403193f0]
vmovss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rcx + 4]
vmulss xmm0, xmm0, dword [0x1403193f0]
vmovss dword [rsp + 0x28], xmm0
vmovss xmm0, dword [rsp + 0x24]
vmulss xmm0, xmm0, dword [rsp + 0x24]
vmovss xmm1, dword [rsp + 0x28]
vmulss xmm1, xmm1, dword [rsp + 0x28]
vaddss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x64], xmm0
vmovss xmm0, dword [rsp + 0x64]
vcomiss xmm0, dword [0x14031935c]
jbe 0x14005b644
vmovss xmm0, dword [0x140319458]
vdivss xmm0, xmm0, dword [rsp + 0x64]
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x4c]
vcomiss xmm0, dword [0x140319594]
jbe 0x14005b620
vmovss xmm0, dword [0x140319594]
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x24]
vmulss xmm0, xmm0, dword [rsp + 0x4c]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x28]
vmulss xmm0, xmm0, dword [rsp + 0x4c]
vmovss dword [rsp + 0x28], xmm0
vmovss xmm0, dword [rsp + 0x68]
vmulss xmm0, xmm0, dword [0x1403193f0]
vmovss xmm1, dword [rsp + 0x24]
vmulss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x68]
vmulss xmm0, xmm0, dword [0x1403193f0]
vmovss xmm1, dword [rsp + 0x28]
vmulss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x28], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rcx + rax*8]
vsubss xmm0, xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
vmovss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rcx + rax*8 + 4]
vsubss xmm0, xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
vmovss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rsp + 0x108]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rcx + rax*8]
vaddss xmm0, xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
vmovss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xf8]
vmovss xmm0, dword [rcx + rax*8 + 4]
vaddss xmm0, xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
vmovss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rsp + 0x88]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x48]
add rax, 0x28
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x48], rax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 4
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 5
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x50]
add rax, 0xc
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x50], rax
jmp 0x14005b511
movzx eax, word [rsp + 0x6c]
mov rcx, qword [rsp + 0xf0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x34], eax
jmp 0x14005bac6
mov eax, dword [rsp + 0x100]
sub eax, 2
imul eax, eax, 3
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xf0]
call fcn.140057fb0
mov dword [rsp + 0x50], 0
jmp 0x14005b951
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jge 0x14005b9ec
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx + rax*8]
mov ecx, 0x14
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x48]
mov qword [rdx + rcx], rax
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rsp + 0x108]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x48]
add rax, 0x14
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x48], rax
jmp 0x14005b947
mov dword [rsp + 0x44], 2
jmp 0x14005ba00
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x44], eax
jge 0x14005baab
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rsp + 0xf0]
movzx edx, word [rdx + 0x34]
mov word [rax + rcx], dx
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rsp + 0x44]
lea eax, [rax + rcx - 1]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x34]
add eax, dword [rsp + 0x44]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x50]
add rax, 6
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x50], rax
jmp 0x14005b9f6
movzx eax, word [rsp + 0x58]
mov rcx, qword [rsp + 0xf0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x34], eax
add rsp, 0xe8
ret