Function at 0x401cf0
Capabilities:
Enumerate gui resources
Set registry value

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push str.SetDriveIcon_n
call fcn.00401100
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x1c]
and eax, 0xffff
mov dword [esp + 0x14], 0
lea ebx, [eax + 0x41]
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDriveIcons_cDefaultIcon
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x401d64
mov edx, dword [esp + 0x10]
push edx
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
lea ecx, [esp + 0x20]
push 0
push ecx
push 0x80000002
call ebp
mov edx, dword [esp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call esi
push ebx
lea ecx, [esp + 0x1c]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDriveIcons_cDefaultLabel
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401df0
mov edx, dword [esp + 0x10]
push edx
call esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
call ebp
mov edx, dword [esp + 0x124]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call esi
push ebx
lea ecx, [esp + 0x1c]
push str.ApplicationsExplorer.exeDrives_cDefaultIcon
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401e76
mov edx, dword [esp + 0x10]
push edx
call esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call ebp
mov edx, dword [esp + 0x120]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call esi
push ebx
lea ecx, [esp + 0x1c]
push str.ApplicationsExplorer.exeDrives_cDefaultLabel
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401efc
mov edx, dword [esp + 0x10]
push edx
call esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call ebp
mov edx, dword [esp + 0x124]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call esi
push 0
push 0x401c30
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret