Function at 0x429570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
push eax
mov ecx, 0x49c088
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], 0x80000001
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], 1
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x37], ebx
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
call fcn.0042dde0
cmp eax, ebx
jne 0x4295df
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.00437a70
test eax, 0x400000
je 0x429679
push 0x104
mov dword [ebp - 4], ebx
call fcn.00460f8e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
jmp 0x42961a
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x429735
xor eax, eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
push esi
lea edx, [ebp - 0x58]
mov dword [ebp - 0x44], ecx
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x40], ecx
push eax
mov dword [ebp - 0x3c], ecx
call fcn.004285e0
add esp, 0xc
test eax, eax
je 0x429726
cmp dword [ebp - 0x20], ebx
je 0x429679
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], ecx
push str.IsSetModeAfterRebootNeeded__Access_Registry_n
call fcn.0040acd0
mov eax, dword [ebp - 0x14]
mov edi, dword [0x472074]
add esp, 4
lea edx, [ebp - 0x1c]
push edx
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionControls_FolderDisplay
push eax
call edi
mov esi, eax
test esi, esi
je 0x4296e0
push str.IsSetModeAfterRebootNeeded__impersonating_current_user_n
call fcn.0040acd0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
call dword [0x472064]
test eax, eax
jne 0x4296dc
lea edx, [ebp - 0x1c]
push edx
mov ebx, 1
push ebx
push eax
mov eax, dword [ebp - 0x14]
push str.SoftwareMicrosoftWindowsCurrentVersionControls_FolderDisplay
push eax
call edi
mov esi, eax
test esi, esi
jne 0x429741
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
push str.DynaSettingsChange
push ecx
call dword [0x472078]
test eax, eax
jne 0x42971a
mov al, byte [ebp - 0x38]
cmp al, 0x31
mov dword [ebp - 0x24], 1
je 0x429713
cmp al, 0x33
jne 0x42971a
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x47207c]
jmp 0x42974e
push str.IsSetModeAfterRebootNeeded__ImpersonateTheUser_failed_n
call fcn.0040acd0
add esp, 4
jmp 0x429778
push str.IsSetModeAfterRebootNeeded__new_char__MAX_PATH__failed_n
call fcn.0040acd0
jmp 0x429782
push str.IsSetModeAfterRebootNeeded__Fail_to_get_DynaSettingsChange_n
call fcn.0040acd0
add esp, 4
test ebx, ebx
je 0x42975c
mov eax, dword [ebp - 0x14]
push eax
call dword [0x47207c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x429773
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004248a0
add esp, 8
mov esi, dword [ebp - 0x18]
xor ebx, ebx
cmp esi, ebx
je 0x429785
push esi
call fcn.00460851
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret