Function at 0x561760
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab0ee
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
push dword [ebp + 8]
mov dword [ebp - 0x60], edi
call fcn.0052c470
mov dword [ebp - 4], 0
lea esi, [edi + 0x1264]
mov dword [edi], vtable.SciTEWin.0
mov dword [edi + 4], vtable.SciTEWin.1.0
mov dword [edi + method.SciTEWin.2.virtual_0], vtable.SciTEWin.2.0
mov dword [ebp - 0x44], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0059df75
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov word [edi + 0x127c], 0
lea ecx, [edi + 0x1298]
mov dword [edi + 0x1280], 1
mov dword [edi + 0x1284], 0
mov dword [edi + 0x1278], 0x5ddfa4
mov dword [edi + 0x1288], 0
call fcn.0041fd80
mov dword [edi + 0x12b0], 0
mov dword [edi + 0x12b4], 0xf
mov byte [edi + 0x12a0], 0
mov dword [edi + 0x128c], 0
mov dword [edi + 0x1290], 0
mov dword [edi + 0x1294], 0
mov dword [edi + 0x12b8], 0
mov byte [edi + 0x12bc], 0
mov dword [edi + 0x12c0], 1
mov dword [edi + 0x12d4], 0
xor eax, eax
mov dword [edi + 0x12d8], 0
mov dword [edi + 0x12dc], 0
mov dword [edi + 0x12e0], 0
mov dword [edi + 0x1308], 0
mov dword [edi + 0x130c], 7
mov word [edi + 0x12f8], ax
push str.SciTEInstanceIdentifier
mov dword [edi + 0x12ec], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [edi + 0x12f0], eax
mov dword [edi + 0x12f4], 0
mov byte [edi + 0x1310], 0
mov dword [edi + 0x1314], 0
mov dword [edi + 0x1328], 0x5ddbdc
lea ebx, [edi + 0x1354]
mov dword [edi + 0x132c], 0
mov ecx, ebx
mov dword [edi + 0x1330], 0x5ddbdc
mov dword [edi + 0x1334], 0
mov dword [edi + 0x1338], 0x5ddbdc
mov dword [edi + 0x133c], 0
mov dword [edi + 0x1344], 0
mov dword [edi + 0x1340], 0x5de2d4
mov byte [edi + 0x1350], 0
call fcn.00560c40
mov dword [ebx], vtable.BackgroundStrip.0
lea ecx, [edi + 0x13a4]
mov dword [ebx + 0x40], vtable.GUI::Window.0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], vtable.GUI::Window.0
mov dword [ebx + 0x4c], 0
call fcn.00560c40
mov dword [ecx], vtable.UserStrip.0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x38], 0x1a
add edi, 0x13f0
mov ecx, edi
call fcn.00560c40
mov edx, dword [ebp - 0x40]
mov dword [edi + 0x44], 0
mov dword [edi], vtable.SearchStrip.0
mov dword [edi + 0x48], vtable.GUI::Window.0
mov dword [edi + 0x4c], 0
lea esi, [edx + 0x1450]
mov dword [edi + 0x50], vtable.GUI::Window.0
mov ecx, esi
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], vtable.GUI::Window.0
mov dword [edi + 0x5c], 0
call fcn.00560d30
mov dword [esi], vtable.FindStrip.0
add edx, 0x14ec
mov dword [esi + 0x84], vtable.GUI::Window.0
mov ecx, edx
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], vtable.GUI::Window.0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], vtable.GUI::Window.0
mov dword [esi + 0x98], 0
call fcn.00560d30
mov eax, dword [ebp - 0x40]
mov dword [edx], vtable.ReplaceStrip.0
mov dword [edx + 0x84], vtable.GUI::Window.0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], vtable.GUI::Window.0
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], vtable.GUI::Window.0
mov dword [edx + 0x98], 0
mov dword [edx + 0x9c], vtable.GUI::Window.0
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], vtable.GUI::Window.0
mov dword [edx + 0xa8], 0
mov dword [edx + 0xac], vtable.GUI::Window.0
mov dword [edx + 0xb0], 0
mov dword [eax + 0x15a0], 0
mov dword [eax + 0x15a4], 0
mov dword [eax + 0x15a8], 0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xb64]
mov dword [eax + 0x134c], eax
add eax, 0xb78
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x1348], ecx
mov dword [ebx + 8], ecx
mov ebx, eax
mov dword [edi + 8], ecx
lea eax, [ebx + 4]
mov dword [edi + 0x40], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x40], eax
mov dword [edx + 8], ecx
mov dword [edx + 0x40], eax
call fcn.005616d0
mov byte [ebx + 0xc70], al
xor eax, eax
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x561bb1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x63
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 4
push eax
push 0
push str.AppsUseLightTheme
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x48]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x561bb1
cmp dword [ebp - 0x4c], esi
sete byte [ebp - 0x3e]
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0
push eax
push 0
push 0x42
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0xc
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x561bf3
mov al, byte [ebp - 0x58]
and al, 1
mov byte [ebp - 0x3d], al
je 0x561bf3
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, 0x40
setb byte [ebp - 0x3e]
mov ax, word [ebp - 0x3e]
push 0x2c
mov word [ebx + 0x88e], ax
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebx + 0xc74], 0
mov dword [ebx + 0x840], 7
mov dword [ebx + 0x1320], 0
mov dword [ebx + 0x1324], 0
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea esi, [ebp - 0x3c]
mov dword [ebx + 0xca4], eax
lea edi, [ebx + 0xc78]
mov dword [ebx + 0xca8], eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xcac], eax
add esp, 0xc
mov dword [ebx + 0xcb0], eax
mov ecx, ebx
mov dword [ebx + 0xc78], 0
mov word [ebx + 0xcb4], ax
mov word [ebx + 0xe44], ax
mov word [ebx + 0x1256], ax
mov byte [ebx + 0x125c], al
mov dword [ebx + 0x1260], eax
mov dword [ebx + 0x12c8], eax
mov dword [ebx + 0x12cc], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebx + 0x1258], 1
call fcn.0055ae00
lea edi, [ebx + 0xb4c]
lea esi, [eax + 4]
cmp edi, esi
je 0x561cf5
mov ecx, edi
call fcn.0040ab30
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.0040ab30
sub esp, 8
lea ecx, [ebx + 0xa80]
mov eax, esp
sub esp, 8
mov dword [eax], 0x5d6bc8
mov dword [eax + 4], 1
mov eax, esp
mov dword [eax], str.PLAT_WIN
mov dword [eax + 4], 8
call fcn.005270d0
sub esp, 8
lea ecx, [ebx + 0xa80]
mov eax, esp
sub esp, 8
mov dword [eax], 0x5d6c54
mov dword [eax + 4], 1
mov eax, esp
mov dword [eax], str.PLAT_WINNT
mov dword [eax + 4], 0xa
call fcn.005270d0
mov ecx, ebx
call fcn.00553450
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul ecx, eax, 0x64
mov eax, 0x2aaaaaab
push edi
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
mov ecx, ebx
call fcn.00562910
mov ecx, ebx
call fcn.00553550
push 0
push str.create.hidden.console
lea ecx, [ebx + 0xb0c]
call fcn.00528190
test eax, eax
je 0x561dca
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.toolbar.large
lea ecx, [ebx + 0xb0c]
call fcn.00528190
test eax, eax
mov ecx, ebx
setne al
mov byte [ebx + 0x1256], al
call fcn.00559830
mov ecx, ebx
call fcn.00553c40
xor eax, eax
mov dword [ebx + 0x12e4], 0
mov dword [ebx + 0x12e8], 0
mov dword [ebx + 0x12d4], eax
mov dword [ebx + 0x12d8], eax
mov dword [ebx + 0x12dc], eax
mov dword [ebx + 0x12e0], eax
push 0x5d6bf8
push dword [0x602f64]
mov dword [ebx + 0x1318], eax
mov dword [ebx + 0x131c], eax
mov dword [ebx + 0x12ec], ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebx + 0x12d0], eax
mov eax, ebx
mov dword [ebx + 0x1288], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 4