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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov eax, dword [rsp + 0xd0]
shl eax, 1
movsxd rcx, eax
mov rax, qword [rsp + 0xc8]
lea rax, [rax + rcx*4]
mov qword [rsp], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0xfffffffd
je 0x1800a086c
cmp dword [rsp + 0x70], 0xfffffffe
je 0x1800a05a9
cmp dword [rsp + 0x70], 0xffffffff
je 0x1800a02e6
cmp dword [rsp + 0x70], 0x11
je 0x18009fb68
cmp dword [rsp + 0x70], 0x12
je 0x18009fdd0
jmp 0x1800a005b
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x18009fb85
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x18009fdcb
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
shl eax, 1
mov rcx, qword [rsp + 0xc0]
sub eax, dword [rcx + 0x14]
mov dword [rsp + 0x1c], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x14], eax
movsx eax, word [rsp + 0x1c]
cmp dword [rsp + 0x1c], eax
je 0x18009fc0e
mov edx, dword [rsp + 0x1c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov eax, dword [rsp + 0x1c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x74], eax
jmp 0x18009fc2a
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x1c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rcx], eax
cmp dword [rsp + 0x1c], 0
je 0x18009fcac
cmp dword [rsp + 0x20], 0
je 0x18009fcac
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x1c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x24]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 8]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
shl eax, 1
mov rcx, qword [rsp + 0xc0]
sub eax, dword [rcx + 0x34]
mov dword [rsp + 0x1c], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x34], eax
movsx eax, word [rsp + 0x1c]
cmp dword [rsp + 0x1c], eax
je 0x18009fd26
mov edx, dword [rsp + 0x1c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov eax, dword [rsp + 0x1c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x78], eax
jmp 0x18009fd42
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rsp + 0x1c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
mov dword [rcx + 4], eax
cmp dword [rsp + 0x1c], 0
je 0x18009fdc6
cmp dword [rsp + 0x20], 0
je 0x18009fdc6
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x1c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x28]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
jmp 0x18009fb77
jmp 0x1800a0b6b
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x18009fded
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x1800a0056
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x14]
mov eax, dword [rdx + 0x10]
sub eax, ecx
sar eax, 1
mov rcx, qword [rsp + 0xc0]
add eax, dword [rcx + 0x10]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x14], eax
movsx eax, word [rsp + 0x2c]
cmp dword [rsp + 0x2c], eax
je 0x18009fe83
mov edx, dword [rsp + 0x2c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov eax, dword [rsp + 0x2c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x7c], eax
jmp 0x18009fe9f
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x2c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rcx], eax
cmp dword [rsp + 0x2c], 0
je 0x18009ff21
cmp dword [rsp + 0x30], 0
je 0x18009ff21
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x2c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x34]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + 8]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x34]
mov eax, dword [rdx + 0x30]
sub eax, ecx
sar eax, 1
mov rcx, qword [rsp + 0xc0]
add eax, dword [rcx + 0x30]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x34], eax
movsx eax, word [rsp + 0x2c]
cmp dword [rsp + 0x2c], eax
je 0x18009ffab
mov edx, dword [rsp + 0x2c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov eax, dword [rsp + 0x2c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x80], eax
jmp 0x18009ffca
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rsp + 0x2c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
mov dword [rcx + 4], eax
cmp dword [rsp + 0x2c], 0
je 0x1800a0051
cmp dword [rsp + 0x30], 0
je 0x1800a0051
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x2c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x38]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
jmp 0x18009fddf
jmp 0x1800a0b6b
mov dword [rsp + 0x18], 0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
and eax, 7
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x1800a0091
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x1800a02e1
movsxd rcx, dword [rsp + 0x18]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rcx*4 + 0x10]
mov dword [rsp + 0x3c], eax
movsx eax, word [rsp + 0x3c]
cmp dword [rsp + 0x3c], eax
je 0x1800a0100
mov edx, dword [rsp + 0x3c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov eax, dword [rsp + 0x3c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x84], eax
jmp 0x1800a011f
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x3c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
mov edx, dword [rsp + 0x84]
add edx, eax
movsxd rcx, dword [rsp + 8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x10], edx
cmp dword [rsp + 0x3c], 0
je 0x1800a0196
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0
je 0x1800a0196
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
mov eax, dword [rsp + 0x3c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x40]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax + 8]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
movsxd rdx, dword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rdx*4 + 0x10]
mov dword [rcx], eax
movsxd rcx, dword [rsp + 0x18]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rcx*4 + 0x30]
mov dword [rsp + 0x3c], eax
movsx eax, word [rsp + 0x3c]
cmp dword [rsp + 0x3c], eax
je 0x1800a020e
mov edx, dword [rsp + 0x3c]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov eax, dword [rsp + 0x3c]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x88], eax
jmp 0x1800a022d
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rsp + 0x3c]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 4]
mov edx, dword [rsp + 0x88]
add edx, eax
movsxd rcx, dword [rsp + 8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x30], edx
cmp dword [rsp + 0x3c], 0
je 0x1800a02a7
mov rax, qword [rsp + 0x10]
cmp dword [rax + 4], 0
je 0x1800a02a7
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [rsp + 0x3c]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x44]
mov edx, dword [rcx + 4]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
movsxd rdx, dword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rdx*4 + 0x30]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x18]
add eax, 1
and eax, 7
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 8]
add eax, 1
and eax, 7
mov dword [rsp + 8], eax
jmp 0x1800a0083
jmp 0x1800a0b6b
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x1800a0303
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x1800a05a4
mov rax, qword [rsp + 0xc0]
movsx ecx, word [rax + 0x10]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], ecx
je 0x1800a0379
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x10]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x8c], eax
jmp 0x1800a039f
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rcx + 0x10]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
add eax, dword [rsp + 0x8c]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], 0
je 0x1800a045d
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0
je 0x1800a045d
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
mov eax, dword [rdx + 0x10]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x4c]
mov edx, dword [rcx + 8]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0x400
jle 0x1800a043d
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rcx + 8]
xor ecx, eax
sub ecx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x10]
mov eax, dword [rsp + 0x48]
mov dword [rcx], eax
movsx eax, word [rsp + 0x48]
cmp dword [rsp + 0x48], eax
je 0x1800a04b3
mov edx, dword [rsp + 0x48]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov eax, dword [rsp + 0x48]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x90], eax
jmp 0x1800a04d2
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rsp + 0x48]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 4]
add ecx, dword [rsp + 0x90]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x10], ecx
cmp dword [rsp + 0x48], 0
je 0x1800a058c
mov rax, qword [rsp + 0x10]
cmp dword [rax + 4], 0
je 0x1800a058c
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [rsp + 0x48]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov edx, dword [rcx + 0xc]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x50]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 0x400
jle 0x1800a056c
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rcx + 0xc]
xor ecx, eax
sub ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rcx + 4], eax
jmp 0x1800a02f5
jmp 0x1800a0b6b
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x1800a05c6
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x1800a0867
mov rax, qword [rsp + 0xc0]
movsx ecx, word [rax + 0x30]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x30], ecx
je 0x1800a063c
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x30]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x94], eax
jmp 0x1800a0662
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rcx + 0x30]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x94]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x30], 0
je 0x1800a0723
mov rax, qword [rsp + 0x10]
cmp dword [rax + 4], 0
je 0x1800a0723
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0x30]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x58]
mov edx, dword [rcx + 0xc]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 0x400
jle 0x1800a0703
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x58]
mov ecx, dword [rcx + 0xc]
xor ecx, eax
sub ecx, dword [rsp + 0x58]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rcx, qword [rsp + 0x10]
mov eax, dword [rsp + 0x54]
mov dword [rcx + 4], eax
movsx eax, word [rsp + 0x54]
cmp dword [rsp + 0x54], eax
je 0x1800a077a
mov edx, dword [rsp + 0x54]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov eax, dword [rsp + 0x54]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x98], eax
jmp 0x1800a0799
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x54]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
add ecx, dword [rsp + 0x98]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x30], ecx
cmp dword [rsp + 0x54], 0
je 0x1800a0850
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0
je 0x1800a0850
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
mov eax, dword [rsp + 0x54]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x5c]
mov edx, dword [rcx + 8]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0x400
jle 0x1800a0830
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rcx + 8]
xor ecx, eax
sub ecx, dword [rsp + 0x5c]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
mov dword [rcx], eax
jmp 0x1800a05b8
jmp 0x1800a0b6b
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x10], rax
jmp 0x1800a0889
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
cmp qword [rsp + 0x10], rax
jae 0x1800a0b6b
mov rax, qword [rsp + 0xc0]
movsx ecx, word [rax + 0x10]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], ecx
je 0x1800a08ff
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x10]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 8]
sar edx, 9
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 8]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0x9c], eax
jmp 0x1800a0925
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
imul eax, dword [rcx + 0x10]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
add eax, dword [rsp + 0x9c]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x10], 0
je 0x1800a09e3
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0
je 0x1800a09e3
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax]
mov eax, dword [rdx + 0x10]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x68]
mov edx, dword [rcx + 8]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x68]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0x400
jle 0x1800a09c3
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rcx + 8]
xor ecx, eax
sub ecx, dword [rsp + 0x68]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xc0]
movsx ecx, word [rax + 0x30]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x30], ecx
je 0x1800a0a4a
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x30]
and edx, 0xffff
mov rax, qword [rsp + 0xc0]
imul edx, dword [rax + 0xc]
sar edx, 9
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
and eax, 0xffff0000
sar eax, 9
mov rcx, qword [rsp + 0xc0]
imul eax, dword [rcx + 0xc]
lea eax, [rdx + rax + 1]
sar eax, 1
mov dword [rsp + 0xa0], eax
jmp 0x1800a0a70
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
imul eax, dword [rcx + 0x30]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0xa0]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x30], 0
je 0x1800a0b31
mov rax, qword [rsp + 0x10]
cmp dword [rax + 4], 0
je 0x1800a0b31
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0x30]
xor eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x6c]
mov edx, dword [rcx + 0xc]
xor edx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 4]
sub eax, ecx
mov ecx, edx
add ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 0x400
jle 0x1800a0b11
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], 0x400
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0xc]
xor ecx, eax
sub ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x30], eax
mov rcx, qword [rsp + 0x10]
mov eax, dword [rsp + 0x64]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x60]
mov dword [rcx + 0x10], eax
mov rcx, qword [rsp + 0x10]
mov eax, dword [rsp + 0x60]
mov dword [rcx + 4], eax
jmp 0x1800a087b
add rsp, 0xb8
ret