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

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x1802663c0]
mov eax, dword [rbx + 0x4ba8]
sub eax, 1
js 0x18004c0ad
mov r8, qword [rbx + 0x4bb0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18004c0a3
test dword [rcx + 0x14], 0x8000000
je 0x18004c0a3
cmp byte [rcx + 0xca], 0
je 0x18004c0a3
cmp byte [rcx + 0xd2], 0
je 0x18004c0af
sub r8, 0x38
sub rdx, 1
jns 0x18004c080
xor ecx, ecx
vmovss xmm2, dword [rbx + 0x4e00]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm2
jb 0x18004c0cf
vcomiss xmm0, dword [rbx + 0x4de4]
jae 0x18004c417
mov r8, qword [rbx + 0x4dd0]
test r8, r8
je 0x18004c0e9
cmp byte [r8 + 0xca], 0
je 0x18004c0e9
mov al, 1
jmp 0x18004c0eb
xor al, al
test rcx, rcx
jne 0x18004c321
test al, al
je 0x18004c417
vmovups xmm1, xmmword [rbx + 0x3d88]
vmulss xmm0, xmm2, dword [rbx + 0x3938]
vmovups xmmword [rsp + 0x40], xmm1
vshufps xmm1, xmm1, xmm1, 0xff
vmulss xmm0, xmm1, xmm0
mov qword [rsp + 0x88], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x90], rdi
vmovss dword [rsp + 0x4c], xmm0
vmovaps xmmword [rsp + 0x60], xmm6
call fcn.180045380
mov edx, eax
mov rcx, r8
call fcn.18004be10
mov rdi, qword [rbx + 0x4dd0]
vmovss xmm2, dword [rbx + 0x3dc8]
mov rax, qword [0x1802663c0]
vmovss xmm0, dword [rdi + 0x28]
vmovss xmm1, dword [rdi + 0x2c]
mov rcx, qword [rax + 0x4be0]
vsubss xmm5, xmm0, xmm2
vaddss xmm0, xmm0, dword [rdi + 0x30]
vaddss xmm6, xmm0, xmm2
vaddss xmm0, xmm1, dword [rdi + 0x34]
mov rsi, qword [rcx]
vaddss xmm4, xmm0, xmm2
vsubss xmm0, xmm6, xmm5
vsubss xmm3, xmm1, xmm2
vcomiss xmm0, dword [rsi + 0x10]
vmovss dword [rsp + 0x40], xmm5
vmovss dword [rsp + 0x44], xmm3
vmovss dword [rsp + 0x48], xmm6
vmovss dword [rsp + 0x4c], xmm4
jb 0x18004c1f5
vsubss xmm0, xmm4, xmm3
vcomiss xmm0, dword [rsi + 0x14]
jb 0x18004c1f5
vxorps xmm0, xmm2, xmmword [0x18023c2b0]
vsubss xmm2, xmm0, dword [0x18023bc20]
vsubss xmm0, xmm5, xmm2
vsubss xmm1, xmm3, xmm2
vmovss dword [rsp + 0x40], xmm0
vmovss dword [rsp + 0x44], xmm1
vaddss xmm0, xmm2, xmm6
vaddss xmm1, xmm2, xmm4
vmovss dword [rsp + 0x48], xmm0
vmovss dword [rsp + 0x4c], xmm1
mov rcx, qword [rdi + 0x2b0]
vmovaps xmm6, xmmword [rsp + 0x60]
cmp dword [rcx], 0
jne 0x18004c20c
call fcn.180069b10
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsi + 8]
vmovss xmm0, dword [rdx]
vaddss xmm1, xmm0, dword [rsi + 0x10]
vmovss xmm2, dword [rdx + 4]
vaddss xmm0, xmm2, dword [rsi + 0x14]
xor r9d, r9d
lea r8, [rsp + 0x80]
vmovss dword [rsp + 0x84], xmm0
vmovss dword [rsp + 0x80], xmm1
call fcn.180069d90
mov rax, qword [0x1802663c0]
lea rcx, [rsp + 0x50]
vmovss xmm0, dword [rbx + 0x4de4]
vmovups xmm2, xmmword [rax + 0x3d78]
vmulss xmm1, xmm0, dword [rax + 0x3938]
vmovups xmmword [rsp + 0x50], xmm2
vshufps xmm2, xmm2, xmm2, 0xff
vmulss xmm0, xmm2, xmm1
vmovss dword [rsp + 0x5c], xmm0
call fcn.180045380
vmovss xmm0, dword [0x18023bca8]
mov rcx, qword [rdi + 0x2b0]
lea r8, [rsp + 0x48]
vmovss dword [rsp + 0x30], xmm0
vmovss xmm0, dword [rdi + 0x60]
mov r9d, eax
lea rdx, [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
call fcn.18006c5f0
mov rcx, qword [rdi + 0x2b0]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov eax, dword [rcx + 0x98]
sub eax, 1
mov dword [rcx + 0x98], eax
jne 0x18004c2ff
mov rax, qword [rcx + 0x38]
add rax, 0x20
vmovups xmm0, xmmword [rax]
vmovups xmmword [rcx + 0x60], xmm0
add rsp, 0x70
pop rbx
jmp fcn.180069bb0
dec eax
cdqe
shl rax, 4
add rax, qword [rcx + 0xa0]
vmovups xmm0, xmmword [rax]
vmovups xmmword [rcx + 0x60], xmm0
add rsp, 0x70
pop rbx
jmp fcn.180069bb0
mov r11, qword [rbx + 0x4058]
mov r9, rcx
movsxd rax, dword [rbx + 0x4050]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x18004c34e
nop
cmp qword [rdx], rcx
je 0x18004c34e
add rdx, 8
cmp rdx, r8
jb 0x18004c340
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x18004c3c5
movsxd r10, edx
lea r11, [r11 + r10*8]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x14]
bt r8d, 0x18
jb 0x18004c3bb
mov rax, rdx
cmp qword [rdx + 0x3a0], rcx
je 0x18004c393
nop word [rax + rax]
cmp rax, rcx
je 0x18004c393
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x18004c380
jmp 0x18004c3c5
cmp byte [rdx + 0xca], 0
je 0x18004c3bb
cmp byte [rdx + 0xd2], 0
jne 0x18004c3bb
mov eax, dword [rcx + 0x14]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x18004c360
vmulss xmm1, xmm2, dword [rbx + 0x3938]
vcomiss xmm1, dword [0x18023bc20]
mov r8d, dword [rcx + 0x1d4]
jae 0x18004c407
mov eax, r8d
shr eax, 0x18
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, rax
mov eax, r8d
vmulss xmm1, xmm0, xmm1
vcvttss2si rdx, xmm1
shl edx, 0x18
and eax, 0xffffff
mov r8d, edx
or r8d, eax
mov edx, r8d
mov rcx, r9
add rsp, 0x70
pop rbx
jmp fcn.18004be10
add rsp, 0x70
pop rbx
ret