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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ee26
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x488250]
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
lea eax, [ebp - 0x34]
mov dword [edi], 0
push 0x46abe4
push eax
mov dword [edi + 4], 0
xor ebx, ebx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
call fcn.00429d20
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x34]
push 0x2e
push eax
call fcn.0042dc60
add esp, 0x14
cmp dword [ebp - 0x18], 4
jne 0x4297c1
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x42976a
mov eax, dword [eax]
push eax
call fcn.00445896
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x429783
mov eax, dword [eax]
push eax
call fcn.00445896
mov dword [ebp - 0x38], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0x30
cmp dword [eax + 0x14], 8
jb 0x42979d
mov eax, dword [eax]
push eax
call fcn.00445896
add esp, 4
mov ebx, eax
cmp esi, 0xa
jg 0x4297bd
jne 0x4297c1
cmp dword [ebp - 0x38], 0
jg 0x4297bd
cmp ebx, 0x4562
jle 0x4297c1
mov byte [edi + 0x30], 1
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test eax, eax
je 0x429800
push fcn.0040f7b0
push dword [eax - 4]
lea esi, [eax - 4]
mov byte [ebp - 4], 2
push 0x18
push eax
call fcn.00438129
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.0043822c
add esp, 8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp eax, 8
jb 0x429823
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00405850
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x4299ac
cmp byte [edi + 0x30], 0
je 0x4299ac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp ebx, 0x47ba
jge 0x42985d
push str.AllowDarkModeForApp
push eax
call esi
mov dword [edi], eax
jmp 0x429868
push str.SetPreferredAppMode
push eax
call esi
mov dword [edi + 4], eax
push str.AllowDarkModeForWindow
push dword [edi + 0x2c]
call esi
push str.ShouldAppsUseDarkMode
push dword [edi + 0x2c]
mov dword [edi + 8], eax
call esi
push str.IsDarkModeAllowedForWindow
push dword [edi + 0x2c]
mov dword [edi + 0xc], eax
call esi
push str.IsDarkModeAllowedForApp
push dword [edi + 0x2c]
mov dword [edi + 0x10], eax
call esi
push str.ShouldSystemUseDarkMode
push dword [edi + 0x2c]
mov dword [edi + 0x14], eax
call esi
push str.RefreshImmersiveColorPolicyState
push dword [edi + 0x2c]
mov dword [edi + 0x18], eax
call esi
push str.GetIsImmersiveColorUsingHighContrast
push dword [edi + 0x2c]
mov dword [edi + 0x1c], eax
call esi
push str.FlushMenuThemes
push dword [edi + 0x2c]
mov dword [edi + 0x20], eax
call esi
push str.SetWindowCompositionAttribute
push 0x46ae48
mov dword [edi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
cmp dword [edi], 0
mov dword [edi + 0x28], eax
jne 0x4298ff
cmp ebx, 0x47ba
jge 0x4298ff
push 0x87
push dword [edi + 0x2c]
call esi
mov dword [edi], eax
cmp dword [edi + 4], 0
jne 0x42991a
cmp ebx, 0x47ba
jl 0x42991a
push 0x87
push dword [edi + 0x2c]
call esi
mov dword [edi + 4], eax
cmp dword [edi + 8], 0
jne 0x42992d
push 0x85
push dword [edi + 0x2c]
call esi
mov dword [edi + 8], eax
cmp dword [edi + 0xc], 0
jne 0x429940
push 0x84
push dword [edi + 0x2c]
call esi
mov dword [edi + 0xc], eax
cmp dword [edi + 0x10], 0
jne 0x429953
push 0x89
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x10], eax
cmp dword [edi + 0x14], 0
jne 0x429966
push 0x8b
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x14], eax
cmp dword [edi + 0x18], 0
jne 0x429979
push 0x8a
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
jne 0x429989
push 0x68
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x20], 0
jne 0x429999
push 0x6a
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x20], eax
cmp dword [edi + 0x24], 0
jne 0x4299ac
push 0x88
push dword [edi + 0x2c]
call esi
mov dword [edi + 0x24], eax
mov eax, edi
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.004380af
mov esp, ebp
pop ebp
ret