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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dc97
mov eax, dword fs:[0]
push eax
mov eax, 0x20a8
call fcn.00472b30
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.004f3400
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1010], dx
push 0x7fe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.004f3400
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1810], cx
push 0x7fe
push 0
lea edx, [ebp - 0x180e]
push edx
call fcn.004f3400
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 0x5a227c
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a2280
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a229c
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 0x5a22a8
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22ac
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22c8
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 0x5a22d4
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22d8
lea ecx, [ebp - 0x2028]
call fcn.004064c0
push 0x5a22f4
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 [0x1343ca0], 0
je 0x4184bd
mov eax, dword [0x1343ca0]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x2040]
call fcn.00401c60
push 0x5a2300
lea ecx, [ebp - 0x2040]
call fcn.004064c0
push 0x5a2304
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.004f3400
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x2040]
call fcn.00401c20
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.00500bb4
add esp, 0xc
lea ecx, [ebp - 0x2058]
push ecx
call fcn.004181b0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2058]
call fcn.00401bf0
movzx edx, al
test edx, edx
je 0x418588
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 0x4186f8
cmp dword [0x1343ca0], 0
je 0x4185f8
push 0x5a2328
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 [0x1343ca0]
add ecx, 0x34
call fcn.00404a40
lea ecx, [ebp - 0x20a0]
call fcn.00401cd0
push 0x5a232c
mov ecx, dword [0x1343ca0]
add ecx, 0x34
call fcn.004064c0
push 0x5a2348
mov ecx, dword [0x1343ca0]
add ecx, 0x34
call fcn.004064c0
push 0x5a2354
lea ecx, [ebp - 0x2058]
push ecx
lea edx, [ebp - 0x2070]
push edx
call fcn.00407220
add esp, 0xc
mov byte [ebp - 4], 3
push 0x5a2358
lea ecx, [ebp - 0x2070]
call fcn.004064c0
push 0x5a2374
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 [0x1343ca0]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x2088]
push edx
call fcn.00417ee0
add esp, 8
test eax, eax
je 0x418685
mov byte [ebp - 0x20a2], 1
jmp 0x41868c
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.00472312
mov esp, ebp
pop ebp
ret