Function at 0x47bf60
Capabilities:
Access peb ldr_data
Get ntdll base address
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db045
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x65eb68]
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 esi, ecx
lea eax, [ebp - 0x3c]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x38], 0x4404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [ebp - 0x28]
mov byte [esi + 0x30], 0
push 0x5ee5bc
push eax
xor ebx, ebx
call fcn.00484b50
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push 1
push 0x5edefc
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047b980
mov eax, dword [ebp - 0x30]
add esp, 0x1c
mov ecx, dword [ebp - 0x34]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 0x10
jne 0x47c064
cmp dword [ecx], 0xa
mov ebx, dword [ecx + 8]
jg 0x47c060
jne 0x47c064
cmp dword [ecx + 4], 0
jg 0x47c060
cmp ebx, 0x4562
jle 0x47c064
mov byte [esi + 0x30], 1
test ecx, ecx
je 0x47c098
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x47c08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47c279
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47c0d2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47c0c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47c279
push edx
push ecx
call fcn.00599f8e
add esp, 8
push 0x5ee5bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x47c25b
cmp byte [esi + 0x30], 0
je 0x47c25b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp ebx, 0x47ba
jge 0x47c10c
push str.AllowDarkModeForApp
push eax
call edi
mov dword [esi], eax
jmp 0x47c117
push str.SetPreferredAppMode
push eax
call edi
mov dword [esi + 4], eax
push str.AllowDarkModeForWindow
push dword [esi + 0x2c]
call edi
push str.ShouldAppsUseDarkMode
push dword [esi + 0x2c]
mov dword [esi + 8], eax
call edi
push str.IsDarkModeAllowedForWindow
push dword [esi + 0x2c]
mov dword [esi + 0xc], eax
call edi
push str.IsDarkModeAllowedForApp
push dword [esi + 0x2c]
mov dword [esi + 0x10], eax
call edi
push str.ShouldSystemUseDarkMode
push dword [esi + 0x2c]
mov dword [esi + 0x14], eax
call edi
push str.RefreshImmersiveColorPolicyState
push dword [esi + 0x2c]
mov dword [esi + 0x18], eax
call edi
push str.GetIsImmersiveColorUsingHighContrast
push dword [esi + 0x2c]
mov dword [esi + 0x1c], eax
call edi
push str.FlushMenuThemes
push dword [esi + 0x2c]
mov dword [esi + 0x20], eax
call edi
push str.SetWindowCompositionAttribute
push str.user32.dll
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
cmp dword [esi], 0
mov dword [esi + 0x28], eax
jne 0x47c1ae
cmp ebx, 0x47ba
jge 0x47c1ae
push 0x87
push dword [esi + 0x2c]
call edi
mov dword [esi], eax
cmp dword [esi + 4], 0
jne 0x47c1c9
cmp ebx, 0x47ba
jl 0x47c1c9
push 0x87
push dword [esi + 0x2c]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
jne 0x47c1dc
push 0x85
push dword [esi + 0x2c]
call edi
mov dword [esi + 8], eax
cmp dword [esi + 0xc], 0
jne 0x47c1ef
push 0x84
push dword [esi + 0x2c]
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 0x10], 0
jne 0x47c202
push 0x89
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0
jne 0x47c215
push 0x8b
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x14], eax
cmp dword [esi + 0x18], 0
jne 0x47c228
push 0x8a
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], 0
jne 0x47c238
push 0x68
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x20], 0
jne 0x47c248
push 0x6a
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x20], eax
cmp dword [esi + 0x24], 0
jne 0x47c25b
push 0x88
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x24], eax
mov eax, esi
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.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.005a1930
int3