Function at 0x403908
Capabilities:
Delete directory
Delete file
Delete registry key
Get common file path
Get startup folder
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
mov dword [ebp - 0x370], ecx
lea ecx, [ebp - 0x10]
call fcn.00401fc0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x340]
push eax
call fcn.0040ce6f
add esp, 4
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x378], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x378]
push edx
lea ecx, [ebp - 0x10]
call fcn.00426087
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x340]
call fcn.00425f4e
push 0x443d08
lea ecx, [ebp - 0x10]
call fcn.0042632a
mov dword [ebp - 0x14], 0
jmp 0x40399d
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x62
jae 0x403a08
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x34
cmp dword [ecx + 0x43d448], 1
jne 0x403a06
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x34
add edx, 0x43d418
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x344]
push ecx
call fcn.004261e3
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x380]
call fcn.00408ae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.00425f4e
jmp 0x403994
push 0x443d0c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x348]
push ecx
call fcn.004261e3
mov dword [ebp - 0x384], eax
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x388], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x388]
call fcn.00408ae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x348]
call fcn.00425f4e
push 0x443d18
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34c]
push ecx
call fcn.004261e3
mov dword [ebp - 0x38c], eax
mov edx, dword [ebp - 0x38c]
mov dword [ebp - 0x390], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x390]
call fcn.00408ae0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34c]
call fcn.00425f4e
lea eax, [ebp - 0x234]
push eax
push 0x2001f
push 0
push 0x443d20
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x230], 0x104
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x338]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
push 0x443d64
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00425fbc
mov byte [ebp - 4], 5
push 0x443d6c
lea ecx, [ebp - 0x1c]
call fcn.0042632a
push 0x443d70
lea edx, [ebp - 0x350]
push edx
mov ecx, dword [0x449e64]
call fcn.00407f98
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x443d9c
lea eax, [ebp - 0x124]
push eax
call fcn.00415a4a
add esp, 0x10
lea ecx, [ebp - 0x350]
call fcn.00425f4e
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x443da4
lea edx, [ebp - 0x354]
push edx
mov ecx, dword [0x449e64]
call fcn.00407f98
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x443dd4
lea eax, [ebp - 0x124]
push eax
call fcn.00415a4a
add esp, 0x10
lea ecx, [ebp - 0x354]
call fcn.00425f4e
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x443ddc
lea edx, [ebp - 0x358]
push edx
mov ecx, dword [0x449e64]
call fcn.00407f98
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x443e0c
lea eax, [ebp - 0x124]
push eax
call fcn.00415a4a
add esp, 0x10
lea ecx, [ebp - 0x358]
call fcn.00425f4e
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x18]
push edx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00425fbc
mov byte [ebp - 4], 6
push 0x443e14
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x35c]
push ecx
call fcn.004261e3
mov dword [ebp - 0x3a0], eax
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00426087
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x35c]
call fcn.00425f4e
push 0x443e40
lea ecx, [ebp - 0x360]
push ecx
mov ecx, dword [0x449e64]
call fcn.00407f98
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00426366
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x360]
call fcn.00425f4e
lea ecx, [ebp - 0x22c]
call fcn.00408ae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x22c]
call fcn.00425f4e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00425f4e
push 0x443e78
push 0x443e7c
lea ecx, [ebp - 0x368]
push ecx
mov ecx, dword [0x449e64]
call fcn.00407f98
mov dword [ebp - 0x3b0], eax
mov edx, dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3b4]
call fcn.00408ae0
push eax
call fcn.00415e20
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x364], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.00425f4e
mov eax, dword [ebp - 0x364]
and eax, 0xff
test eax, eax
je 0x403dd5
lea ecx, [ebp - 0x33c]
push ecx
push 0x443eac
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x443ec8
mov edx, dword [ebp - 0x33c]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, dword [ebp - 0x33c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x36c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00425f4e
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret