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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54daf7
mov eax, dword fs:[0]
push eax
mov eax, 0x20a8
call fcn.00472a80
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.004f3280
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1010], dx
push 0x7fe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.004f3280
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1810], cx
push 0x7fe
push 0
lea edx, [ebp - 0x180e]
push edx
call fcn.004f3280
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x20ac], eax
push 0
push 0x10
lea ecx, [ebp - 0x1010]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x20b0], eax
push 0
push 0
lea edx, [ebp - 0x1810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x20b4], eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00404c20
mov dword [ebp - 4], 0
push 0x5a22c4
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22c8
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22e4
lea ecx, [ebp - 0x2028]
call fcn.004064c0
lea ecx, [ebp - 0x2028]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x2028]
call fcn.004070c0
push 0x5a22f0
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22f4
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a2310
lea ecx, [ebp - 0x2028]
call fcn.004064c0
lea ecx, [ebp - 0x2028]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x1810]
push edx
lea ecx, [ebp - 0x2028]
call fcn.004070c0
push 0x5a231c
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a2320
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a233c
lea ecx, [ebp - 0x2028]
call fcn.004064c0
lea ecx, [ebp - 0x2028]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x20a1], 0
lea ecx, [ebp - 0x2040]
call fcn.00401d20
mov byte [ebp - 4], 1
cmp dword [0x1343cd0], 0
je 0x41839d
mov eax, dword [0x1343cd0]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x2040]
call fcn.00401c60
push 0x5a2348
lea ecx, [ebp - 0x2040]
call fcn.004064c0
push 0x5a234c
lea ecx, [ebp - 0x2040]
call fcn.004064c0
xor ecx, ecx
mov word [ebp - 0x2010], cx
push 0x7fe
push 0
lea edx, [ebp - 0x200e]
push edx
call fcn.004f3280
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x2040]
call fcn.00401c20
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.00500a34
add esp, 0xc
lea ecx, [ebp - 0x2058]
push ecx
call fcn.00418090
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2058]
call fcn.00401bf0
movzx edx, al
test edx, edx
je 0x418468
mov al, byte [ebp - 0x20a1]
mov byte [ebp - 0x20a3], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2058]
call fcn.00401cd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2040]
call fcn.00401cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2028]
call fcn.00401cd0
mov al, byte [ebp - 0x20a3]
jmp 0x4185d8
cmp dword [0x1343cd0], 0
je 0x4184d8
push 0x5a2370
lea ecx, [ebp - 0x2058]
push ecx
lea edx, [ebp - 0x20a0]
push edx
call fcn.00407220
add esp, 0xc
mov dword [ebp - 0x20a8], eax
mov eax, dword [ebp - 0x20a8]
push eax
mov ecx, dword [0x1343cd0]
add ecx, 0x34
call fcn.00404a40
lea ecx, [ebp - 0x20a0]
call fcn.00401cd0
push 0x5a2374
mov ecx, dword [0x1343cd0]
add ecx, 0x34
call fcn.004064c0
push 0x5a2390
mov ecx, dword [0x1343cd0]
add ecx, 0x34
call fcn.004064c0
push 0x5a239c
lea ecx, [ebp - 0x2058]
push ecx
lea edx, [ebp - 0x2070]
push edx
call fcn.00407220
add esp, 0xc
mov byte [ebp - 4], 3
push 0x5a23a0
lea ecx, [ebp - 0x2070]
call fcn.004064c0
push 0x5a23bc
lea ecx, [ebp - 0x2070]
call fcn.004064c0
lea ecx, [ebp - 0x2070]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2088]
call fcn.00404c20
mov byte [ebp - 4], 4
mov ecx, dword [0x1343cd0]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x2088]
push edx
call fcn.00417db0
add esp, 8
test eax, eax
je 0x418565
mov byte [ebp - 0x20a2], 1
jmp 0x41856c
mov byte [ebp - 0x20a2], 0
mov al, byte [ebp - 0x20a2]
mov byte [ebp - 0x20a1], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2088]
call fcn.00401cd0
mov cl, byte [ebp - 0x20a1]
mov byte [ebp - 0x20a4], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2070]
call fcn.00401cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2058]
call fcn.00401cd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2040]
call fcn.00401cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2028]
call fcn.00401cd0
mov al, byte [ebp - 0x20a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret