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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x308
mov rax, qword [0x1800ee888]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x320]
mov rax, qword [rax + 0x1a8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x320]
movsx eax, byte [rax + 0x1f2]
test eax, eax
jle 0x18008aa7b
mov byte [rsp + 0x21], 1
jmp 0x18008aa80
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x320]
movsx eax, byte [rax + 0x1f4]
test eax, eax
jle 0x18008aaa3
mov byte [rsp + 0x22], 1
jmp 0x18008aaa8
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x6c], 0
lea r9, [0x18008b720]
mov r8d, 4
mov edx, 0x28
lea rcx, [rsp + 0x260]
call fcn.180006510
mov dword [rsp + 0x30], 0
jmp 0x18008aaec
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x320]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x30], eax
jge 0x18008b03b
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov qword [rsp + 0x188], rcx
movzx ecx, al
mov rax, qword [rsp + 0x188]
shl rax, cl
mov rcx, qword [rsp + 0x320]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x18008ab39
jmp 0x18008aae2
mov rax, qword [rsp + 0x320]
add rax, 0x18
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x190]
add rax, qword [rcx]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18008ab8c
mov dword [rsp + 0xbc], 2
jmp 0x18008ab97
mov dword [rsp + 0xbc], 1
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x104], eax
mov dword [rsp + 0x34], 0
jmp 0x18008abb9
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x104]
cmp dword [rsp + 0x34], eax
jge 0x18008b02d
cmp dword [rsp + 0x34], 0
jne 0x18008abe0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x23], al
jmp 0x18008abed
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x59]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1a0], rax
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1a0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jle 0x18008acb7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
cmp dword [rcx + rax + 0x20], 0
jne 0x18008acb7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 8]
cmp qword [rcx + rax + 0x28], 0
je 0x18008acb7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x140]
mov dword [rcx], eax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 1
je 0x18008acc6
jmp 0x18008abaf
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x18008adf3
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18008ad56
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0xc0], xmm0
movss xmm0, dword [rsp + 0xc0]
comiss xmm0, dword [rsp + 0xc8]
jb 0x18008ad30
movss xmm0, dword [rsp + 0xc0]
movss dword [rsp + 0xd0], xmm0
jmp 0x18008ad42
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0xd0], xmm0
movss xmm0, dword [rsp + 0xd0]
movss dword [rsp + 0x68], xmm0
jmp 0x18008addd
cmp dword [rsp + 0x34], 0
jne 0x18008adcd
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0xe8], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x40]
movss dword [rsp + 0xd8], xmm0
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [rsp + 0xe8]
jb 0x18008adaa
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x90], xmm0
jmp 0x18008adbc
movss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x68], xmm0
jmp 0x18008addd
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x68]
comiss xmm0, dword [rax + 0x28]
jbe 0x18008adf3
jmp 0x18008abaf
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x18008ae1e
mov rax, qword [rsp + 0x320]
movsx eax, byte [rax + 0x1f4]
cmp dword [rsp + 0x30], eax
jge 0x18008ae1e
mov dword [rsp + 0x98], 0
jmp 0x18008ae29
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18008ae46
cmp dword [rsp + 0x34], 0
jne 0x18008ae46
mov dword [rsp + 0x94], 0
jmp 0x18008ae51
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x9c], eax
movsxd rax, dword [rsp + 0x9c]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x260]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x10], 0
jne 0x18008af1b
lea rax, [rsp + 0x21c]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movss xmm0, dword [0x1800e7030]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x148]
movss xmm0, dword [0x1800e7030]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x224]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1800e7114]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1800e7114]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x21c]
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
add rax, 0x14
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x58]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x108], ecx
movzx ecx, al
mov eax, dword [rsp + 0x108]
shl eax, cl
mov dword [rsp + 0x10c], eax
mov eax, dword [rsp + 0x58]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x158]
mov edx, dword [rsp + 0x10c]
mov eax, dword [rcx + rax*4]
or eax, edx
mov ecx, dword [rsp + 0x58]
sar ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x158]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1b0], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1b0]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x22c]
call fcn.180019280
lea rdx, [rsp + 0x22c]
mov rcx, qword [rsp + 0x1b8]
call fcn.180019520
mov eax, dword [rsp + 0x9c]
mov ecx, 1
mov dword [rsp + 0x110], ecx
movzx ecx, al
mov eax, dword [rsp + 0x110]
shl eax, cl
mov ecx, dword [rsp + 0x6c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
jmp 0x18008abaf
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x57], 0xff
jmp 0x18008aae2
cmp dword [rsp + 0x6c], 0
je 0x18008b70c
mov dword [rsp + 0x218], 2
mov rax, qword [rsp + 0x128]
add rax, 0x4290
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x1c0]
call fcn.18007cc40
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x4298]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x170]
mov r8d, 0x14
xor edx, edx
mov rcx, rax
call fcn.1800be6cc
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
mov dword [rsp + 0x118], eax
lea rax, [rsp + 0x170]
mov r8d, dword [rsp + 0x118]
mov edx, 2
mov rcx, rax
call fcn.180081580
mov rax, qword [rsp + 0x320]
movzx eax, byte [rax + 0x1f8]
mov edx, eax
lea rcx, [rsp + 0x170]
call fcn.18008fd90
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18008b10d
mov dword [rsp + 0xa0], 3
jmp 0x18008b118
mov dword [rsp + 0xa0], 2
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x320]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
jmp 0x18008b162
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x18008b5c7
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x270]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x18008b54f
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x260]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x80]
mov rdi, rax
mov rsi, qword [rsp + 0xe0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
je 0x18008b1d3
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x18008b21e
movss xmm0, dword [rsp + 0xf0]
comiss xmm0, dword [rsp + 0x80]
jbe 0x18008b1fa
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0xa4], xmm0
jmp 0x18008b20c
movss xmm0, dword [rsp + 0xf0]
movss dword [rsp + 0xa4], xmm0
movss xmm0, dword [rsp + 0xa4]
movss dword [rsp + 0x80], xmm0
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
je 0x18008b232
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18008b27d
movss xmm0, dword [rsp + 0xf4]
comiss xmm0, dword [rsp + 0x84]
jbe 0x18008b259
movss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0xa8], xmm0
jmp 0x18008b26b
movss xmm0, dword [rsp + 0xf4]
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x84], xmm0
mov eax, dword [rsp + 0x28]
and eax, 1
test eax, eax
je 0x18008b2d3
movss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [rsp + 0xf8]
jb 0x18008b2af
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0xac], xmm0
jmp 0x18008b2c1
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0xac], xmm0
movss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x88], xmm0
mov eax, dword [rsp + 0x28]
and eax, 2
test eax, eax
je 0x18008b33d
mov rax, qword [rsp + 0x320]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x18008b33d
movss xmm0, dword [rsp + 0x8c]
comiss xmm0, dword [rsp + 0xfc]
jb 0x18008b319
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0xb0], xmm0
jmp 0x18008b32b
movss xmm0, dword [rsp + 0xfc]
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 0
jmp 0x18008b368
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 5
jge 0x18008b3a0
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax*4 + 0x14]
not eax
movsxd rcx, dword [rsp + 0x38]
mov ecx, dword [rsp + rcx*4 + 0x170]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov dword [rsp + rcx*4 + 0x170], eax
jmp 0x18008b35e
mov dword [rsp + 0x2c], 0
jmp 0x18008b3b4
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x2c], eax
jge 0x18008b54f
cmp dword [rsp + 0x5c], 0
je 0x18008b54f
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x2c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x120], ecx
movzx ecx, al
mov eax, dword [rsp + 0x120]
shl eax, cl
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x2c]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x1c8]
mov edx, dword [rsp + 0x130]
mov eax, dword [rcx + rax*4]
and eax, edx
test eax, eax
je 0x18008b439
mov dword [rsp + 0xb4], 1
jmp 0x18008b444
mov dword [rsp + 0xb4], 0
movzx eax, byte [rsp + 0xb4]
test eax, eax
jne 0x18008b455
jmp 0x18008b3aa
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1d0], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1d0]
call fcn.18008fd90
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1d8], rax
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1d8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x80]
call fcn.180019930
lea rcx, [rsp + 0x240]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1e0], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1e0]
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x240]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x1e8]
call fcn.1800be640
jmp 0x18008b3aa
cmp dword [rsp + 0x28], 1
jne 0x18008b5c2
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18008b5c2
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x320]
movzx eax, byte [rax + 0x1f8]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1f0]
add rax, qword [rcx + 8]
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x1f8]
call fcn.1800be640
jmp 0x18008b158
mov dword [rsp + 0x3c], 0
jmp 0x18008b5db
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x3c], eax
jge 0x18008b6d7
cmp dword [rsp + 0x40], 0
je 0x18008b6d7
mov eax, dword [rsp + 0x3c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x134], ecx
movzx ecx, al
mov eax, dword [rsp + 0x134]
shl eax, cl
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x3c]
sar eax, 5
cdqe
mov ecx, dword [rsp + 0x100]
mov eax, dword [rsp + rax*4 + 0x170]
and eax, ecx
test eax, eax
je 0x18008b648
mov dword [rsp + 0xb8], 1
jmp 0x18008b653
mov dword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0xb8]
test eax, eax
jne 0x18008b664
jmp 0x18008b5d1
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x200], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x200]
add rax, qword [rcx + 8]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x210]
call fcn.1800be640
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x18008b5d1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
sub eax, 2
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x10]
add rcx, 0x40
mov r8, rax
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax + 0x4298]
call fcn.1800be640
add rsp, 0x308
pop rdi
pop rsi
ret