Function at 0x43f3d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x814
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push esi
push edi
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43f49a
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoStartMenuPinnedList
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f472
cmp word [esp + 0x20], 1
jne 0x43f494
push eax
push 1
push 0xf1
push 0x28ce
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f494
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 4
push 0
push str.NoStartMenuPinnedList
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f534
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoStartMenuMFUprogramsList
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f50c
cmp word [esp + 0x20], 1
jne 0x43f52e
push eax
push 1
push 0xf1
push 0x28cf
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f52e
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoStartMenuMFUprogramsList
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f5ce
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoUserNameInStartMenu
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f5a6
cmp word [esp + 0x20], 1
jne 0x43f5c8
push eax
push 1
push 0xf1
push 0x28d0
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f5c8
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoUserNameInStartMenu
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f668
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.StartmenuLogoff
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f640
cmp word [esp + 0x20], 1
jne 0x43f662
push eax
push 1
push 0xf1
push 0x28d1
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f662
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.StartmenuLogoff
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f702
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoStartMenuSubFolders
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f6da
cmp word [esp + 0x20], 1
jne 0x43f6fc
push eax
push 1
push 0xf1
push 0x28d2
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f6fc
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoStartMenuSubFolders
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f79c
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoCommonGroups
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f774
cmp word [esp + 0x20], 1
jne 0x43f796
push eax
push 1
push 0xf1
push 0x28d3
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f796
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoCommonGroups
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f836
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoRecentDocsMenu
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f80e
cmp word [esp + 0x20], 1
jne 0x43f830
push eax
push 1
push 0xf1
push 0x28d4
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f830
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoRecentDocsMenu
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call ebp
test eax, eax
jne 0x43f8d0
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.ClearRecentDocsOnExit
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f8a8
cmp word [esp + 0x20], 1
jne 0x43f8ca
push eax
push 1
push 0xf1
push 0x28d5
push dword [0x4e6030]
call ebx
push eax
call edi
jmp 0x43f8ca
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.ClearRecentDocsOnExit
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SYSTEMCurrentControlSetControlKeyboard_Layout
push 0x80000002
call ebp
test eax, eax
jne 0x43f93e
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 3
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.Scancode_Map
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f938
push eax
push 1
push 0xf1
push 0x28d6
push dword [0x4e6030]
call ebx
push eax
call edi
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x814
ret