Function at 0x432a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbac6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x66f33c]
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
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], 0
push 0
push eax
mov dword [ebp - 0x24c], 0
call fcn.0047be90
add esp, 0xc
call fcn.004544b9
test al, al
je 0x432ab2
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
push 0x4f
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432c94
call fcn.004543ea
test al, al
je 0x432b38
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
push 4
push 0x5e6410
lea ecx, [ebp - 0x230]
call fcn.00403000
push 0x1d
push str.WindowsResetMasterOverlayIcon
lea ecx, [ebp - 0x230]
call fcn.00405290
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x432c6d
push 0x5e616c
lea ecx, [ebp - 0x248]
call fcn.00403740
push 0x24
push 0x5e6170
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00405290
push 1
push 0x5e61bc
lea ecx, [ebp - 0x248]
call fcn.00405290
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x432bf0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432c10
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e266c
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x432c6d
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403100
call fcn.00454543
test al, al
je 0x432c88
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x432cb2
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
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.0045132d
mov esp, ebp
pop ebp
ret