Function at 0x4036c0
Capabilities:
Delete file
Get file attributes
Query or enumerate registry value
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x408f2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebp
call fcn.00403510
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x40e268
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 4]
test edx, edx
je 0x40397b
push ebx
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push str.AppData
push edx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
push edx
call fcn.00405410
mov ecx, 0x82
lea esi, [esp + 0x30]
lea edi, [esp + 0x648]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x82
lea esi, [esp + 0x30]
lea edi, [esp + 0x440]
lea edx, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x82
lea esi, [esp + 0x30]
lea edi, [esp + 0x238]
push eax
rep movsd dword es:[edi], dword [esi]
mov edi, str.MicrosoftInternet_ExplorerQuick_Launch_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.MSVCRT.dll__access]
and ecx, 3
lea eax, [esp + 0x34]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4037e2
lea ecx, [esp + 0x2c]
push ecx
call ebp
lea edx, [esp + 0x2c]
push edx
push 0xa5
call fcn.00403430
add esp, 8
mov edi, 0x40e754
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x644]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x648]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x403845
lea ecx, [esp + 0x644]
push ecx
call ebp
lea edx, [esp + 0x644]
push edx
push 0xa5
call fcn.00403430
add esp, 8
mov edi, 0x40e708
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x43c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x440]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4038f6
lea ecx, [esp + 0x43c]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x18]
mov dword [esp + 0x854], 0
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CFile::Close
cmp esi, 0xc8
jle 0x4038e2
lea edx, [esp + 0x43c]
push edx
call ebp
lea eax, [esp + 0x43c]
push eax
push 0xa5
call fcn.00403430
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x854], 0xffffffff
call fcn.00408596
mov edi, str.MicrosoftInternet_ExplorerQuick_LaunchInternet_Explorer.lnk
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x234]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x238]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
je 0x40397b
lea ecx, [esp + 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
lea edx, [esp + 0x228]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x228]
push eax
call ebp
lea ecx, [esp + 0x228]
push ecx
push 0xa5
call fcn.00403430
add esp, 8
mov ecx, dword [esp + 0x840]
pop ebp
mov dword fs:[0], ecx
add esp, 0x848
ret