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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x18013c898]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0x1a8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f2]
test eax, eax
jle 0x18008013b
mov byte [rsp + 0x21], 1
jmp 0x180080140
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f4]
test eax, eax
jle 0x180080163
mov byte [rsp + 0x22], 1
jmp 0x180080168
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x120], 4
lea rax, [rsp + 0x280]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x120]
dec rax
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x228], 0
jbe 0x1800801f7
lea rax, [0x180077680]
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x128]
call qword [rsp + 0x230]
mov rax, qword [rsp + 0x128]
add rax, 0x28
mov qword [rsp + 0x128], rax
jmp 0x180080195
mov dword [rsp + 0x30], 0
jmp 0x18008020b
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x30], eax
jge 0x18008075a
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov qword [rsp + 0x190], rcx
movzx ecx, al
mov rax, qword [rsp + 0x190]
shl rax, cl
mov rcx, qword [rsp + 0x340]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x180080258
jmp 0x180080201
mov rax, qword [rsp + 0x340]
add rax, 0x18
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x198]
add rax, qword [rcx]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800802ab
mov dword [rsp + 0xbc], 2
jmp 0x1800802b6
mov dword [rsp + 0xbc], 1
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x34], 0
jmp 0x1800802d8
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x34], eax
jge 0x18008074c
cmp dword [rsp + 0x34], 0
jne 0x1800802ff
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x23], al
jmp 0x18008030c
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 + 0x1a8], rax
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1a8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jle 0x1800803d6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 8]
cmp dword [rcx + rax + 0x20], 0
jne 0x1800803d6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 8]
cmp qword [rcx + rax + 0x28], 0
je 0x1800803d6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x148]
mov dword [rcx], eax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 1
je 0x1800803e5
jmp 0x1800802ce
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x180080512
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x180080475
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 0x18008044f
movss xmm0, dword [rsp + 0xc0]
movss dword [rsp + 0xd0], xmm0
jmp 0x180080461
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0xd0], xmm0
movss xmm0, dword [rsp + 0xd0]
movss dword [rsp + 0x68], xmm0
jmp 0x1800804fc
cmp dword [rsp + 0x34], 0
jne 0x1800804ec
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 0x1800804c9
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x90], xmm0
jmp 0x1800804db
movss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x68], xmm0
jmp 0x1800804fc
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 0x180080512
jmp 0x1800802ce
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x18008053d
mov rax, qword [rsp + 0x340]
movsx eax, byte [rax + 0x1f4]
cmp dword [rsp + 0x30], eax
jge 0x18008053d
mov dword [rsp + 0x98], 0
jmp 0x180080548
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180080565
cmp dword [rsp + 0x34], 0
jne 0x180080565
mov dword [rsp + 0x94], 0
jmp 0x180080570
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 + 0x280]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x10], 0
jne 0x18008063a
lea rax, [rsp + 0x238]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1800d90ec]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x150]
movss xmm0, dword [0x1800d90ec]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
movss xmm0, dword [0x1800d9cc4]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x158]
movss xmm0, dword [0x1800d9cc4]
movss dword [rax + 4], xmm0
lea rax, [rsp + 0x238]
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 + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x58]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x10c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x10c]
shl eax, cl
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x58]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x160]
mov edx, dword [rsp + 0x110]
mov eax, dword [rcx + rax*4]
or eax, edx
mov ecx, dword [rsp + 0x58]
sar ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x160]
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 + 0x1c0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x1b8], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1b8]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.180010300
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x1c0]
call fcn.180010550
mov eax, dword [rsp + 0x9c]
mov ecx, 1
mov dword [rsp + 0x114], ecx
movzx ecx, al
mov eax, dword [rsp + 0x114]
shl eax, cl
mov ecx, dword [rsp + 0x6c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
jmp 0x1800802ce
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x57], 0xff
jmp 0x180080201
cmp dword [rsp + 0x6c], 0
je 0x180080e2b
mov dword [rsp + 0x220], 2
mov rax, qword [rsp + 0x130]
add rax, 0x4290
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x1c8]
call fcn.180066080
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x4298]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x178]
mov r8d, 0x14
xor edx, edx
mov rcx, rax
call fcn.1800b6420
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
mov dword [rsp + 0x118], eax
lea rax, [rsp + 0x178]
mov r8d, dword [rsp + 0x118]
mov edx, 2
mov rcx, rax
call fcn.18007a9a0
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0x1f8]
mov edx, eax
lea rcx, [rsp + 0x178]
call fcn.180078d50
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18008082c
mov dword [rsp + 0xa0], 3
jmp 0x180080837
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 + 0x340]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
jmp 0x180080881
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x180080ce6
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x290]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x180080c6e
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x280]
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 0x1800808f2
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x18008093d
movss xmm0, dword [rsp + 0xf0]
comiss xmm0, dword [rsp + 0x80]
jbe 0x180080919
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0xa4], xmm0
jmp 0x18008092b
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 0x180080951
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18008099c
movss xmm0, dword [rsp + 0xf4]
comiss xmm0, dword [rsp + 0x84]
jbe 0x180080978
movss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0xa8], xmm0
jmp 0x18008098a
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 0x1800809f2
movss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [rsp + 0xf8]
jb 0x1800809ce
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0xac], xmm0
jmp 0x1800809e0
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 0x180080a5c
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x180080a5c
movss xmm0, dword [rsp + 0x8c]
comiss xmm0, dword [rsp + 0xfc]
jb 0x180080a38
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0xb0], xmm0
jmp 0x180080a4a
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 0x180080a87
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 5
jge 0x180080abf
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 + 0x178]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov dword [rsp + rcx*4 + 0x178], eax
jmp 0x180080a7d
mov dword [rsp + 0x2c], 0
jmp 0x180080ad3
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 0x180080c6e
cmp dword [rsp + 0x5c], 0
je 0x180080c6e
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x2c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x138], ecx
movzx ecx, al
mov eax, dword [rsp + 0x138]
shl eax, cl
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x2c]
sar eax, 5
cdqe
mov rcx, qword [rsp + 0x1d0]
mov edx, dword [rsp + 0x13c]
mov eax, dword [rcx + rax*4]
and eax, edx
test eax, eax
je 0x180080b58
mov dword [rsp + 0xb4], 1
jmp 0x180080b63
mov dword [rsp + 0xb4], 0
movzx eax, byte [rsp + 0xb4]
test eax, eax
jne 0x180080b74
jmp 0x180080ac9
mov rax, qword [rsp + 0xe0]
add rax, 0x14
mov qword [rsp + 0x1d8], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1d8]
call fcn.180078d50
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1e0], rax
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1e0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x80]
call fcn.180034340
lea rcx, [rsp + 0x258]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1e8], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x1e8]
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x258]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x1f0]
call fcn.1800b62e0
jmp 0x180080ac9
cmp dword [rsp + 0x28], 1
jne 0x180080ce1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180080ce1
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0x1f8]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x1f8]
add rax, qword [rcx + 8]
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call fcn.1800b62e0
jmp 0x180080877
mov dword [rsp + 0x3c], 0
jmp 0x180080cfa
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 0x180080df6
cmp dword [rsp + 0x40], 0
je 0x180080df6
mov eax, dword [rsp + 0x3c]
and eax, 0x1f
mov ecx, 1
mov dword [rsp + 0x100], ecx
movzx ecx, al
mov eax, dword [rsp + 0x100]
shl eax, cl
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0x3c]
sar eax, 5
cdqe
mov ecx, dword [rsp + 0x104]
mov eax, dword [rsp + rax*4 + 0x178]
and eax, ecx
test eax, eax
je 0x180080d67
mov dword [rsp + 0xb8], 1
jmp 0x180080d72
mov dword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0xb8]
test eax, eax
jne 0x180080d83
jmp 0x180080cf0
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x208], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x208]
add rax, qword [rcx + 8]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
mov qword [rsp + 0x60], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x218]
call fcn.1800b62e0
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x180080cf0
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 + 0x130]
mov rdx, qword [rax + 0x4298]
call fcn.1800b62e0
add rsp, 0x328
pop rdi
pop rsi
ret