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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
jmp 0x14004ff8a
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x28], eax
je 0x14004ffd5
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140054340
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.140039770
mov dword [rsp + 0x2c], eax
jmp 0x14004ff80
mov rax, qword [rsp + 0xd0]
mov rcx, rax
call fcn.140037bc0
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov rcx, rax
call fcn.140037bc0
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x56], 0
mov rax, qword [rsp + 0xd0]
add rax, 0x68
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x2c]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call fcn.140050460
mov dword [rsp + 0x20], 0
jmp 0x140050046
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x140050161
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.140054340
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
call fcn.140054340
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.140038720
movss xmm0, dword [rsp + 0x48]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
call fcn.140038c10
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
mov eax, dword [rsp + 0x3c]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 7
mov ecx, 1
mov dword [rsp + 0x4c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xd0]
movzx ecx, byte [rdx + rcx + 0x68]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rcx + 0x68], al
jmp 0x14005003c
mov dx, 0x20
mov rcx, qword [rsp + 0xd0]
call fcn.140050830
test rax, rax
je 0x1400502cb
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.140054320
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
cmp eax, 9
je 0x1400501ce
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x28]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400542d0
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.140054320
mov qword [rsp + 0x30], rax
mov dx, 0x20
mov rcx, qword [rsp + 0xd0]
call fcn.140050830
mov rdi, qword [rsp + 0x30]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 3
or eax, 0x24
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
mulss xmm0, dword [0x1400b5c40]
mov rax, qword [rsp + 0x30]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140038720
movss xmm0, dword [rsp + 0x50]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x28]
dec eax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.140038c10
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
xor r8d, r8d
mov dx, 0x20
mov rcx, qword [rsp + 0xd0]
call fcn.1400503f0
xor r8d, r8d
mov dx, 9
mov rcx, qword [rsp + 0xd0]
call fcn.1400503f0
mov rax, qword [rsp + 0xd0]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0xd0]
call fcn.1400508a0
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x38], 0
je 0x140050340
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x38]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x44], xmm0
jmp 0x140050349
xorps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0xd0]
movss xmm0, dword [rsp + 0x44]
movss dword [rax + 0x10], xmm0
mov dword [rsp + 0x24], 0
jmp 0x140050370
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
inc eax
cmp dword [rsp + 0x24], eax
jge 0x1400503e5
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.140038720
xorps xmm0, xmm0
comiss xmm0, dword [rax]
jbe 0x1400503e3
mov rax, qword [rsp + 0xd0]
movss xmm0, dword [rax + 0x10]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa0]
call fcn.140038720
movss xmm0, dword [rsp + 0x54]
movss dword [rax], xmm0
jmp 0x140050366
add rsp, 0xb8
pop rdi
pop rsi
ret