Function at 0x18004cbd0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rax
mov byte [rsp + 1], 0
lea rax, [0x180069190]
mov qword [rsp + 0x18], rax
mov byte [rsp + 6], 0
mov byte [rsp + 0xa], 0
mov rdi, qword [rsp + 0xa8]
xor eax, eax
mov ecx, 0x25
rep stosb byte [rdi], al
mov byte [rsp + 7], 0x10
jmp 0x18004cc2d
movzx eax, byte [rsp + 7]
dec al
mov byte [rsp + 7], al
movzx eax, byte [rsp + 7]
test eax, eax
je 0x18004cd53
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov byte [rsp], al
movzx eax, byte [rsp]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
sub eax, 0x26
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xcd
ja case.0x18004cc99.39
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x4da8c]
mov eax, dword [rcx + rax*4 + 0x4da70]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 1]
or eax, 4
mov byte [rsp + 1], al
jmp 0x18004cd4e
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 1]
or eax, 2
mov byte [rsp + 1], al
jmp 0x18004cd4e
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 2], cl
movzx eax, byte [rsp + 1]
or eax, 0x20
mov byte [rsp + 1], al
jmp 0x18004cd4e
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 3], cl
movzx eax, byte [rsp + 1]
or eax, 0x40
mov byte [rsp + 1], al
jmp 0x18004cd4e
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 4], cl
movzx eax, byte [rsp + 1]
or eax, 8
mov byte [rsp + 1], al
jmp 0x18004cd4e
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 5], cl
movzx eax, byte [rsp + 1]
or eax, 0x10
mov byte [rsp + 1], al
jmp 0x18004cd4e
jmp 0x18004cd53
jmp 0x18004cc22
movzx eax, byte [rsp + 1]
shl eax, 0x17
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 1]
test eax, eax
jne 0x18004cd7b
movzx eax, byte [rsp + 1]
or eax, 1
mov byte [rsp + 1], al
movzx eax, byte [rsp]
and eax, 0xf0
cmp eax, 0x40
jne 0x18004ce61
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
bts eax, 0x1e
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp]
and eax, 0xf
sar eax, 3
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 7], cl
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18004cded
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
and eax, 0xf8
cmp eax, 0xb8
jne 0x18004cded
movzx eax, byte [rsp + 0xa]
inc al
mov byte [rsp + 0xa], al
movzx eax, byte [rsp]
and eax, 7
sar eax, 2
mov rcx, qword [rsp + 0xa8]
mov byte [rcx + 8], al
movzx eax, byte [rsp]
and eax, 3
sar eax, 1
mov rcx, qword [rsp + 0xa8]
mov byte [rcx + 9], al
movzx eax, byte [rsp]
and eax, 1
mov rcx, qword [rsp + 0xa8]
mov byte [rcx + 0xa], al
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov byte [rsp], al
movzx eax, byte [rsp]
and eax, 0xf0
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
cmp dword [rsp + 0x4c], 0x40
jne 0x18004ce61
movzx eax, byte [rsp]
mov byte [rsp + 3], al
jmp 0x18004cf51
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 0xb], cl
movzx eax, byte [rsp]
cmp eax, 0xf
jne 0x18004ceb0
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 0xc], cl
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
add rax, 0x4a
mov qword [rsp + 0x18], rax
jmp 0x18004cef7
movzx eax, byte [rsp]
cmp eax, 0xa0
jl 0x18004cef7
movzx eax, byte [rsp]
cmp eax, 0xa3
jg 0x18004cef7
movzx eax, byte [rsp + 0xa]
inc al
mov byte [rsp + 0xa], al
movzx eax, byte [rsp + 1]
and eax, 0x10
test eax, eax
je 0x18004ceeb
movzx eax, byte [rsp + 1]
or eax, 8
mov byte [rsp + 1], al
jmp 0x18004cef7
movzx eax, byte [rsp + 1]
and eax, 0xfffffff7
mov byte [rsp + 1], al
movzx eax, byte [rsp]
mov byte [rsp + 3], al
movzx eax, byte [rsp + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x50], eax
movzx ecx, byte [rsp + 3]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
mov byte [rsp + 2], al
movzx eax, byte [rsp + 2]
cmp eax, 0xff
jne 0x18004cf89
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov byte [rsp + 2], 0
movzx eax, byte [rsp + 3]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x18004cf89
movzx eax, byte [rsp + 2]
inc al
mov byte [rsp + 2], al
mov byte [rsp + 7], 0
movzx eax, byte [rsp + 2]
and eax, 0x80
test eax, eax
je 0x18004cfc9
movzx eax, byte [rsp + 2]
and eax, 0x7f
cdqe
mov rcx, qword [rsp + 0x18]
movzx eax, word [rcx + rax]
mov word [rsp + 0x24], ax
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 2], al
movzx eax, word [rsp + 0x24]
sar eax, 8
mov byte [rsp + 7], al
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18004d053
lea rax, [0x180069190]
add rax, 0x13c
mov qword [rsp + 0x18], rax
movzx eax, byte [rsp + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
movzx ecx, byte [rsp + 3]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 1]
and eax, ecx
test eax, eax
je 0x18004d053
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 2]
and eax, 1
test eax, eax
je 0x18004d7bd
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 1
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 0xd], cl
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp]
sar eax, 6
mov byte [rsp + 5], al
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 5]
mov byte [rax + 0xe], cl
movzx eax, byte [rsp]
and eax, 7
mov byte [rsp + 9], al
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 9]
mov byte [rax + 0x10], cl
movzx eax, byte [rsp]
and eax, 0x3f
sar eax, 3
mov byte [rsp + 4], al
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 4]
mov byte [rax + 0xf], cl
movzx eax, byte [rsp + 7]
test eax, eax
je 0x18004d130
movzx eax, byte [rsp + 7]
movzx ecx, byte [rsp + 4]
shl eax, cl
and eax, 0x80
test eax, eax
je 0x18004d130
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
jne 0x18004d20a
movzx eax, byte [rsp + 3]
cmp eax, 0xd9
jl 0x18004d20a
movzx eax, byte [rsp + 3]
cmp eax, 0xdf
jg 0x18004d20a
movzx eax, byte [rsp + 3]
sub eax, 0xd9
mov byte [rsp + 8], al
movzx eax, byte [rsp + 5]
cmp eax, 3
jne 0x18004d1b6
lea rax, [0x180069190]
movzx ecx, byte [rsp + 8]
shl ecx, 3
movsxd rcx, ecx
lea rax, [rax + rcx + 0x104]
mov qword [rsp + 0x18], rax
movzx eax, byte [rsp + 4]
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 9]
shl eax, cl
mov byte [rsp + 8], al
jmp 0x18004d1e1
lea rax, [0x180069190]
add rax, 0xfd
mov qword [rsp + 0x18], rax
movzx eax, byte [rsp + 8]
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 4]
shl eax, cl
mov byte [rsp + 8], al
movzx eax, byte [rsp + 8]
and eax, 0x80
test eax, eax
je 0x18004d20a
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 1]
and eax, 0x20
test eax, eax
je 0x18004d32d
movzx eax, byte [rsp + 5]
cmp eax, 3
jne 0x18004d244
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
jmp 0x18004d32d
movzx eax, byte [rsp + 3]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18004d27f
lea rax, [0x180069190]
add rax, 0x1c6
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
add rax, 0x12
mov qword [rsp + 0x70], rax
jmp 0x18004d2ab
lea rax, [0x180069190]
add rax, 0x1ae
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
and eax, 0xfffffffe
mov byte [rsp + 0x20], al
jmp 0x18004d2ba
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x18], rax
je 0x18004d312
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jne 0x18004d310
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 4]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x18004d30e
jmp 0x18004d32d
jmp 0x18004d312
jmp 0x18004d2ad
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18004d3b0
movzx eax, byte [rsp + 3]
mov byte [rsp + 0x30], al
cmp byte [rsp + 0x30], 0x20
je 0x18004d364
cmp byte [rsp + 0x30], 0x21
je 0x18004d389
cmp byte [rsp + 0x30], 0x22
je 0x18004d364
cmp byte [rsp + 0x30], 0x23
je 0x18004d389
jmp 0x18004d3ae
mov byte [rsp + 5], 3
movzx eax, byte [rsp + 4]
cmp eax, 4
jg 0x18004d37d
movzx eax, byte [rsp + 4]
cmp eax, 1
jne 0x18004d384
jmp 0x18004d55e
jmp 0x18004d579
mov byte [rsp + 5], 3
movzx eax, byte [rsp + 4]
cmp eax, 4
je 0x18004d3a2
movzx eax, byte [rsp + 4]
cmp eax, 5
jne 0x18004d3a9
jmp 0x18004d55e
jmp 0x18004d579
jmp 0x18004d3ff
movzx eax, byte [rsp + 3]
mov byte [rsp + 0x44], al
cmp byte [rsp + 0x44], 0x8c
je 0x18004d3c9
cmp byte [rsp + 0x44], 0x8e
je 0x18004d3df
jmp 0x18004d3ff
movzx eax, byte [rsp + 4]
cmp eax, 5
jle 0x18004d3da
jmp 0x18004d55e
jmp 0x18004d579
movzx eax, byte [rsp + 4]
cmp eax, 1
je 0x18004d3f3
movzx eax, byte [rsp + 4]
cmp eax, 5
jle 0x18004d3fa
jmp 0x18004d55e
jmp 0x18004d579
movzx eax, byte [rsp + 5]
cmp eax, 3
jne 0x18004d4f8
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18004d43f
lea rax, [0x180069190]
add rax, 0x1e7
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
add rax, 0x2a
mov qword [rsp + 0x78], rax
jmp 0x18004d45f
lea rax, [0x180069190]
add rax, 0x1d8
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
add rax, 0xf
mov qword [rsp + 0x78], rax
jmp 0x18004d46f
mov rax, qword [rsp + 0x18]
add rax, 2
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x18], rax
je 0x18004d4f1
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
mov dword [rsp + 0x64], eax
movzx eax, byte [rsp + 3]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
jne 0x18004d4ec
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 1]
and eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp dword [rsp + 0x68], 0
je 0x18004d4ea
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 4]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x18004d4ea
jmp 0x18004d55e
jmp 0x18004d4f1
jmp 0x18004d461
jmp 0x18004d579
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18004d55c
movzx eax, byte [rsp + 3]
mov byte [rsp + 0x28], al
cmp byte [rsp + 0x28], 0x50
je 0x18004d536
cmp byte [rsp + 0x28], 0xc5
je 0x18004d556
cmp byte [rsp + 0x28], 0xd6
je 0x18004d546
cmp byte [rsp + 0x28], 0xd7
je 0x18004d536
cmp byte [rsp + 0x28], 0xf7
je 0x18004d536
jmp 0x18004d558
movzx eax, byte [rsp + 1]
and eax, 9
test eax, eax
je 0x18004d544
jmp 0x18004d55e
jmp 0x18004d558
movzx eax, byte [rsp + 1]
and eax, 6
test eax, eax
je 0x18004d554
jmp 0x18004d55e
jmp 0x18004d558
jmp 0x18004d55e
jmp 0x18004d579
jmp 0x18004d579
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x11000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp + 4]
cmp eax, 1
jg 0x18004d5cd
movzx eax, byte [rsp + 3]
cmp eax, 0xf6
jne 0x18004d5b5
movzx eax, byte [rsp + 2]
or eax, 2
mov byte [rsp + 2], al
jmp 0x18004d5cd
movzx eax, byte [rsp + 3]
cmp eax, 0xf7
jne 0x18004d5cd
movzx eax, byte [rsp + 2]
or eax, 0x10
mov byte [rsp + 2], al
movzx eax, byte [rsp + 5]
mov byte [rsp + 0x34], al
cmp byte [rsp + 0x34], 0
je 0x18004d5ed
cmp byte [rsp + 0x34], 1
je 0x18004d61b
cmp byte [rsp + 0x34], 2
je 0x18004d622
jmp 0x18004d63e
movzx eax, byte [rsp + 1]
and eax, 0x10
test eax, eax
je 0x18004d60a
movzx eax, byte [rsp + 9]
cmp eax, 6
jne 0x18004d608
mov byte [rsp + 6], 2
jmp 0x18004d619
movzx eax, byte [rsp + 9]
cmp eax, 5
jne 0x18004d619
mov byte [rsp + 6], 4
jmp 0x18004d63e
mov byte [rsp + 6], 1
jmp 0x18004d63e
mov byte [rsp + 6], 2
movzx eax, byte [rsp + 1]
and eax, 0x10
test eax, eax
jne 0x18004d63e
movzx eax, byte [rsp + 6]
shl al, 1
mov byte [rsp + 6], al
movzx eax, byte [rsp + 5]
cmp eax, 3
je 0x18004d6ec
movzx eax, byte [rsp + 9]
cmp eax, 4
jne 0x18004d6ec
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 2
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp]
mov byte [rax + 0x11], cl
movzx eax, byte [rsp]
sar eax, 6
mov rcx, qword [rsp + 0xa8]
mov byte [rcx + 0x12], al
movzx eax, byte [rsp]
and eax, 0x3f
sar eax, 3
mov rcx, qword [rsp + 0xa8]
mov byte [rcx + 0x13], al
movzx eax, byte [rsp]
and eax, 7
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x3c]
mov byte [rax + 0x14], cl
movzx eax, byte [rsp + 0x3c]
cmp eax, 5
jne 0x18004d6ec
movzx eax, byte [rsp + 5]
and eax, 1
test eax, eax
jne 0x18004d6ec
mov byte [rsp + 6], 4
mov rax, qword [rsp + 0x10]
dec rax
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp + 6]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 1
je 0x18004d71c
cmp byte [rsp + 0x38], 2
je 0x18004d74a
cmp byte [rsp + 0x38], 4
je 0x18004d77a
jmp 0x18004d7a6
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x40
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov byte [rax + 0x1d], cl
jmp 0x18004d7a6
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
bts eax, 7
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x18004d7a6
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
bts eax, 8
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
mov dword [rax + 0x1d], ecx
movzx eax, byte [rsp + 6]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
jmp 0x18004d7e4
movzx eax, byte [rsp + 1]
and eax, 0x20
test eax, eax
je 0x18004d7e4
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 2]
and eax, 0x10
test eax, eax
je 0x18004d8e2
movzx eax, byte [rsp + 2]
and eax, 0x40
test eax, eax
je 0x18004d853
movzx eax, byte [rsp + 1]
and eax, 8
test eax, eax
je 0x18004d84e
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x208
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x10], rax
jmp 0x18004d9fe
jmp 0x18004d97a
movzx eax, byte [rsp + 0xa]
test eax, eax
je 0x18004d899
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x20
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
mov rcx, qword [rcx]
mov qword [rax + 0x15], rcx
mov rax, qword [rsp + 0x10]
add rax, 8
mov qword [rsp + 0x10], rax
jmp 0x18004d8e2
movzx eax, byte [rsp + 1]
and eax, 8
test eax, eax
jne 0x18004d8e0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x10]
add rax, 4
mov qword [rsp + 0x10], rax
jmp 0x18004d8e2
jmp 0x18004d8ee
movzx eax, byte [rsp + 2]
and eax, 4
test eax, eax
je 0x18004d929
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp + 2]
and eax, 2
test eax, eax
je 0x18004d96e
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 4
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp + 2]
and eax, 0x40
test eax, eax
je 0x18004d9b7
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x210
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x10]
add rax, 4
mov qword [rsp + 0x10], rax
jmp 0x18004d9fe
movzx eax, byte [rsp + 2]
and eax, 0x20
test eax, eax
je 0x18004d9fe
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x204
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x10]
sub rcx, rax
mov qword [rsp + 0x80], rcx
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rsp + 0x80]
mov byte [rax], cl
movzx eax, byte [rsp + 0x80]
cmp eax, 0xf
jle 0x18004da5b
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x21]
or eax, 0x5000
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xa8]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
add rsp, 0x90
pop rdi
ret