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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x2c], 0
jmp 0x18004a08a
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x2c], eax
je 0x18004a10b
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x24], eax
jl 0x18004a0f6
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x50], eax
jmp 0x18004a0fe
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
jmp 0x18004a080
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 8], 0
je 0x18004a156
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.180022df0
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0
je 0x18004a1a5
mov rax, qword [rsp + 0x68]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
call fcn.180022df0
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x120]
mov byte [rax + 0x58], 0
mov rax, qword [rsp + 0x120]
add rax, 0x6c
mov r8d, 2
xor edx, edx
mov rcx, rax
call fcn.1800b6420
mov eax, dword [rsp + 0x24]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x120]
call fcn.18004bd60
mov dword [rsp + 0x20], 0
jmp 0x18004a1f6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x18004a335
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0xb0], rax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + rax]
shr eax, 2
and eax, 0x3fffffff
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 8]
movss xmm0, dword [rcx + rax + 4]
movss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xc0], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 8]
movss xmm0, dword [rsp + 0x78]
movss dword [rcx + rax*4], xmm0
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x20]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x38]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
and eax, 7
mov ecx, 1
mov dword [rsp + 0x7c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x7c]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x120]
movzx ecx, byte [rdx + rcx + 0x6c]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x120]
mov byte [rdx + rcx + 0x6c], al
jmp 0x18004a1ec
mov dx, 0x20
mov rcx, qword [rsp + 0x120]
call fcn.18004b5f0
test rax, rax
je 0x18004a4e2
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + rax]
shr eax, 2
and eax, 0x3fffffff
cmp eax, 9
je 0x18004a3c1
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call fcn.1800662c0
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x90]
add rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov dx, 0x20
mov rcx, qword [rsp + 0x120]
call fcn.18004b5f0
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 [0x1800d9c68]
mov rax, qword [rsp + 0x30]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
cdqe
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 8]
movss xmm0, dword [rsp + 0x80]
movss dword [rcx + rax*4], xmm0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
dec eax
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
cdqe
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x40]
mov word [rcx + rax*2], dx
xor r8d, r8d
mov dx, 0x20
mov rcx, qword [rsp + 0x120]
call fcn.18005eb80
xor r8d, r8d
mov dx, 9
mov rcx, qword [rsp + 0x120]
call fcn.18005eb80
mov eax, 0x2026
mov word [rsp + 0x54], ax
mov eax, 0x85
mov word [rsp + 0x56], ax
mov eax, 0x2e
mov word [rsp + 0x58], ax
mov eax, 0xff0e
mov word [rsp + 0x5a], ax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x54]
cmp eax, 0xffff
jne 0x18004a569
mov r8d, 2
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x120]
call fcn.18004b580
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x54], ax
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
cmp eax, 0xffff
jne 0x18004a5a0
mov r8d, 2
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x120]
call fcn.18004b580
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x56], ax
mov eax, 0xfffd
mov word [rsp + 0x70], ax
mov eax, 0x3f
mov word [rsp + 0x72], ax
mov eax, 0x20
mov word [rsp + 0x74], ax
mov rax, qword [rsp + 0x120]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0x120]
call fcn.18004b660
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x38], 0
jne 0x18004a6ae
mov r8d, 3
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x120]
call fcn.18004b580
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0x120]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0x120]
call fcn.18004b660
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x38], 0
jne 0x18004a6ae
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x98]
add rax, qword [rcx + 8]
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
movss dword [rcx + 0x10], xmm0
mov dword [rsp + 0x28], 0
jmp 0x18004a6e0
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
inc eax
cmp dword [rsp + 0x28], eax
jge 0x18004a760
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
comiss xmm0, dword [rcx + rax*4]
jbe 0x18004a75b
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 0x10]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xf0], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 8]
movss xmm0, dword [rsp + 0x84]
movss dword [rcx + rax*4], xmm0
jmp 0x18004a6d6
add rsp, 0x108
pop rdi
pop rsi
ret