Function at 0x40c030
Capabilities:
Create directory
Delete file
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b8d4
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x42c0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x530]
call fcn.0040de30
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 0
push 0x26
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040df60
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x530]
push str._s_s.lnk
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea ecx, [ebp - 0x530]
call fcn.0040df60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x4a8]
push 0x27
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040df60
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x530]
push 0x41e384
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
push 0
lea ecx, [ebp - 0x530]
call fcn.0040df60
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x5b8]
call fcn.0040de30
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 3
call fcn.0040de30
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 4
push 0x23
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040df60
push eax
push esi
push 0x41e384
lea eax, [ebp - 0x5b8]
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea eax, [ebp - 0x4a8]
push 0x24
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040df60
push eax
push esi
lea eax, [ebp - 0x750]
push 0x41e384
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea ecx, [ebp - 0x6c8]
call fcn.0040de30
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 7
call fcn.0040de30
lea ecx, [ebp - 0x7d8]
mov byte [ebp - 4], 8
call fcn.0040de30
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 9
push 0x26
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040df60
push eax
lea ecx, [ebp - 0x530]
call fcn.0040df60
push eax
lea eax, [ebp - 0x6c8]
push str._s_s.lnk
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea ecx, [ebp - 0x6c8]
call fcn.0040df60
push eax
lea ecx, [ebp - 0x5b8]
call fcn.0040df60
push eax
call fcn.0040bf90
add esp, 8
lea eax, [ebp - 0x420]
push 0
push 0x16
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x640]
call fcn.0040de30
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 0xb
push 0x26
push eax
call fcn.0040e570
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040df60
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x640]
push str._s_s.lnk
push eax
call fcn.0040e3b0
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea ecx, [ebp - 0x640]
call fcn.0040df60
push eax
lea ecx, [ebp - 0x5b8]
call fcn.0040df60
push eax
call fcn.0040bf90
add esp, 8
lea ecx, [ebp - 0x640]
call fcn.0040de80
lea ecx, [ebp - 0x7d8]
call fcn.0040de80
lea ecx, [ebp - 0x860]
call fcn.0040de80
lea ecx, [ebp - 0x6c8]
call fcn.0040de80
lea ecx, [ebp - 0x750]
call fcn.0040de80
lea ecx, [ebp - 0x5b8]
call fcn.0040de80
lea ecx, [ebp - 0x530]
call fcn.0040de80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418138
mov esp, ebp
pop ebp
ret