Function at 0x495530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645b88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
call fcn.005ee042
mov dword [esi + 0x104], esi
mov dword [esi + 0x108], 0x6ec
push 0x6ec
mov ecx, esi
call fcn.005ecf87
mov eax, dword [eax + 0x20]
mov dword [esi + 0x100], eax
mov dword [esi + 0x154], esi
mov dword [esi + 0x158], 0x47f
push 0x47f
mov ecx, esi
call fcn.005ecf87
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x150], ecx
lea ebx, [esi + 0x10c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0x6e5
push 0x6e5
mov ecx, esi
call fcn.005ecf87
mov edx, dword [eax + 0x20]
mov dword [ebx + 4], edx
mov dword [esi + 0x134], esi
mov dword [esi + 0x138], 0x6ad
push 0x6ad
mov ecx, esi
call fcn.005ecf87
mov eax, dword [eax + 0x20]
mov dword [esi + 0x130], eax
mov dword [esi + 0x144], esi
mov dword [esi + 0x148], 0x6e3
push 0x6e3
mov ecx, esi
call fcn.005ecf87
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x140], ecx
lea edi, [esi + 0x11c]
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0x6ab
push 0x6ab
mov ecx, esi
call fcn.005ecf87
mov edx, dword [eax + 0x20]
mov dword [edi + 4], edx
cmp dword [esi + 0xf8], 0
je 0x495660
lea eax, [esi + 0xf0]
push eax
push 1
push 0
push 0
push 0
push esi
call fcn.00457a30
add esp, 0x18
jmp 0x495669
push esi
call fcn.00458450
add esp, 4
cmp dword [0x754d28], 0
je 0x495682
push 0x16b
push esi
mov ecx, 0x754ce8
call fcn.004e0850
cmp dword [esi + 0xdc], 0
je 0x495869
mov dword [ebp - 4], 0
mov ecx, dword [0x754e80]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x754e84]
mov dword [ebp - 0x28], edx
mov eax, dword [esi + 0xdc]
mov ecx, dword [eax + 0x940]
test ecx, ecx
je 0x495711
call fcn.005abcc0
test al, al
je 0x4956ce
push 1
mov ecx, edi
call fcn.00405480
push 1
jmp 0x4956d0
push 0
mov ecx, esi
call fcn.00494d30
mov ecx, dword [esi + 0xdc]
mov eax, dword [ecx + 0x940]
mov edx, dword [eax + 0x168]
mov ecx, dword [eax + 0x16c]
test ecx, ecx
jl 0x4956ff
jg 0x4956f9
test edx, edx
jbe 0x4956ff
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
cmp dword [eax + 0x174], 0
je 0x495711
push 1
mov ecx, ebx
call fcn.00405480
cmp dword [esi + 0x15c], 0
je 0x495727
push 1
mov ecx, edi
call fcn.00405480
push 1
jmp 0x495738
mov edx, dword [esi + 0xdc]
cmp dword [edx + 0x940], 0
jne 0x49573f
push 0
mov ecx, esi
call fcn.00494d30
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 0
push 0x400
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0061c060
push edx
push eax
push 0x670604
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [esi + 0x88]
call fcn.005ed0f1
mov ecx, dword [esi + 0x160]
mov eax, ecx
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x495790
sub eax, edi
je 0x4957a7
push ecx
lea ecx, [esi + 0x14c]
call fcn.00424090
mov dword [ebp - 0x18], 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push str.bHideTabsBtn
mov eax, dword [0x754bec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4957e2
cmp dword [ebp - 0x1c], eax
jne 0x4957e2
push eax
mov ecx, dword [esi + 0x100]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
jmp 0x495807
cmp byte [0x754b1d], 0
je 0x495862
push 1
push str.DarkMode_Explorer
mov edx, dword [esi + 0x100]
push edx
mov ecx, 0x754ae8
call fcn.00437190
push 1
push 0x670c80
push 0x670c80
mov eax, dword [esi + 0x110]
push eax
mov ecx, 0x754ae8
call fcn.004371d0
push 1
push 0x670c80
push 0x670c80
mov ecx, dword [esi + 0x120]
push ecx
mov ecx, 0x754ae8
call fcn.004371d0
mov byte [esi + 0xe4], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret