Function at 0x140015726
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x140017010
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rcx, [0x140078162]
call fcn.140015b09
mov byte [rbp + 0x24], 0
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0xa4], 0
lea rax, section..data
mov qword [rbp + 0xc8], rax
mov byte [rbp + 0x144], 0
mov byte [rbp + 0x164], 0
mov rdi, qword [rbp + 0x3c8]
xor eax, eax
mov ecx, 0x25
rep stosb byte [rdi], al
mov byte [rbp + 4], InitCommonControls
jmp 0x140017085
movzx eax, byte [rbp + 4]
dec al
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
test eax, eax
je 0x1400171ca
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
mov dword [rbp + 0x394], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x394]
mov dword [rbp + 0x398], eax
mov eax, dword [rbp + 0x398]
sub eax, 0x26
mov dword [rbp + 0x398], eax
cmp dword [rbp + 0x398], 0xcd
ja case.0x1400170fb.11
movsxd rax, dword [rbp + 0x398]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1805c]
mov eax, dword [rcx + rax*4 + 0x1802c]
add rax, rcx
jmp rax
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 1], cl
movzx eax, byte [rbp + 0xa4]
or eax, 4
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 1], cl
movzx eax, byte [rbp + 0xa4]
or eax, 2
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 2], cl
movzx eax, byte [rbp + 0xa4]
or eax, 0x20
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 3], cl
movzx eax, byte [rbp + 0xa4]
or eax, 0x40
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 4], cl
movzx eax, byte [rbp + 0xa4]
or eax, 8
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 5], cl
movzx eax, byte [rbp + 0xa4]
or eax, 0x10
mov byte [rbp + 0xa4], al
jmp 0x1400171c5
jmp 0x1400171ca
jmp 0x14001707c
movzx eax, byte [rbp + 0xa4]
shl eax, 0x17
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rbp + 0xa4]
test eax, eax
jne 0x1400171f9
movzx eax, byte [rbp + 0xa4]
or eax, 1
mov byte [rbp + 0xa4], al
movzx eax, byte [rbp + 0x24]
and eax, 0xf0
cmp eax, 0x40
jne 0x140017304
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
bts eax, 0x1e
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rbp + 0x24]
and eax, 0xf
sar eax, 3
mov dword [rbp + 0x394], eax
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x394]
mov byte [rax + 7], cl
movzx eax, byte [rbp + 0x394]
test eax, eax
je 0x140017271
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
and eax, 0xf8
cmp eax, 0xb8
jne 0x140017271
movzx eax, byte [rbp + 0x164]
inc al
mov byte [rbp + 0x164], al
movzx eax, byte [rbp + 0x24]
and eax, 7
sar eax, 2
mov rcx, qword [rbp + 0x3c8]
mov byte [rcx + 8], al
movzx eax, byte [rbp + 0x24]
and eax, 3
sar eax, 1
mov rcx, qword [rbp + 0x3c8]
mov byte [rcx + 9], al
movzx eax, byte [rbp + 0x24]
and eax, 1
mov rcx, qword [rbp + 0x3c8]
mov byte [rcx + 0xa], al
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
and eax, 0xf0
mov dword [rbp + 0x394], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp dword [rbp + 0x394], 0x40
jne 0x1400172e2
mov dword [rbp + 0x398], 1
jmp 0x1400172ec
mov dword [rbp + 0x398], 0
cmp dword [rbp + 0x398], 0
je 0x140017304
movzx eax, byte [rbp + 0x24]
mov byte [rbp + 0x84], al
jmp 0x14001740d
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 0xb], cl
movzx eax, byte [rbp + 0x24]
cmp eax, 0xf
jne 0x140017352
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
mov byte [rbp + 0x24], al
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 0xc], cl
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xc8]
add rax, 0x4a
mov qword [rbp + 0xc8], rax
jmp 0x1400173a7
movzx eax, byte [rbp + 0x24]
cmp eax, 0xa0
jl 0x1400173a7
movzx eax, byte [rbp + 0x24]
cmp eax, 0xa3
jg 0x1400173a7
movzx eax, byte [rbp + 0x164]
inc al
mov byte [rbp + 0x164], al
movzx eax, byte [rbp + 0xa4]
and eax, 0x10
test eax, eax
je 0x140017397
movzx eax, byte [rbp + 0xa4]
or eax, 8
mov byte [rbp + 0xa4], al
jmp 0x1400173a7
movzx eax, byte [rbp + 0xa4]
and eax, 0xfffffff7
mov byte [rbp + 0xa4], al
movzx eax, byte [rbp + 0x24]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov dword [rbp + 0x394], eax
movzx ecx, byte [rbp + 0x84]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rbp + 0x394]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0xff
jne 0x140017442
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov byte [rbp + 0x64], 0
movzx eax, byte [rbp + 0x84]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x140017442
movzx eax, byte [rbp + 0x64]
inc al
mov byte [rbp + 0x64], al
mov byte [rbp + 4], 0
movzx eax, byte [rbp + 0x64]
and eax, 0x80
test eax, eax
je 0x140017485
movzx eax, byte [rbp + 0x64]
and eax, 0x7f
cdqe
mov rcx, qword [rbp + 0xc8]
movzx eax, word [rcx + rax]
mov word [rbp + 0x184], ax
movzx eax, byte [rbp + 0x184]
mov byte [rbp + 0x64], al
movzx eax, word [rbp + 0x184]
sar eax, 8
mov byte [rbp + 4], al
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x140017520
lea rax, section..data
add rax, 0x13c
mov qword [rbp + 0xc8], rax
movzx eax, byte [rbp + 0x84]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov dword [rbp + 0x394], eax
movzx ecx, byte [rbp + 0x84]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rbp + 0x394]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rbp + 0xa4]
and eax, ecx
test eax, eax
je 0x140017520
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rbp + 0x64]
and eax, 1
test eax, eax
je 0x140017dad
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 1
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
mov byte [rbp + 0x24], al
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 0xd], cl
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
movzx eax, byte [rbp + 0x24]
sar eax, 6
mov byte [rbp + 0xe4], al
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0xe4]
mov byte [rax + 0xe], cl
movzx eax, byte [rbp + 0x24]
and eax, 7
mov byte [rbp + 0x124], al
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x124]
mov byte [rax + 0x10], cl
movzx eax, byte [rbp + 0x24]
and eax, 0x3f
sar eax, 3
mov byte [rbp + 0x104], al
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x104]
mov byte [rax + 0xf], cl
movzx eax, byte [rbp + 4]
test eax, eax
je 0x1400175fd
movzx eax, byte [rbp + 4]
movzx ecx, byte [rbp + 0x104]
shl eax, cl
and eax, 0x80
test eax, eax
je 0x1400175fd
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
jne 0x1400176f6
movzx eax, byte [rbp + 0x84]
cmp eax, 0xd9
jl 0x1400176f6
movzx eax, byte [rbp + 0x84]
cmp eax, 0xdf
jg 0x1400176f6
movzx eax, byte [rbp + 0x84]
sub eax, 0xd9
mov byte [rbp + 0x1a4], al
movzx eax, byte [rbp + 0xe4]
cmp eax, 3
jne 0x140017698
lea rax, section..data
movzx ecx, byte [rbp + 0x1a4]
shl ecx, 3
movsxd rcx, ecx
lea rax, [rax + rcx + 0x104]
mov qword [rbp + 0xc8], rax
movzx eax, byte [rbp + 0x104]
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rbp + 0x124]
shl eax, cl
mov byte [rbp + 0x1a4], al
jmp 0x1400176cd
lea rax, section..data
add rax, 0xfd
mov qword [rbp + 0xc8], rax
movzx eax, byte [rbp + 0x1a4]
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rbp + 0x104]
shl eax, cl
mov byte [rbp + 0x1a4], al
movzx eax, byte [rbp + 0x1a4]
and eax, 0x80
test eax, eax
je 0x1400176f6
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rbp + 0xa4]
and eax, 0x20
test eax, eax
je 0x14001786e
movzx eax, byte [rbp + 0xe4]
cmp eax, 3
jne 0x140017732
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
jmp 0x14001786e
movzx eax, byte [rbp + 0x84]
mov byte [rbp + 0x1e4], al
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x140017776
lea rax, section..data
add rax, 0x1c6
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
add rax, 0x12
mov qword [rbp + 0x1c8], rax
jmp 0x1400177ac
lea rax, section..data
add rax, 0x1ae
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
add rax, 0x18
mov qword [rbp + 0x1c8], rax
movzx eax, byte [rbp + 0x1e4]
and eax, 0xfffffffe
mov byte [rbp + 0x1e4], al
jmp 0x1400177bf
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x1c8]
cmp qword [rbp + 0xc8], rax
je 0x140017855
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
mov dword [rbp + 0x394], eax
movzx eax, byte [rbp + 0x1e4]
mov dword [rbp + 0x398], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0x398]
cmp dword [rbp + 0x394], eax
jne 0x14001781b
mov dword [rbp + 0x39c], 1
jmp 0x140017825
mov dword [rbp + 0x39c], 0
cmp dword [rbp + 0x39c], 0
je 0x140017850
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx ecx, byte [rbp + 0x104]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x14001784e
jmp 0x14001786e
jmp 0x140017855
jmp 0x1400177ae
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x14001790c
movzx eax, byte [rbp + 0x84]
mov byte [rbp + 0x394], al
cmp byte [rbp + 0x394], 0x20
je 0x1400178b4
cmp byte [rbp + 0x394], 0x21
je 0x1400178df
cmp byte [rbp + 0x394], 0x22
je 0x1400178b4
cmp byte [rbp + 0x394], 0x23
je 0x1400178df
jmp 0x14001790a
mov byte [rbp + 0xe4], 3
movzx eax, byte [rbp + 0x104]
cmp eax, 4
jg 0x1400178d3
movzx eax, byte [rbp + 0x104]
cmp eax, 1
jne 0x1400178da
jmp 0x140017b34
jmp 0x140017b4d
mov byte [rbp + 0xe4], 3
movzx eax, byte [rbp + 0x104]
cmp eax, 4
je 0x1400178fe
movzx eax, byte [rbp + 0x104]
cmp eax, 5
jne 0x140017905
jmp 0x140017b34
jmp 0x140017b4d
jmp 0x140017969
movzx eax, byte [rbp + 0x84]
mov byte [rbp + 0x394], al
cmp byte [rbp + 0x394], 0x8c
je 0x14001792d
cmp byte [rbp + 0x394], 0x8e
je 0x140017945
jmp 0x140017969
movzx eax, byte [rbp + 0x104]
cmp eax, 5
jle 0x140017940
jmp 0x140017b34
jmp 0x140017b4d
movzx eax, byte [rbp + 0x104]
cmp eax, 1
je 0x14001795d
movzx eax, byte [rbp + 0x104]
cmp eax, 5
jle 0x140017964
jmp 0x140017b34
jmp 0x140017b4d
movzx eax, byte [rbp + 0xe4]
cmp eax, 3
jne 0x140017abd
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x1400179b0
lea rax, section..data
add rax, 0x1e7
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
add rax, 0x2a
mov qword [rbp + 0x208], rax
jmp 0x1400179d6
lea rax, section..data
add rax, 0x1d8
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
add rax, 0xf
mov qword [rbp + 0x208], rax
jmp 0x1400179ea
mov rax, qword [rbp + 0xc8]
add rax, 2
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x208]
cmp qword [rbp + 0xc8], rax
je 0x140017ab6
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
mov dword [rbp + 0x394], eax
movzx eax, byte [rbp + 0x84]
mov dword [rbp + 0x398], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0x398]
cmp dword [rbp + 0x394], eax
jne 0x140017a46
mov dword [rbp + 0x39c], 1
jmp 0x140017a50
mov dword [rbp + 0x39c], 0
cmp dword [rbp + 0x39c], 0
je 0x140017ab1
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx ecx, byte [rbp + 0xa4]
and eax, ecx
mov dword [rbp + 0x394], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
cmp dword [rbp + 0x394], 0
je 0x140017aaf
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx ecx, byte [rbp + 0x104]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x140017aaf
jmp 0x140017b34
jmp 0x140017ab6
jmp 0x1400179d8
jmp 0x140017b4d
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x140017b32
movzx eax, byte [rbp + 0x84]
mov byte [rbp + 0x394], al
cmp byte [rbp + 0x394], 0x50
je 0x140017b08
cmp byte [rbp + 0x394], 0xc5
je 0x140017b2c
cmp byte [rbp + 0x394], 0xd6
je 0x140017b1a
cmp byte [rbp + 0x394], 0xd7
je 0x140017b08
cmp byte [rbp + 0x394], 0xf7
je 0x140017b08
jmp 0x140017b2e
movzx eax, byte [rbp + 0xa4]
and eax, 9
test eax, eax
je 0x140017b18
jmp 0x140017b34
jmp 0x140017b2e
movzx eax, byte [rbp + 0xa4]
and eax, 6
test eax, eax
je 0x140017b2a
jmp 0x140017b34
jmp 0x140017b2e
jmp 0x140017b34
jmp 0x140017b4d
jmp 0x140017b4d
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x11000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
mov byte [rbp + 0x24], al
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
movzx eax, byte [rbp + 0x104]
cmp eax, 1
jg 0x140017ba0
movzx eax, byte [rbp + 0x84]
cmp eax, 0xf6
jne 0x140017b88
movzx eax, byte [rbp + 0x64]
or eax, 2
mov byte [rbp + 0x64], al
jmp 0x140017ba0
movzx eax, byte [rbp + 0x84]
cmp eax, 0xf7
jne 0x140017ba0
movzx eax, byte [rbp + 0x64]
or eax, 0x10
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0xe4]
mov byte [rbp + 0x394], al
cmp byte [rbp + 0x394], 0
je 0x140017bca
cmp byte [rbp + 0x394], 1
je 0x140017c02
cmp byte [rbp + 0x394], 2
je 0x140017c0b
jmp 0x140017c2f
movzx eax, byte [rbp + 0xa4]
and eax, 0x10
test eax, eax
je 0x140017bed
movzx eax, byte [rbp + 0x124]
cmp eax, 6
jne 0x140017beb
mov byte [rbp + 0x144], 2
jmp 0x140017c00
movzx eax, byte [rbp + 0x124]
cmp eax, 5
jne 0x140017c00
mov byte [rbp + 0x144], 4
jmp 0x140017c2f
mov byte [rbp + 0x144], 1
jmp 0x140017c2f
mov byte [rbp + 0x144], 2
movzx eax, byte [rbp + 0xa4]
and eax, 0x10
test eax, eax
jne 0x140017c2f
movzx eax, byte [rbp + 0x144]
shl al, 1
mov byte [rbp + 0x144], al
movzx eax, byte [rbp + 0xe4]
cmp eax, 3
je 0x140017ce3
movzx eax, byte [rbp + 0x124]
cmp eax, 4
jne 0x140017ce3
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 2
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 0x11], cl
movzx eax, byte [rbp + 0x24]
sar eax, 6
mov rcx, qword [rbp + 0x3c8]
mov byte [rcx + 0x12], al
movzx eax, byte [rbp + 0x24]
and eax, 0x3f
sar eax, 3
mov rcx, qword [rbp + 0x3c8]
mov byte [rcx + 0x13], al
movzx eax, byte [rbp + 0x24]
and eax, 7
mov dword [rbp + 0x394], eax
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x394]
mov byte [rax + 0x14], cl
movzx eax, byte [rbp + 0x394]
cmp eax, 5
jne 0x140017ce3
movzx eax, byte [rbp + 0xe4]
and eax, 1
test eax, eax
jne 0x140017ce3
mov byte [rbp + 0x144], 4
mov rax, qword [rbp + 0x48]
dec rax
mov qword [rbp + 0x48], rax
movzx eax, byte [rbp + 0x144]
mov byte [rbp + 0x394], al
cmp byte [rbp + 0x394], 1
je 0x140017d18
cmp byte [rbp + 0x394], 2
je 0x140017d42
cmp byte [rbp + 0x394], 4
je 0x140017d6e
jmp 0x140017d96
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x40
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx]
mov byte [rax + 0x1d], cl
jmp 0x140017d96
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
bts eax, 7
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x140017d96
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
bts eax, 8
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx]
mov dword [rax + 0x1d], ecx
movzx eax, byte [rbp + 0x144]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
jmp 0x140017dd4
movzx eax, byte [rbp + 0xa4]
and eax, 0x20
test eax, eax
je 0x140017dd4
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
movzx eax, byte [rbp + 0x64]
and eax, 0x10
test eax, eax
je 0x140017ec4
movzx eax, byte [rbp + 0x64]
and eax, 0x40
test eax, eax
je 0x140017e3d
movzx eax, byte [rbp + 0xa4]
and eax, 8
test eax, eax
je 0x140017e38
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x208
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rbp + 0x48]
add rax, 2
mov qword [rbp + 0x48], rax
jmp 0x140017fc4
jmp 0x140017f4d
movzx eax, byte [rbp + 0x164]
test eax, eax
je 0x140017e7f
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x20
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx]
mov qword [rax + 0x15], rcx
mov rax, qword [rbp + 0x48]
add rax, 8
mov qword [rbp + 0x48], rax
jmp 0x140017ec4
movzx eax, byte [rbp + 0xa4]
and eax, 8
test eax, eax
jne 0x140017ec2
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rbp + 0x48]
add rax, 4
mov qword [rbp + 0x48], rax
jmp 0x140017ec4
jmp 0x140017ecf
movzx eax, byte [rbp + 0x64]
and eax, 4
test eax, eax
je 0x140017f04
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rbp + 0x48]
add rax, 2
mov qword [rbp + 0x48], rax
movzx eax, byte [rbp + 0x64]
and eax, 2
test eax, eax
je 0x140017f42
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 4
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
movzx eax, byte [rbp + 0x64]
and eax, 0x40
test eax, eax
je 0x140017f84
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x210
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rbp + 0x48]
add rax, 4
mov qword [rbp + 0x48], rax
jmp 0x140017fc4
movzx eax, byte [rbp + 0x64]
and eax, 0x20
test eax, eax
je 0x140017fc4
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x204
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x48]
movzx ecx, byte [rcx]
mov byte [rax + 0x15], cl
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x3c0]
mov rcx, qword [rbp + 0x48]
sub rcx, rax
mov qword [rbp + 0x398], rcx
mov rax, qword [rbp + 0x3c8]
movzx ecx, byte [rbp + 0x398]
mov byte [rax], cl
movzx eax, byte [rbp + 0x398]
cmp eax, 0xf
jle 0x140018018
mov rax, qword [rbp + 0x3c8]
mov eax, dword [rax + 0x21]
or eax, 0x5000
mov rcx, qword [rbp + 0x3c8]
mov dword [rcx + 0x21], eax
mov rax, qword [rbp + 0x3c8]
mov byte [rax], InitCommonControls
mov rax, qword [rbp + 0x3c8]
movzx eax, byte [rax]
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret