Function at 0x180057900
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov rdi, rsp
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov byte [rsp + 0x68], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x32], 0
lea rax, [0x180072180]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x43], 0
mov byte [rsp + 0x44], 0
mov rdi, qword [rsp + 0xe8]
xor eax, eax
mov ecx, 0x25
rep stosb byte [rdi], al
mov byte [rsp + 0x20], 0x10
jmp 0x180057979
movzx eax, byte [rsp + 0x20]
dec al
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180057b37
mov byte [rsp + 0x68], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x68], 0
jne 0x1800579aa
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x26
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0xcd
ja case.0x1800579ff.39
movsxd rax, dword [rsp + 0x70]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x58b10]
mov eax, dword [rcx + rax*4 + 0x58af4]
add rax, rcx
jmp rax
cmp byte [rsp + 0x68], 0
jne 0x180057a14
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x32]
or eax, 4
mov byte [rsp + 0x32], al
jmp 0x180057b32
cmp byte [rsp + 0x68], 0
jne 0x180057a48
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x32]
or eax, 2
mov byte [rsp + 0x32], al
jmp 0x180057b32
cmp byte [rsp + 0x68], 0
jne 0x180057a7c
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 2], cl
movzx eax, byte [rsp + 0x32]
or eax, 0x20
mov byte [rsp + 0x32], al
jmp 0x180057b32
cmp byte [rsp + 0x68], 0
jne 0x180057ab0
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 3], cl
movzx eax, byte [rsp + 0x32]
or eax, 0x40
mov byte [rsp + 0x32], al
jmp 0x180057b32
cmp byte [rsp + 0x68], 0
jne 0x180057ae1
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 4], cl
movzx eax, byte [rsp + 0x32]
or eax, 8
mov byte [rsp + 0x32], al
jmp 0x180057b32
cmp byte [rsp + 0x68], 0
jne 0x180057b12
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 5], cl
movzx eax, byte [rsp + 0x32]
or eax, 0x10
mov byte [rsp + 0x32], al
jmp 0x180057b32
jmp 0x180057b37
jmp 0x18005796e
movzx eax, byte [rsp + 0x32]
shl eax, 0x17
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x180057b5f
movzx eax, byte [rsp + 0x32]
or eax, 1
mov byte [rsp + 0x32], al
cmp byte [rsp + 0x68], 0
jne 0x180057b72
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 0xf0
cmp eax, 0x40
jne 0x180057cf0
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
bts eax, 0x1e
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
cmp byte [rsp + 0x68], 0
jne 0x180057bb2
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 0xf
sar eax, 3
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x74]
mov byte [rax + 7], cl
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x180057bf9
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
and eax, 0xf8
cmp eax, 0xb8
jne 0x180057bf9
movzx eax, byte [rsp + 0x44]
inc al
mov byte [rsp + 0x44], al
cmp byte [rsp + 0x68], 0
jne 0x180057c0c
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 7
sar eax, 2
mov rcx, qword [rsp + 0xe8]
mov byte [rcx + 8], al
cmp byte [rsp + 0x68], 0
jne 0x180057c35
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 3
sar eax, 1
mov rcx, qword [rsp + 0xe8]
mov byte [rcx + 9], al
cmp byte [rsp + 0x68], 0
jne 0x180057c5d
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 1
mov rcx, qword [rsp + 0xe8]
mov byte [rcx + 0xa], al
mov byte [rsp + 0x68], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x68], 0
jne 0x180057c94
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 0xf0
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x78], 0x40
jne 0x180057cc0
mov dword [rsp + 0x7c], 1
jmp 0x180057cc8
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0x7c], 0
je 0x180057cf0
cmp byte [rsp + 0x68], 0
jne 0x180057ce2
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x31], al
jmp 0x180057e64
cmp byte [rsp + 0x68], 0
jne 0x180057d03
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 0xb], cl
cmp byte [rsp + 0x68], 0
jne 0x180057d26
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
cmp eax, 0xf
jne 0x180057d81
mov byte [rsp + 0x68], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x68], 0
jne 0x180057d54
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 0xc], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
add rax, 0x4a
mov qword [rsp + 0x38], rax
jmp 0x180057df0
cmp byte [rsp + 0x68], 0
jne 0x180057d94
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
cmp eax, 0xa0
jl 0x180057df0
cmp byte [rsp + 0x68], 0
jne 0x180057db3
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
cmp eax, 0xa3
jg 0x180057df0
movzx eax, byte [rsp + 0x44]
inc al
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x32]
and eax, 0x10
test eax, eax
je 0x180057de4
movzx eax, byte [rsp + 0x32]
or eax, 8
mov byte [rsp + 0x32], al
jmp 0x180057df0
movzx eax, byte [rsp + 0x32]
and eax, 0xfffffff7
mov byte [rsp + 0x32], al
cmp byte [rsp + 0x68], 0
jne 0x180057e03
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x80], eax
movzx ecx, byte [rsp + 0x31]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
cmp eax, 0xff
jne 0x180057e9c
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x180057e9c
movzx eax, byte [rsp + 0x30]
inc al
mov byte [rsp + 0x30], al
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x30]
and eax, 0x80
test eax, eax
je 0x180057edc
movzx eax, byte [rsp + 0x30]
and eax, 0x7f
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax]
mov word [rsp + 0x48], ax
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x30], al
movzx eax, word [rsp + 0x48]
sar eax, 8
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180057f70
lea rax, [0x180072180]
add rax, 0x13c
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x31]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x84], eax
movzx ecx, byte [rsp + 0x31]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x32]
and eax, ecx
test eax, eax
je 0x180057f70
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x30]
and eax, 1
test eax, eax
je 0x180058841
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 1
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov byte [rsp + 0x68], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x68], 0
jne 0x180057fbd
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 0xd], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp byte [rsp + 0x68], 0
jne 0x180057fed
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
sar eax, 6
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0xe], cl
cmp byte [rsp + 0x68], 0
jne 0x18005801c
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 7
mov byte [rsp + 0x42], al
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x42]
mov byte [rax + 0x10], cl
cmp byte [rsp + 0x68], 0
jne 0x18005804b
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 0x3f
sar eax, 3
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x41]
mov byte [rax + 0xf], cl
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800580a3
movzx eax, byte [rsp + 0x20]
movzx ecx, byte [rsp + 0x41]
shl eax, cl
and eax, 0x80
test eax, eax
je 0x1800580a3
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
jne 0x18005817d
movzx eax, byte [rsp + 0x31]
cmp eax, 0xd9
jl 0x18005817d
movzx eax, byte [rsp + 0x31]
cmp eax, 0xdf
jg 0x18005817d
movzx eax, byte [rsp + 0x31]
sub eax, 0xd9
mov byte [rsp + 0x4c], al
movzx eax, byte [rsp + 0x40]
cmp eax, 3
jne 0x180058129
lea rax, [0x180072180]
movzx ecx, byte [rsp + 0x4c]
shl ecx, 3
movsxd rcx, ecx
lea rax, [rax + rcx + 0x104]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x42]
shl eax, cl
mov byte [rsp + 0x4c], al
jmp 0x180058154
lea rax, [0x180072180]
add rax, 0xfd
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x4c]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x41]
shl eax, cl
mov byte [rsp + 0x4c], al
movzx eax, byte [rsp + 0x4c]
and eax, 0x80
test eax, eax
je 0x18005817d
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x32]
and eax, 0x20
test eax, eax
je 0x1800582d1
movzx eax, byte [rsp + 0x40]
cmp eax, 3
jne 0x1800581b7
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
jmp 0x1800582d1
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x1800581f2
lea rax, [0x180072180]
add rax, 0x1c6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x12
mov qword [rsp + 0x50], rax
jmp 0x18005821e
lea rax, [0x180072180]
add rax, 0x1ae
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x58]
and eax, 0xfffffffe
mov byte [rsp + 0x58], al
jmp 0x18005822d
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
je 0x1800582b6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x88], eax
movzx eax, byte [rsp + 0x58]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x88], eax
jne 0x18005827e
mov dword [rsp + 0x90], 1
jmp 0x180058289
mov dword [rsp + 0x90], 0
cmp dword [rsp + 0x90], 0
je 0x1800582b1
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x41]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x1800582af
jmp 0x1800582d1
jmp 0x1800582b6
jmp 0x180058220
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180058367
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x94], al
cmp byte [rsp + 0x94], 0x20
je 0x18005831b
cmp byte [rsp + 0x94], 0x21
je 0x180058340
cmp byte [rsp + 0x94], 0x22
je 0x18005831b
cmp byte [rsp + 0x94], 0x23
je 0x180058340
jmp 0x180058365
mov byte [rsp + 0x40], 3
movzx eax, byte [rsp + 0x41]
cmp eax, 4
jg 0x180058334
movzx eax, byte [rsp + 0x41]
cmp eax, 1
jne 0x18005833b
jmp 0x18005856b
jmp 0x180058586
mov byte [rsp + 0x40], 3
movzx eax, byte [rsp + 0x41]
cmp eax, 4
je 0x180058359
movzx eax, byte [rsp + 0x41]
cmp eax, 5
jne 0x180058360
jmp 0x18005856b
jmp 0x180058586
jmp 0x1800583bf
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x98], al
cmp byte [rsp + 0x98], 0x8c
je 0x180058389
cmp byte [rsp + 0x98], 0x8e
je 0x18005839f
jmp 0x1800583bf
movzx eax, byte [rsp + 0x41]
cmp eax, 5
jle 0x18005839a
jmp 0x18005856b
jmp 0x180058586
movzx eax, byte [rsp + 0x41]
cmp eax, 1
je 0x1800583b3
movzx eax, byte [rsp + 0x41]
cmp eax, 5
jle 0x1800583ba
jmp 0x18005856b
jmp 0x180058586
movzx eax, byte [rsp + 0x40]
cmp eax, 3
jne 0x1800584f3
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x1800583ff
lea rax, [0x180072180]
add rax, 0x1e7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x2a
mov qword [rsp + 0x60], rax
jmp 0x18005841f
lea rax, [0x180072180]
add rax, 0x1d8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0xf
mov qword [rsp + 0x60], rax
jmp 0x18005842f
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
je 0x1800584ec
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x9c], eax
movzx eax, byte [rsp + 0x31]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x9c], eax
jne 0x180058484
mov dword [rsp + 0xa4], 1
jmp 0x18005848f
mov dword [rsp + 0xa4], 0
cmp dword [rsp + 0xa4], 0
je 0x1800584e7
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x32]
and eax, ecx
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0xa8], 0
je 0x1800584e5
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x41]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x1800584e5
jmp 0x18005856b
jmp 0x1800584ec
jmp 0x180058421
jmp 0x180058586
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180058569
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0xac], al
cmp byte [rsp + 0xac], 0x50
je 0x180058543
cmp byte [rsp + 0xac], 0xc5
je 0x180058563
cmp byte [rsp + 0xac], 0xd6
je 0x180058553
cmp byte [rsp + 0xac], 0xd7
je 0x180058543
cmp byte [rsp + 0xac], 0xf7
je 0x180058543
jmp 0x180058565
movzx eax, byte [rsp + 0x32]
and eax, 9
test eax, eax
je 0x180058551
jmp 0x18005856b
jmp 0x180058565
movzx eax, byte [rsp + 0x32]
and eax, 6
test eax, eax
je 0x180058561
jmp 0x18005856b
jmp 0x180058565
jmp 0x18005856b
jmp 0x180058586
jmp 0x180058586
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x11000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov byte [rsp + 0x68], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x41]
cmp eax, 1
jg 0x1800585e0
movzx eax, byte [rsp + 0x31]
cmp eax, 0xf6
jne 0x1800585c8
movzx eax, byte [rsp + 0x30]
or eax, 2
mov byte [rsp + 0x30], al
jmp 0x1800585e0
movzx eax, byte [rsp + 0x31]
cmp eax, 0xf7
jne 0x1800585e0
movzx eax, byte [rsp + 0x30]
or eax, 0x10
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0xb0], al
cmp byte [rsp + 0xb0], 0
je 0x18005860c
cmp byte [rsp + 0xb0], 1
je 0x18005863a
cmp byte [rsp + 0xb0], 2
je 0x180058641
jmp 0x18005865d
movzx eax, byte [rsp + 0x32]
and eax, 0x10
test eax, eax
je 0x180058629
movzx eax, byte [rsp + 0x42]
cmp eax, 6
jne 0x180058627
mov byte [rsp + 0x43], 2
jmp 0x180058638
movzx eax, byte [rsp + 0x42]
cmp eax, 5
jne 0x180058638
mov byte [rsp + 0x43], 4
jmp 0x18005865d
mov byte [rsp + 0x43], 1
jmp 0x18005865d
mov byte [rsp + 0x43], 2
movzx eax, byte [rsp + 0x32]
and eax, 0x10
test eax, eax
jne 0x18005865d
movzx eax, byte [rsp + 0x43]
shl al, 1
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x40]
cmp eax, 3
je 0x180058764
movzx eax, byte [rsp + 0x42]
cmp eax, 4
jne 0x180058764
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 2
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp byte [rsp + 0x68], 0
jne 0x1800586b2
lea rcx, [0x18005ddc0]
call fcn.180059ee4
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x21]
mov byte [rax + 0x11], cl
cmp byte [rsp + 0x68], 0
jne 0x1800586d5
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
sar eax, 6
mov rcx, qword [rsp + 0xe8]
mov byte [rcx + 0x12], al
cmp byte [rsp + 0x68], 0
jne 0x1800586fb
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 0x3f
sar eax, 3
mov rcx, qword [rsp + 0xe8]
mov byte [rcx + 0x13], al
cmp byte [rsp + 0x68], 0
jne 0x180058724
lea rcx, [0x18005ddc0]
call fcn.180059ee4
movzx eax, byte [rsp + 0x21]
and eax, 7
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0xb4]
mov byte [rax + 0x14], cl
movzx eax, byte [rsp + 0xb4]
cmp eax, 5
jne 0x180058764
movzx eax, byte [rsp + 0x40]
and eax, 1
test eax, eax
jne 0x180058764
mov byte [rsp + 0x43], 4
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0xb8], al
cmp byte [rsp + 0xb8], 1
je 0x1800587a0
cmp byte [rsp + 0xb8], 2
je 0x1800587ce
cmp byte [rsp + 0xb8], 4
je 0x1800587fe
jmp 0x18005882a
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x40
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov byte [rax + 0x1d], cl
jmp 0x18005882a
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
bts eax, 7
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x18005882a
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
bts eax, 8
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x1d], ecx
movzx eax, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x180058868
movzx eax, byte [rsp + 0x32]
and eax, 0x20
test eax, eax
je 0x180058868
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x180058966
movzx eax, byte [rsp + 0x30]
and eax, 0x40
test eax, eax
je 0x1800588d7
movzx eax, byte [rsp + 0x32]
and eax, 8
test eax, eax
je 0x1800588d2
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x208
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
jmp 0x180058a82
jmp 0x1800589fe
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18005891d
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x20
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x15], rcx
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
jmp 0x180058966
movzx eax, byte [rsp + 0x32]
and eax, 8
test eax, eax
jne 0x180058964
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
jmp 0x180058966
jmp 0x180058972
movzx eax, byte [rsp + 0x30]
and eax, 4
test eax, eax
je 0x1800589ad
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1800589f2
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 4
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x30]
and eax, 0x40
test eax, eax
je 0x180058a3b
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x210
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
jmp 0x180058a82
movzx eax, byte [rsp + 0x30]
and eax, 0x20
test eax, eax
je 0x180058a82
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x204
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov qword [rsp + 0xc0], rcx
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0xc0]
mov byte [rax], cl
movzx eax, byte [rsp + 0xc0]
cmp eax, 0xf
jle 0x180058adf
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x21]
or eax, 0x5000
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xe8]
mov byte [rax], 0xf
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
add rsp, 0xd0
pop rdi
ret