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

Disassembly:
sub esp, 0x82c
lea eax, [esp]
push ebp
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push 0x80000001
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 4]
test edx, edx
je 0x403b55
push ebx
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
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 + 0x1c]
push edx
call fcn.00403660
mov ecx, 0x82
lea esi, [esp + 0x20]
lea edi, [esp + 0x430]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x82
lea esi, [esp + 0x20]
lea edi, [esp + 0x228]
lea edx, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x82
lea esi, [esp + 0x20]
lea edi, [esp + 0x638]
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 + 0x24]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4039f6
lea ecx, [esp + 0x1c]
push ecx
call ebp
and al, 0xfe
lea edx, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x1c]
push eax
push 0x40a9f8
call fcn.00403810
add esp, 8
mov edi, 0x40a468
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x42c]
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 + 0x430]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x403a6a
lea ecx, [esp + 0x42c]
push ecx
call ebp
and al, 0xfe
lea edx, [esp + 0x42c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x42c]
push eax
push 0x40a9f8
call fcn.00403810
add esp, 8
mov edi, 0x40a41c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x224]
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 + 0x228]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x403ade
lea ecx, [esp + 0x224]
push ecx
call ebp
and al, 0xfe
lea edx, [esp + 0x224]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x224]
push eax
push 0x40a9f8
call fcn.00403810
add esp, 8
mov edi, str.MicrosoftInternet_ExplorerQuick_LaunchInternet_Explorer.lnk
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x634]
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 + 0x638]
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 0x403b55
lea ecx, [esp + 0x628]
push ecx
call ebp
and al, 0xfe
lea edx, [esp + 0x628]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x628]
push eax
push 0x40a9f8
call fcn.00403810
add esp, 8
pop ebp
add esp, 0x82c
ret