Function at 0x411336
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x469856
call fcn.00452ee7
xor esi, esi
inc esi
cmp byte [0x4b74e5], 0
mov dword [ebp - 0x1c], esi
jne 0x411356
call fcn.004112b2
mov eax, dword [ebp + 8]
cmp eax, dword [0x4b74d8]
jle 0x411368
mov eax, esi
jmp 0x4117fa
mov eax, dword [0x4b7c20]
cmp eax, dword [0x471a14]
jne 0x4115b2
call fcn.0043f3c0
push eax
lea ecx, [ebp + 8]
call fcn.004013a1
mov esi, 0x104
xor edi, edi
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0040165f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x411491
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.004076ad
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x18]
call fcn.004013a1
push 0x4b76cc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00401025
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004077b3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
push edi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x34]
call fcn.00401229
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x18]
mov esi, 0x3021
push esi
mov edi, 0x4b7c1c
push ebx
mov ecx, edi
call fcn.0044b6f6
test eax, eax
jne 0x4114b2
push 0x47d2f4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407458
add esp, 0xc
push 0x80
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x34]
push eax
push esi
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0044b6f6
test eax, eax
jne 0x4114a3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x4117fa
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, edi
call fcn.0044b9e5
test edx, edx
ja 0x4114c5
test eax, eax
jbe 0x411587
mov dword [ebp - 0x20], 1
test edx, edx
ja 0x4114d7
cmp eax, 0x100000
jb 0x411546
mov ecx, edi
call fcn.0044baac
push 0x4b76d0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401025
add esp, 0xc
push 0x80
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x411520
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
mov ecx, edi
call fcn.0044b6f6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
je 0x411472
call fcn.004017df
cmp dword [ebp - 0x20], 0
je 0x411587
push 2
push 0
mov byte [ebp - 4], 6
mov eax, dword [0x4b7c1c]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov esi, 0x47d324
push esi
mov ecx, edi
call fcn.0044b8ed
push esi
mov ecx, edi
call fcn.0044b8ed
push esi
mov ecx, edi
call fcn.0044b8ed
jmp 0x411587
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.004017df
lea ecx, [ebx - 0x10]
call fcn.004017df
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x4115b7
mov edi, 0x4b7c1c
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x14]
call fcn.004013a1
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 8
call fcn.0041193a
call fcn.0043f3c0
push eax
lea ecx, [ebp + 8]
call fcn.004013a1
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x411600
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4116ce
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401025
add esp, 0xc
push dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401025
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.004077b3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
push 0x47d328
xor ecx, ecx
lea esi, [ebp + 8]
call fcn.004073c6
cmp eax, 0xffffffff
je 0x411696
add eax, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0040741a
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004077b3
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
push str.hidden
mov ecx, esi
call fcn.00407601
mov byte [ebp - 4], 0xd
push dword [ebp + 8]
mov ecx, edi
call fcn.0044b8ed
push 0x47d324
mov ecx, edi
call fcn.0044b8ed
mov dword [ebp - 4], 9
jmp 0x4116ce
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x4117cc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.004077b3
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x4116f6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
je 0x411703
push 0x47d364
lea ecx, [ebp + 8]
call fcn.00407601
cmp dword [ebp + 0x14], 0x186a0
jne 0x41176d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x411721
mov dword [ebp - 0x1c], 1
push eax
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x400
push esi
push eax
push 0x1100
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push str.GetLastError__:__1_d_____2_s_
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407458
add esp, 0xc
mov byte [ebp - 4], 0xf
push dword [ebp - 0x20]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00410454
mov ecx, dword [ebp - 0x18]
add esp, 0x10
jmp 0x41179b
push str.Error_Code:__1_d__n
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407458
add esp, 0xc
push dword [ebp + 0x14]
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00410454
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 0x11
push dword [ebp + 8]
mov ecx, edi
call fcn.0044b8ed
mov dword [ebp - 4], 9
jmp 0x4117cc
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.0044ba81
cmp dword [ebp + 0x14], 0
je 0x4117e1
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp - 0x1c]
call fcn.00452f8c
ret