Function at 0x180077ba0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x21], 0
lea rax, [0x180178110]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x26], 0
mov byte [rsp + 0x2a], 0
mov r8d, 0x25
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + 0x27], 0x10
jmp 0x180077c00
movzx eax, byte [rsp + 0x27]
dec al
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x180077d2e
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x26
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xcd
ja case.0x180077c6e.39
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x78abc]
mov eax, dword [rcx + rax*4 + 0x78a8c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x21]
or eax, 4
mov byte [rsp + 0x21], al
jmp 0x180077d29
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x21]
or eax, 2
mov byte [rsp + 0x21], al
jmp 0x180077d29
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 2], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x20
mov byte [rsp + 0x21], al
jmp 0x180077d29
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 3], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x40
mov byte [rsp + 0x21], al
jmp 0x180077d29
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 4], cl
movzx eax, byte [rsp + 0x21]
or eax, 8
mov byte [rsp + 0x21], al
jmp 0x180077d29
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 5], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x10
mov byte [rsp + 0x21], al
jmp 0x180077d29
jmp 0x180077d2e
jmp 0x180077bf5
movzx eax, byte [rsp + 0x21]
shl eax, 0x17
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x180077d56
movzx eax, byte [rsp + 0x21]
or eax, 1
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x20]
and eax, 0xf0
cmp eax, 0x40
jne 0x180077e44
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
bts eax, 0x1e
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x20]
and eax, 0xf
sar eax, 3
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x60]
mov byte [rax + 7], cl
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x180077dca
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
and eax, 0xf8
cmp eax, 0xb8
jne 0x180077dca
movzx eax, byte [rsp + 0x2a]
inc al
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x20]
and eax, 7
sar eax, 2
mov rcx, qword [rsp + 0xc8]
mov byte [rcx + 8], al
movzx eax, byte [rsp + 0x20]
and eax, 3
sar eax, 1
mov rcx, qword [rsp + 0xc8]
mov byte [rcx + 9], al
movzx eax, byte [rsp + 0x20]
and eax, 1
mov rcx, qword [rsp + 0xc8]
mov byte [rcx + 0xa], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
and eax, 0xf0
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x6c], 0x40
jne 0x180077e44
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
jmp 0x180077f3b
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xb], cl
movzx eax, byte [rsp + 0x20]
cmp eax, 0xf
jne 0x180077e97
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xc], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 0x4a
mov qword [rsp + 0x38], rax
jmp 0x180077ee0
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa0
jl 0x180077ee0
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa3
jg 0x180077ee0
movzx eax, byte [rsp + 0x2a]
inc al
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
je 0x180077ed4
movzx eax, byte [rsp + 0x21]
or eax, 8
mov byte [rsp + 0x21], al
jmp 0x180077ee0
movzx eax, byte [rsp + 0x21]
and eax, 0xfffffff7
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x70], eax
movzx ecx, byte [rsp + 0x23]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
cmp eax, 0xff
jne 0x180077f73
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x23]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x180077f73
movzx eax, byte [rsp + 0x22]
inc al
mov byte [rsp + 0x22], al
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x22]
and eax, 0x80
test eax, eax
je 0x180077fb3
movzx eax, byte [rsp + 0x22]
and eax, 0x7f
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax]
mov word [rsp + 0x44], ax
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x22], al
movzx eax, word [rsp + 0x44]
sar eax, 8
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18007803d
lea rax, [0x180178110]
add rax, 0x13c
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x74], eax
movzx ecx, byte [rsp + 0x23]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x21]
and eax, ecx
test eax, eax
je 0x18007803d
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x22]
and eax, 1
test eax, eax
je 0x1800787d9
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 1
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xd], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x20]
sar eax, 6
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x25]
mov byte [rax + 0xe], cl
movzx eax, byte [rsp + 0x20]
and eax, 7
mov byte [rsp + 0x29], al
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x29]
mov byte [rax + 0x10], cl
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
sar eax, 3
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0xf], cl
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x18007811f
movzx eax, byte [rsp + 0x27]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
je 0x18007811f
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
jne 0x1800781f9
movzx eax, byte [rsp + 0x23]
cmp eax, 0xd9
jl 0x1800781f9
movzx eax, byte [rsp + 0x23]
cmp eax, 0xdf
jg 0x1800781f9
movzx eax, byte [rsp + 0x23]
sub eax, 0xd9
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x1800781a5
lea rax, [0x180178110]
movzx ecx, byte [rsp + 0x28]
shl ecx, 3
movsxd rcx, ecx
lea rax, [rax + rcx + 0x104]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x29]
shl eax, cl
mov byte [rsp + 0x28], al
jmp 0x1800781d0
lea rax, [0x180178110]
add rax, 0xfd
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
and eax, 0x80
test eax, eax
je 0x1800781f9
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x21]
and eax, 0x20
test eax, eax
je 0x180078325
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x180078233
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
jmp 0x180078325
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180078271
lea rax, [0x180178110]
add rax, 0x1c6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x12
mov qword [rsp + 0x90], rax
jmp 0x1800782a0
lea rax, [0x180178110]
add rax, 0x1ae
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x40]
and eax, 0xfffffffe
mov byte [rsp + 0x40], al
jmp 0x1800782af
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x38], rax
je 0x18007830a
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
jne 0x180078308
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x180078306
jmp 0x180078325
jmp 0x18007830a
jmp 0x1800782a2
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x1800783a8
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x50], al
cmp byte [rsp + 0x50], 0x20
je 0x18007835c
cmp byte [rsp + 0x50], 0x21
je 0x180078381
cmp byte [rsp + 0x50], 0x22
je 0x18007835c
cmp byte [rsp + 0x50], 0x23
je 0x180078381
jmp 0x1800783a6
mov byte [rsp + 0x25], 3
movzx eax, byte [rsp + 0x24]
cmp eax, 4
jg 0x180078375
movzx eax, byte [rsp + 0x24]
cmp eax, 1
jne 0x18007837c
jmp 0x180078575
jmp 0x180078590
mov byte [rsp + 0x25], 3
movzx eax, byte [rsp + 0x24]
cmp eax, 4
je 0x18007839a
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jne 0x1800783a1
jmp 0x180078575
jmp 0x180078590
jmp 0x1800783f7
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x64], al
cmp byte [rsp + 0x64], 0x8c
je 0x1800783c1
cmp byte [rsp + 0x64], 0x8e
je 0x1800783d7
jmp 0x1800783f7
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jle 0x1800783d2
jmp 0x180078575
jmp 0x180078590
movzx eax, byte [rsp + 0x24]
cmp eax, 1
je 0x1800783eb
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jle 0x1800783f2
jmp 0x180078575
jmp 0x180078590
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x18007850f
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18007843a
lea rax, [0x180178110]
add rax, 0x1e7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x2a
mov qword [rsp + 0x98], rax
jmp 0x18007845d
lea rax, [0x180178110]
add rax, 0x1d8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0xf
mov qword [rsp + 0x98], rax
jmp 0x18007846d
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x38], rax
je 0x180078508
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x84], eax
movzx eax, byte [rsp + 0x23]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x84], eax
jne 0x180078503
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x21]
and eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x88], 0
je 0x180078501
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x180078501
jmp 0x180078575
jmp 0x180078508
jmp 0x18007845f
jmp 0x180078590
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180078573
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x48], al
cmp byte [rsp + 0x48], 0x50
je 0x18007854d
cmp byte [rsp + 0x48], 0xc5
je 0x18007856d
cmp byte [rsp + 0x48], 0xd6
je 0x18007855d
cmp byte [rsp + 0x48], 0xd7
je 0x18007854d
cmp byte [rsp + 0x48], 0xf7
je 0x18007854d
jmp 0x18007856f
movzx eax, byte [rsp + 0x21]
and eax, 9
test eax, eax
je 0x18007855b
jmp 0x180078575
jmp 0x18007856f
movzx eax, byte [rsp + 0x21]
and eax, 6
test eax, eax
je 0x18007856b
jmp 0x180078575
jmp 0x18007856f
jmp 0x180078575
jmp 0x180078590
jmp 0x180078590
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x11000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x24]
cmp eax, 1
jg 0x1800785e5
movzx eax, byte [rsp + 0x23]
cmp eax, 0xf6
jne 0x1800785cd
movzx eax, byte [rsp + 0x22]
or eax, 2
mov byte [rsp + 0x22], al
jmp 0x1800785e5
movzx eax, byte [rsp + 0x23]
cmp eax, 0xf7
jne 0x1800785e5
movzx eax, byte [rsp + 0x22]
or eax, 0x10
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x54], al
cmp byte [rsp + 0x54], 0
je 0x180078605
cmp byte [rsp + 0x54], 1
je 0x180078633
cmp byte [rsp + 0x54], 2
je 0x18007863a
jmp 0x180078656
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
je 0x180078622
movzx eax, byte [rsp + 0x29]
cmp eax, 6
jne 0x180078620
mov byte [rsp + 0x26], 2
jmp 0x180078631
movzx eax, byte [rsp + 0x29]
cmp eax, 5
jne 0x180078631
mov byte [rsp + 0x26], 4
jmp 0x180078656
mov byte [rsp + 0x26], 1
jmp 0x180078656
mov byte [rsp + 0x26], 2
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
jne 0x180078656
movzx eax, byte [rsp + 0x26]
shl al, 1
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x25]
cmp eax, 3
je 0x180078708
movzx eax, byte [rsp + 0x29]
cmp eax, 4
jne 0x180078708
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 2
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x11], cl
movzx eax, byte [rsp + 0x20]
sar eax, 6
mov rcx, qword [rsp + 0xc8]
mov byte [rcx + 0x12], al
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
sar eax, 3
mov rcx, qword [rsp + 0xc8]
mov byte [rcx + 0x13], al
movzx eax, byte [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0x5c]
mov byte [rax + 0x14], cl
movzx eax, byte [rsp + 0x5c]
cmp eax, 5
jne 0x180078708
movzx eax, byte [rsp + 0x25]
and eax, 1
test eax, eax
jne 0x180078708
mov byte [rsp + 0x26], 4
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x58], al
cmp byte [rsp + 0x58], 1
je 0x180078738
cmp byte [rsp + 0x58], 2
je 0x180078766
cmp byte [rsp + 0x58], 4
je 0x180078796
jmp 0x1800787c2
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x40
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
mov byte [rax + 0x1d], cl
jmp 0x1800787c2
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
bts eax, 7
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x1800787c2
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
bts eax, 8
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax + 0x1d], ecx
movzx eax, byte [rsp + 0x26]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x180078800
movzx eax, byte [rsp + 0x21]
and eax, 0x20
test eax, eax
je 0x180078800
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x22]
and eax, 0x10
test eax, eax
je 0x1800788fe
movzx eax, byte [rsp + 0x22]
and eax, 0x40
test eax, eax
je 0x18007886f
movzx eax, byte [rsp + 0x21]
and eax, 8
test eax, eax
je 0x18007886a
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x208
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x180078a1a
jmp 0x180078996
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x1800788b5
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x20
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
mov qword [rax + 0x15], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
jmp 0x1800788fe
movzx eax, byte [rsp + 0x21]
and eax, 8
test eax, eax
jne 0x1800788fc
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
jmp 0x1800788fe
jmp 0x18007890a
movzx eax, byte [rsp + 0x22]
and eax, 4
test eax, eax
je 0x180078945
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x22]
and eax, 2
test eax, eax
je 0x18007898a
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 4
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x22]
and eax, 0x40
test eax, eax
je 0x1800789d3
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x210
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
jmp 0x180078a1a
movzx eax, byte [rsp + 0x22]
and eax, 0x20
test eax, eax
je 0x180078a1a
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x204
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov qword [rsp + 0xa0], rcx
mov rax, qword [rsp + 0xc8]
movzx ecx, byte [rsp + 0xa0]
mov byte [rax], cl
movzx eax, byte [rsp + 0xa0]
cmp eax, 0xf
jle 0x180078a77
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x21]
or eax, 0x5000
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc8]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax]
add rsp, 0xb8
ret