Function at 0x14002c950
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xae8]
sub rsp, 0xbb0
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0xa90], rax
mov r13, rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rcx
xor r14d, r14d
mov dword [rbp - 0x2c], r14d
mov rcx, qword [rdx + 0x20]
call fcn.1400fa914
mov rsi, rax
mov ebx, r14d
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x120], xmm1
mov rcx, qword [r13 + 0x38]
mov r12d, dword [rcx + 0x24]
lea ecx, [r14 + 0xf]
call qword [sym.imp.USER32.dll_GetSysColor]
mov r15d, eax
mov dword [rsp + 0x60], eax
lea ecx, [r14 + 5]
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
shr edx, 0x10
movzx ecx, al
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
movsd xmm2, qword [0x140361b70]
mulsd xmm0, xmm2
subsd xmm1, xmm0
cvttsd2si r8d, xmm1
shr ax, 8
movzx eax, ax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm0, xmm2
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx eax, dl
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm0, xmm2
subsd xmm1, xmm0
cvttsd2si eax, xmm1
movzx edi, cl
shl edi, 8
movzx eax, al
shl eax, 0x10
or edi, eax
movzx eax, r8b
or edi, eax
mov dword [rbp - 0x80], edi
mov qword [rbp + 0x80], r14
lea rax, vtable.CFont.0
mov qword [rbp + 0x78], rax
mov qword [rbp - 8], r14
lea eax, [r14 + 1]
cmp dword [0x1403ff83c], 7
jne 0x14002cbc4
cmp dword [0x140401350], r14d
jne 0x14002cbbb
mov dword [0x140401350], eax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftPlus_ThemesCurrent
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002cbbb
mov dword [rbp], 0x104
mov eax, 1
mov dword [rbp - 0x38], eax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x430]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002cbae
movups xmm0, xmmword [str.Windows_Classic.theme]
movups xmmword [rbp + 0x3a0], xmm0
movups xmm1, xmmword [0x140348a30]
movups xmmword [rbp + 0x3b0], xmm1
movsd xmm0, qword [0x140348a40]
movsd qword [rbp + 0x3c0], xmm0
mov eax, dword [0x140348a48]
mov dword [rbp + 0x3c8], eax
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x14002cbaa
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, eax
movsxd rax, ebx
lea rcx, [rbp + 0x430]
lea rcx, [rcx + rax*2]
lea rdx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x14040134c]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [0x14040134c], ecx
mov rbx, qword [rbp - 0x50]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14040134c], 0
je 0x14002cbdb
movsd xmm1, qword [0x140361b80]
mov ecx, r15d
call fcn.14002c890
mov r15d, eax
mov dword [rsp + 0x60], eax
mov qword [rbp - 0x40], r14
lea rax, vtable.CBrush.0
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x38], rax
mov ecx, edi
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400fa688
mov ecx, r15d
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400fa688
mov eax, dword [r13 + 0x10]
test al, 2
je 0x14002ce06
cmp dword [0x1403ff42c], 0
jne 0x14002ce06
test al, 1
je 0x14002cc3f
and eax, 0xfffffffe
mov dword [r13 + 0x10], eax
mov ecx, 0x58
call fcn.1400f8110
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14002cd3b
mov rcx, rax
call fcn.1400f9a78
nop
lea rax, vtable.BCMenuMemDC.0
mov qword [rbx], rax
lea r15, [rbx + 0x20]
mov qword [r15 + 8], r14
lea rax, vtable.CBitmap.0
mov qword [r15], rax
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r14
lea rdx, [r13 + 0x28]
lea rcx, [rbx + 0x40]
call qword [sym.imp.USER32.dll_CopyRect]
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x30], r14
mov ecx, dword [rsi + 0x18]
mov eax, r14d
test ecx, ecx
sete al
mov dword [rbx + 0x50], eax
test ecx, ecx
jne 0x14002cd18
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
mov rcx, rbx
call fcn.1400fa62c
mov r8d, dword [rbx + 0x4c]
sub r8d, dword [rbx + 0x44]
mov edx, dword [rbx + 0x48]
sub edx, dword [rbx + 0x40]
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r15
call fcn.1400fa688
test r15, r15
mov rdx, r14
je 0x14002ccf2
mov rdx, qword [r15 + 8]
mov rcx, qword [rbx + 8]
call fcn.1400faf08
mov qword [rbx + 0x30], rax
mov r9d, dword [rbx + 0x44]
mov r8d, dword [rbx + 0x40]
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call fcn.1400fb3cc
jmp 0x14002cd2e
mov eax, dword [rsi + 0x18]
mov dword [rbx + 0x18], eax
mov rax, qword [rsi + 8]
mov qword [rbx + 8], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
mov rsi, rbx
mov r15d, dword [rsp + 0x60]
mov edi, dword [rbp - 0x80]
jmp 0x14002cd3e
mov rsi, r14
mov rbx, rsi
mov qword [rbp - 0x50], rbx
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rbp + 0x140]
call fcn.14029ff20
mov dword [rbp + 0x1a0], 0x1f8
xor r9d, r9d
lea r8, [rbp + 0x1a0]
mov edx, 0x1f8
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
movaps xmm0, xmmword [rbp + 0x280]
movaps xmmword [rbp + 0x140], xmm0
movaps xmm1, xmmword [rbp + 0x290]
movaps xmmword [rbp + 0x150], xmm1
movaps xmm0, xmmword [rbp + 0x2a0]
movaps xmmword [rbp + 0x160], xmm0
movaps xmm1, xmmword [rbp + 0x2b0]
movaps xmmword [rbp + 0x170], xmm1
movaps xmm0, xmmword [rbp + 0x2c0]
movaps xmmword [rbp + 0x180], xmm0
movsd xmm1, qword [rbp + 0x2d0]
movsd qword [rbp + 0x190], xmm1
mov eax, dword [rbp + 0x2d8]
mov dword [rbp + 0x198], eax
lea rcx, [rbp + 0x140]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.1400fa688
mov rax, qword [rsi]
lea rdx, [rbp + 0x78]
mov rcx, rsi
call qword [rax + 0x50]
mov qword [rbp - 8], rax
bt r12d, 0xb
jae 0x14002ced7
lea rdx, [r13 + 0x28]
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_CopyRect]
mov r8, qword [rbp + 0x40]
lea rdx, [rbp + 0x110]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov edx, dword [rbp + 0x110]
lea r9d, [rdx + 0x17]
mov eax, dword [rbp + 0x11c]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 0x114]
lea rcx, [rbp + 0x120]
call qword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [rbp + 0x11c]
mov eax, dword [rbp + 0x114]
sub ecx, eax
sar ecx, 1
add eax, ecx
mov dword [rbp + 0x114], eax
mov eax, dword [rbp + 0x128]
add eax, 7
mov dword [rbp + 0x110], eax
mov r9d, 2
lea r8d, [r9 + 4]
lea rdx, [rbp + 0x110]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_DrawEdge]
mov r8, qword [rbp - 0x40]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov r9d, r15d
mov r8d, r15d
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
lea rdi, vtable.CBrush.0
jmp 0x14002df5a
mov dword [rbp - 0x7c], r14d
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x74], r14d
mov ecx, 7
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x24], eax
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rsp + 0x54], eax
cmp dword [0x1403ff83c], 7
jne 0x14002d055
cmp dword [0x140401350], 0
jne 0x14002d042
mov r12d, 1
mov dword [0x140401350], r12d
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftPlus_ThemesCurrent
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002d03e
mov dword [rbp - 0x34], 0x104
mov dword [rbp - 0x30], r12d
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x650]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002d031
movups xmm0, xmmword [str.Windows_Classic.theme]
movups xmmword [rbp + 0x3d0], xmm0
movups xmm1, xmmword [0x140348a30]
movups xmmword [rbp + 0x3e0], xmm1
movsd xmm0, qword [0x140348a40]
movsd qword [rbp + 0x3f0], xmm0
mov eax, dword [0x140348a48]
mov dword [rbp + 0x3f8], eax
lea rcx, [rbp + 0x650]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x14002d031
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub ebx, eax
movsxd rax, ebx
lea rcx, [rbp + 0x650]
lea rcx, [rcx + rax*2]
lea rdx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x14040134c]
test eax, eax
cmove ecx, r12d
mov dword [0x14040134c], ecx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x54]
cmp dword [0x14040134c], 0
jne 0x14002d055
movsd xmm1, qword [0x140361bb0]
jmp 0x14002d05d
movsd xmm1, qword [0x140361bb8]
mov ecx, eax
call fcn.14002c890
mov ebx, eax
mov dword [rbp - 0x28], eax
mov qword [rbp + 0x30], r14
lea rax, vtable.CBrush.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], r14
lea rax, vtable.CPen.0
mov qword [rbp + 0x18], rax
or r12, 0xffffffffffffffff
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], r12d
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x74], 2
mov dword [rbp - 0x78], 3
mov r13, r14
mov dword [rsp + 0x5c], r14d
mov r8d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1400fa688
mov ecx, ebx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400fa688
mov rbx, qword [rbp - 0x68]
lea rdx, [rbx + 0x28]
lea rcx, [rbp + 0x110]
call qword [sym.imp.USER32.dll_CopyRect]
movaps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x120], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x64], eax
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14002dffd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14002d30c
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x58], eax
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x50], eax
mov r13, qword [rdi + 0x30]
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14002e008
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x18], rbx
mov eax, 1
mov dword [rbp - 0x2c], eax
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14002d19a
mov rax, r12
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002d180
mov r8d, eax
lea rcx, [rbp - 0x18]
call fcn.1400105e0
mov rbx, qword [rbp - 0x18]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x68]
call fcn.1400157c0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002d1c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x68]
mov rax, qword [rax + 0x38]
movsxd rbx, dword [rax + 0x1c]
mov edi, dword [rsp + 0x50]
test edi, edi
jne 0x14002d1f9
test r13, r13
je 0x14002d1f9
mov rcx, qword [r13 + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [rsp + 0x5c]
cmp eax, 2
mov eax, 1
cmovg ecx, eax
mov dword [rsp + 0x5c], ecx
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jns 0x14002d2b4
test edi, edi
jns 0x14002d2b4
test ebx, ebx
js 0x14002d2b4
mov dword [rsp + 0x50], ebx
mov ecx, r14d
mov dword [rsp + 0x58], ecx
lea r13, [0x1403ff840]
mov rax, qword [0x1403df048]
lea r11d, [rbx + 1]
cmp r11d, eax
jge 0x14002d2b4
lea r10d, [rbx + 2]
cmp r10d, eax
jge 0x14002d2b4
mov rcx, rbx
test ebx, ebx
js 0x14002e01f
cmp rbx, rax
jge 0x14002e01f
mov r8, qword [0x1403df040]
mov r9d, dword [r8 + rbx*4]
lea rdx, [rbx + 1]
test rdx, rdx
js 0x14002e019
cmp rdx, rax
jge 0x14002e019
cmp dword [r8 + rdx*4], r9d
jne 0x14002d2b0
add rcx, 2
js 0x14002e013
cmp rcx, rax
jge 0x14002e013
mov edx, 1
cmp dword [r8 + rcx*4], r9d
mov ecx, r14d
jne 0x14002d2b9
mov dword [rsp + 0x5c], edx
mov dword [rbp - 0x70], r11d
mov dword [rbp - 0x74], r10d
lea eax, [rbx + 3]
mov dword [rbp - 0x78], eax
jmp 0x14002d2b9
mov ecx, dword [rsp + 0x58]
mov edx, 1
mov eax, dword [rsp + 0x64]
test al, 8
je 0x14002d2eb
test ecx, ecx
jns 0x14002d2eb
test al, 1
mov rax, qword [rbp - 0x60]
je 0x14002d2dc
cmp dword [rax + 0x7c], 0
jle 0x14002d2dc
mov dword [rsp + 0x74], edx
jmp 0x14002d360
cmp dword [rax + 0x80], 0
jle 0x14002d360
mov dword [rsp + 0x74], edx
jmp 0x14002d360
cmp ecx, 0xffffffff
je 0x14002d360
mov dword [rbp - 0x7c], edx
and al, 3
cmp al, 1
jne 0x14002d2ff
mov dword [rsp + 0x70], edx
jmp 0x14002d360
test byte [rsp + 0x64], 2
je 0x14002d360
mov dword [rsp + 0x60], edx
jmp 0x14002d360
mov rax, qword [rsp + 0x68]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002d360
cmp dword [rdx + 0x10], 0
jge 0x14002d338
cmp dword [rax - 0xc], 0
jl 0x14002e025
mov dword [rax - 0x10], r14d
mov word [rax], r14w
jmp 0x14002d360
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002d34e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov edi, dword [rsp + 0x64]
and edi, 1
mov dword [rbp - 0x6c], edi
je 0x14002d3b7
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.1400faf88
mov rbx, rax
mov r8, qword [rbp + 0x30]
lea rdx, [rbp + 0x110]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov r9d, dword [rsp + 0x54]
mov r8d, r9d
lea rdx, [rbp + 0x110]
mov rcx, rsi
call fcn.140106234
mov rdx, rbx
mov rcx, rsi
call fcn.1400faf88
jmp 0x14002d44e
mov edx, dword [rbp + 0x110]
lea r9d, [rdx + 0x17]
mov eax, dword [rbp + 0x11c]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 0x114]
lea rcx, [rbp + 0x120]
call qword [sym.imp.USER32.dll_SetRect]
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.1400faf88
mov rbx, rax
mov r8, qword [rbp + 0x40]
lea rdx, [rbp + 0x110]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov r8, qword [rbp - 0x40]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, rbx
mov rcx, rsi
call fcn.1400faf88
mov r8d, dword [rbp - 0x80]
mov r9d, r8d
lea rdx, [rbp + 0x110]
mov rcx, rsi
call fcn.140106234
mov r9d, r15d
mov r8d, r15d
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
mov ecx, dword [rbp + 0x11c]
mov eax, ecx
mov r8d, dword [rbp + 0x114]
sub eax, r8d
sub eax, 0xf
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x140361b98]
addsd xmm1, qword [0x140361b98]
cvttsd2si ebx, xmm1
test ebx, ebx
cmovs ebx, r14d
dec ecx
mov eax, dword [rbp + 0x110]
lea r9d, [rax + 0x15]
inc r8d
lea edx, [rax + 1]
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x120]
call qword [sym.imp.USER32.dll_SetRect]
movsd xmm6, qword [0x140361ba0]
cmp dword [rsp + 0x74], 0
jne 0x14002d4dc
mov eax, dword [rsp + 0x70]
cmp dword [rbp - 0x7c], 0
jne 0x14002d555
test eax, eax
jne 0x14002d555
cmp dword [rsp + 0x60], eax
je 0x14002d8b7
jmp 0x14002d568
mov rax, qword [rbp - 0x60]
cmp qword [rax + 0x70], 0
je 0x14002d551
mov r8, qword [rbp - 0x40]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [rbp + 0x114]
add ecx, ebx
mov r9d, dword [rbp + 0x110]
add r9d, 4
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 0x70]
mov r8, qword [rsi + 8]
test edi, edi
je 0x14002d53a
mov r15d, 1
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ecx
mov edx, r15d
mov rcx, qword [rax + 8]
jmp 0x14002d8b1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, qword [rax + 8]
jmp 0x14002d8b1
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x60], 0
je 0x14002d659
test eax, eax
jne 0x14002d8b7
cmp dword [rsp + 0x5c], 0
je 0x14002d59f
mov edx, dword [rbp + 0x114]
add edx, ebx
mov r9d, dword [rbp + 0x110]
add r9d, 4
mov eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r8, qword [rsi + 8]
mov edx, dword [rbp - 0x78]
mov rcx, qword [r13 + 8]
jmp 0x14002d8b1
mov qword [rbp + 0x10], r14
lea rax, vtable.CBitmap.0
mov qword [rbp + 8], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
mov r8, r13
mov rdx, rsi
call fcn.14002e060
test edi, edi
cmovne r15d, dword [rbp - 0x28]
mov rax, qword [rbp - 0x60]
mov r9d, dword [rbp + 0x114]
mov r8d, dword [rbp + 0x110]
mov dword [rsp + 0x48], r15d
add r9d, ebx
add r8d, 4
cmp dword [rax + 0x68], 0
je 0x14002d60a
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax + 0x20]
call fcn.1400305c0
jmp 0x14002d61b
lea rax, [rbp + 8]
mov qword [rsp + 0x30], rax
mov rdx, rsi
call fcn.140030d70
test edi, edi
je 0x14002d636
mov r9d, dword [rsp + 0x54]
mov r8d, r9d
lea rdx, [rbp + 0x110]
mov rcx, rsi
call fcn.140106234
lea rcx, [rbp + 8]
call int.1400fa7e4
nop
lea rax, vtable.CBitmap.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.14000e0a0
jmp 0x14002d8b7
mov edi, dword [rsp + 0x64]
and edi, 8
test eax, eax
je 0x14002d788
add ebx, dword [rbp + 0x114]
mov r15d, dword [rbp + 0x110]
add r15d, 4
test edi, edi
je 0x14002d6fc
mov qword [rbp + 0x50], r14
lea rax, vtable.CBrush.0
mov qword [rbp + 0x48], rax
movaps xmm1, xmm6
mov ecx, dword [rsp + 0x54]
call fcn.14002c890
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400fa688
mov r8, qword [rbp + 0x50]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
lea rcx, [rbp + 0x48]
call int.1400fa7e4
mov r9d, dword [rsp + 0x54]
mov r8d, r9d
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
dec r15d
dec ebx
lea rax, vtable.CBrush.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.14000e0a0
jmp 0x14002d711
mov r8, qword [rbp + 0x30]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
test r13, r13
je 0x14002d8b7
cmp dword [rsp + 0x5c], 0
je 0x14002d76b
test edi, edi
jne 0x14002d76b
lea eax, [rbx + 1]
lea r9d, [r15 + 1]
dec ebx
lea edi, [r15 - 1]
mov r15d, 1
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
mov r8, qword [rsi + 8]
mov edx, dword [rbp - 0x74]
mov rcx, qword [r13 + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov dword [rsp + 0x28], r15d
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov r8, qword [rsi + 8]
mov rcx, qword [r13 + 8]
jmp 0x14002d8ad
mov eax, 1
mov dword [rsp + 0x28], eax
mov r9d, r15d
mov dword [rsp + 0x20], ebx
mov r8, qword [rsi + 8]
mov rcx, qword [r13 + 8]
jmp 0x14002d8ad
test edi, edi
je 0x14002d849
mov qword [rbp + 0x60], r14
lea rax, vtable.CBrush.0
mov qword [rbp + 0x58], rax
movsd xmm1, qword [0x140361bb8]
mov edi, dword [rsp + 0x54]
mov ecx, edi
call fcn.14002c890
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400fa688
mov r8, qword [rbp + 0x60]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
lea rcx, [rbp + 0x58]
call int.1400fa7e4
mov r9d, edi
mov r8d, edi
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
mov ecx, dword [rbp + 0x114]
dec ecx
add ecx, ebx
mov r9d, dword [rbp + 0x110]
add r9d, 3
test r13, r13
je 0x14002d833
mov eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r8, qword [rsi + 8]
mov edx, dword [rsp + 0x50]
mov rcx, qword [r13 + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_Draw]
nop
lea rdi, vtable.CBrush.0
mov qword [rbp + 0x58], rdi
lea rcx, [rbp + 0x58]
call fcn.14000e0a0
jmp 0x14002d8be
mov r8, qword [rbp - 0x40]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
mov r9d, r15d
mov r8d, r15d
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
mov r10d, dword [rbp + 0x114]
add r10d, ebx
mov r9d, dword [rbp + 0x110]
add r9d, 4
test r13, r13
je 0x14002d8b7
mov r8, qword [rsi + 8]
mov rcx, qword [r13 + 8]
mov eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
cmp dword [rsp + 0x5c], 0
mov edx, dword [rbp - 0x70]
jne 0x14002d8b1
mov edx, dword [rsp + 0x50]
call qword [sym.imp.COMCTL32.dll_ImageList_Draw]
lea rdi, vtable.CBrush.0
cmp dword [rsp + 0x58], 0
jge 0x14002da16
test byte [rsp + 0x64], 8
je 0x14002da16
cmp dword [rsp + 0x74], 0
jne 0x14002da16
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rbp + 0xc0]
call fcn.14029ff20
mov dword [rbp + 0xc0], 0x50
mov dword [rbp + 0xc4], 8
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rax, qword [rbp - 0x68]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov r15, qword [rbp + 0xe0]
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x68], rdi
mov ebx, dword [rbp + 0x12c]
sub ebx, dword [rbp + 0x124]
sar ebx, 1
sub ebx, 3
cmovs ebx, r14d
mov edi, dword [rbp + 0x128]
sub edi, dword [rbp + 0x120]
sar edi, 1
sub edi, 3
cmovs edi, r14d
cmp dword [rbp - 0x6c], 0
jne 0x14002d967
movsd xmm6, qword [0x140361bb8]
movaps xmm1, xmm6
mov r13d, dword [rsp + 0x54]
mov ecx, r13d
call fcn.14002c890
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.1400fa688
mov r8, qword [rbp + 0x70]
lea rdx, [rbp + 0x120]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_FillRect]
lea rcx, [rbp + 0x68]
call int.1400fa7e4
mov r9d, r13d
mov r8d, r13d
lea rdx, [rbp + 0x120]
mov rcx, rsi
call fcn.140106234
mov ecx, 7
call qword [sym.imp.USER32.dll_GetSysColor]
mov r9d, dword [rbp + 0x124]
mov r8d, dword [rbp + 0x120]
mov rdx, rsi
add r9d, ebx
add r8d, edi
test r15, r15
jne 0x14002d9f8
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.14002ff40
jmp 0x14002da02
mov dword [rsp + 0x20], eax
call fcn.14002fe00
nop
lea rdi, vtable.CBrush.0
mov qword [rbp + 0x68], rdi
lea rcx, [rbp + 0x68]
call fcn.14000e0a0
mov edx, dword [rbp + 0x110]
add edx, 0x1f
mov dword [rbp + 0x110], edx
mov r13, qword [rsp + 0x68]
cmp dword [r13 - 0x10], 0
je 0x14002df02
mov ecx, dword [rbp + 0x11c]
dec ecx
mov eax, dword [rbp + 0x114]
dec eax
mov dword [rbp + 0x130], edx
mov dword [rbp + 0x134], eax
mov eax, dword [rbp + 0x118]
mov dword [rbp + 0x138], eax
mov dword [rbp + 0x13c], ecx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14002e030
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14002e03b
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x58], rbx
lea rdx, [rdi - 0x18]
mov r15, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002daf5
cmp dword [rdx + 0x10], 0
jge 0x14002dac9
cmp dword [rdi - 0xc], 0
jl 0x14002e046
mov dword [rdi - 0x10], r14d
mov word [rdi], r14w
jmp 0x14002daf5
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dadf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rbx, qword [rbp - 0x58]
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002db43
cmp dword [rdx + 0x10], 0
jge 0x14002db1c
cmp dword [rbx - 0xc], 0
jl 0x14002e051
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14002db43
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002db32
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x58], rbx
mov edx, 9
mov rcx, qword [rsp + 0x68]
call fcn.14029f968
mov r15, rax
test rax, rax
jne 0x14002dbcf
mov r15d, r12d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400157c0
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.GDI32.dll_GetBkMode]
mov r14d, eax
mov r13d, 1
mov edx, r13d
mov rcx, rsi
call fcn.1400fb0c0
mov rax, qword [rbp - 0x68]
test byte [rax + 0x10], 2
jne 0x14002dcea
mov r8, qword [rsi]
mov edx, dword [rbp - 0x24]
mov rcx, rsi
call qword [r8 + 0x60]
mov rdx, qword [rsp + 0x78]
mov r10, qword [rsi]
mov dword [rsp + 0x20], 0x24
lea r9, [rbp + 0x130]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call qword [r10 + 0xd0]
jmp 0x14002de8d
sub r15, qword [rsp + 0x68]
sar r15, 1
cmp r15d, 0xffffffff
je 0x14002db5d
lea r8d, [r15 + 1]
mov r9d, dword [r13 - 0x10]
sub r9d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.14001cee0
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x58]
call fcn.1400157c0
nop
mov rdx, qword [rbp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dc2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
cmp dword [r13 - 0x10], 0
jg 0x14002dc3d
mov eax, r12d
jmp 0x14002dc5a
mov edx, 9
mov rcx, rbx
call fcn.14029fc6c
test rax, rax
jne 0x14002dc54
mov eax, r12d
jmp 0x14002dc5a
sub rax, rbx
sar rax, 1
test eax, eax
cmovns r14d, eax
cmp r14d, dword [r13 - 0x10]
jl 0x14002dc79
lea rcx, [rbx - 0x18]
call fcn.140015740
lea rbx, [rax + 0x18]
mov qword [rbp - 0x10], rbx
jmp 0x14002dcb1
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14002dc8d
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x14002dc9b
call fcn.1400f9930
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400151e0
mov rbx, qword [rbp - 0x10]
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400157c0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dcda
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
sub dword [rbp + 0x138], 0x10
mov rbx, qword [rbp - 0x58]
jmp 0x14002db6c
cmp dword [0x1403ff83c], 7
jne 0x14002de3c
cmp dword [0x140401350], 0
jne 0x14002de1b
mov dword [0x140401350], r13d
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftPlus_ThemesCurrent
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002de1b
mov dword [rbp - 0x20], 0x104
mov dword [rbp - 0x1c], r13d
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x870]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002de0e
movups xmm0, xmmword [str.Windows_Classic.theme]
movups xmmword [rbp + 0x400], xmm0
movups xmm1, xmmword [0x140348a30]
movups xmmword [rbp + 0x410], xmm1
movsd xmm0, qword [0x140348a40]
movsd qword [rbp + 0x420], xmm0
mov eax, dword [0x140348a48]
mov dword [rbp + 0x428], eax
lea rcx, [rbp + 0x870]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea rcx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp edi, eax
jl 0x14002de0e
lea rcx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub edi, eax
movsxd rax, edi
lea rcx, [rbp + 0x870]
lea rcx, [rcx + rax*2]
lea rdx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x14040134c]
test eax, eax
cmove ecx, r13d
mov dword [0x14040134c], ecx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14040134c], 0
jne 0x14002de3c
mov rdi, qword [rsi]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rsi
call qword [rdi + 0x60]
jmp 0x14002de69
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
cmp dword [rbp - 0x6c], 0
jne 0x14002de60
movsd xmm1, qword [0x140361b90]
mov ecx, eax
call fcn.14002c890
mov edx, eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x60]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsi]
mov dword [rsp + 0x20], 0x24
lea r9, [rbp + 0x130]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call qword [rax + 0xd0]
cmp r15d, 0xffffffff
je 0x14002deb5
mov dword [rsp + 0x20], 0x26
mov rax, qword [rsi]
lea r9, [rbp + 0x130]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0xd0]
mov edx, r14d
mov rcx, rsi
call fcn.1400fb0c0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dedc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002defb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdi, vtable.CBrush.0
lea rcx, [rbp + 0x18]
call int.1400fa7e4
lea rcx, [rbp + 0x28]
call int.1400fa7e4
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14002df34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.CPen.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.14000e0a0
nop
mov qword [rbp + 0x28], rdi
lea rcx, [rbp + 0x28]
call fcn.14000e0a0
mov rbx, qword [rbp - 0x50]
lea rcx, [rbp + 0x38]
call int.1400fa7e4
lea rcx, [rbp - 0x48]
call int.1400fa7e4
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x14002df7e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
lea rcx, [rbp + 0x78]
call int.1400fa7e4
test rbx, rbx
je 0x14002df9b
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp + 0x38], rdi
lea rcx, [rbp + 0x38]
call fcn.14000e0a0
nop
mov qword [rbp - 0x48], rdi
lea rcx, [rbp - 0x48]
call fcn.14000e0a0
nop
lea rax, vtable.CFont.0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
call fcn.14000e0a0
mov rcx, qword [rbp + 0xa90]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0xc00]
movaps xmm6, xmmword [rsp + 0xba0]
add rsp, 0xbb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
nop
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3