Function at 0x40fe20
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59532b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x2c]
push eax
call fcn.004a10c0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov byte [ebp - 4], 1
push 0
push 6
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00409100
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004136d0
lea ecx, [ebp - 0x28]
call fcn.004a2910
mov byte [ebp - 4], 2
call fcn.00485500
test eax, eax
je 0x40febf
mov ecx, dword [ebp - 0x10]
push ecx
push str._sLinks
lea edx, [ebp - 0x28]
push edx
call fcn.004098b0
add esp, 0xc
jmp 0x40fed4
mov eax, dword [ebp - 0x10]
push eax
push 0x5a33cc
lea ecx, [ebp - 0x28]
push ecx
call fcn.004098b0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00411760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004115e0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00409070
push 0
push 0x5a33d4
lea eax, [ebp - 0x94]
push eax
call fcn.00485310
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xec]
call fcn.00411740
push eax
lea ecx, [ebp - 0x20]
call fcn.00409090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00411720
push str.tid1001264974
lea ecx, [ebp - 0x18]
call fcn.00409090
push 0x5a3418
lea ecx, [ebp - 0x1c]
call fcn.00409090
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411880
lea ecx, [ebp - 0x6c]
call fcn.004115e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00409070
push 0
push 0x5a341c
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00485310
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xf4]
call fcn.00411740
push eax
lea ecx, [ebp - 0x68]
call fcn.00409090
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
call fcn.00411720
push 0x5a3450
lea ecx, [ebp - 0x60]
call fcn.00409090
push 0x5a3460
lea ecx, [ebp - 0x64]
call fcn.00409090
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411880
lea ecx, [ebp - 0x58]
call fcn.004115e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00409070
push 0
push 0x5a3464
lea edx, [ebp - 0xcc]
push edx
call fcn.00485310
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xfc]
call fcn.00411740
push eax
lea ecx, [ebp - 0x54]
call fcn.00409090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xcc]
call fcn.00411720
push str.tid1001264976
lea ecx, [ebp - 0x4c]
call fcn.00409090
push 0x5a34a8
lea ecx, [ebp - 0x50]
call fcn.00409090
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411880
mov dword [ebp - 0x70], 0
jmp 0x410099
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x44]
call fcn.00411830
cmp dword [ebp - 0x70], eax
jae 0x410343
push 0x5a34ac
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 8
push eax
call fcn.00408250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x410183
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411850
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x108], eax
push 0
lea edx, [ebp - 0xd8]
push edx
mov byte [ebp - 4], 8
call fcn.004a11c0
add esp, 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0x10
mov ecx, eax
call fcn.00409070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00408330
jmp 0x410255
push 0x5a34b0
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 8
push eax
call fcn.00408250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x410255
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411850
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0xe4]
push edx
mov byte [ebp - 4], 8
call fcn.004a1410
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0x10
mov ecx, eax
call fcn.00409070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe4]
call fcn.00408330
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0x10
mov ecx, eax
call fcn.004080b0
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0x10
mov ecx, eax
call fcn.00408290
movzx edx, al
test edx, edx
jne 0x41033e
push 0
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0xc
mov ecx, eax
call fcn.004090f0
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411850
add eax, 0x10
mov ecx, eax
call fcn.00408030
test eax, eax
jle 0x41033e
lea ecx, [ebp - 0x74]
call fcn.004a2910
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.004a2910
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411850
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00411850
mov edx, dword [eax + 4]
push edx
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x44]
call fcn.00411850
mov ecx, dword [eax]
push ecx
push str._s_s._s
lea edx, [ebp - 0x78]
push edx
call fcn.004098b0
add esp, 0x14
lea ecx, [ebp - 0x78]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.00408330
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.00408330
jmp 0x410090
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00411630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00411630
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00411630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004117d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00408330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret