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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
jmp 0x1800408fa
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x28], eax
je 0x180040945
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
call fcn.18003cd70
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.18003c740
mov dword [rsp + 0x2c], eax
jmp 0x1800408f0
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.18003ac00
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov rcx, rax
call fcn.18003ac00
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x58], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x6c
mov r8d, 2
xor edx, edx
mov rcx, rax
call fcn.1800b0940
mov eax, dword [rsp + 0x2c]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0xe0]
call fcn.1800423a0
mov dword [rsp + 0x20], 0
jmp 0x1800409ba
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x180040ae1
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.18003cd70
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.18003cd70
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x80]
call fcn.18001bde0
movss xmm0, dword [rsp + 0x54]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x88]
call fcn.18001bdc0
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 + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe0]
movzx ecx, byte [rdx + rcx + 0x6c]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe0]
mov byte [rdx + rcx + 0x6c], al
jmp 0x1800409b0
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.180041d90
test rax, rax
je 0x180040c4b
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.180049ee0
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
cmp eax, 9
je 0x180040b4e
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.18004a8c0
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.180049ee0
mov qword [rsp + 0x30], rax
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.180041d90
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 [0x1800b5f74]
mov rax, qword [rsp + 0x30]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0x98]
call fcn.18001bde0
movss xmm0, dword [rsp + 0x5c]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
dec eax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call fcn.18001bdc0
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
xor r8d, r8d
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.180048150
xor r8d, r8d
mov dx, 9
mov rcx, qword [rsp + 0xe0]
call fcn.180048150
mov eax, 0x2026
mov word [rsp + 0x44], ax
mov eax, 0x85
mov word [rsp + 0x46], ax
mov eax, 0x2e
mov word [rsp + 0x48], ax
mov eax, 0xff0e
mov word [rsp + 0x4a], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x54]
cmp eax, 0xffff
jne 0x180040cd2
mov r8d, 2
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0xe0]
call fcn.180041d20
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x54], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x56]
cmp eax, 0xffff
jne 0x180040d09
mov r8d, 2
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.180041d20
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x56], ax
mov eax, 0xfffd
mov word [rsp + 0x4c], ax
mov eax, 0x3f
mov word [rsp + 0x4e], ax
mov eax, 0x20
mov word [rsp + 0x50], ax
mov rax, qword [rsp + 0xe0]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0xe0]
call fcn.180041e00
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x38], 0
jne 0x180040df9
mov r8d, 3
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0xe0]
call fcn.180041d20
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0xe0]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0xe0]
call fcn.180041e00
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x38], 0
jne 0x180040df9
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.180049ee0
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xe0]
movss xmm0, dword [rax + 4]
movss dword [rcx + 0x10], xmm0
mov dword [rsp + 0x24], 0
jmp 0x180040e2b
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 0x180040ea0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xa8], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
call fcn.18001bde0
xorps xmm0, xmm0
comiss xmm0, dword [rax]
jbe 0x180040e9e
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x10]
movss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb0]
call fcn.18001bde0
movss xmm0, dword [rsp + 0x60]
movss dword [rax], xmm0
jmp 0x180040e21
add rsp, 0xc8
pop rdi
pop rsi
ret