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

Disassembly:
push 0x2c
mov eax, 0x4729a7
call fcn.0045bea7
xor esi, esi
inc esi
cmp byte [0x4c44e9], 0
mov dword [ebp - 0x1c], esi
jne 0x414e21
call main
mov eax, dword [ebp + 8]
cmp eax, dword [0x4c44dc]
jle 0x414e33
mov eax, esi
jmp 0x4152c5
mov eax, dword [0x4c4c38]
cmp eax, dword [0x47ba24]
jne 0x41507d
call fcn.0044825c
push eax
lea ecx, [ebp + 8]
call fcn.0041872d
mov esi, 0x104
xor edi, edi
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0040241d
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x414f5c
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0040b00b
call fcn.0044825c
push eax
lea ecx, [ebp - 0x18]
call fcn.0041872d
push 0x4c46dc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00401de9
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00402573
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025d2
push edi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x34]
call fcn.00401fed
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x18]
mov esi, 0x3021
push esi
mov edi, 0x4c4c34
push ebx
mov ecx, edi
call main
test eax, eax
jne 0x414f7d
push 0x487b24
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb6
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 main
test eax, eax
jne 0x414f6e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.004025d2
lea ecx, [ebx - 0x10]
call fcn.004025d2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
jmp 0x4152c5
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, edi
call fcn.00454813
test edx, edx
ja 0x414f90
test eax, eax
jbe 0x415052
mov dword [ebp - 0x20], 1
test edx, edx
ja 0x414fa2
cmp eax, 0x100000
jb 0x415011
mov ecx, edi
call fcn.004548da
push 0x4c46e0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401de9
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 0x414feb
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
mov ecx, edi
call main
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
je 0x414f3d
call fcn.004025d2
cmp dword [ebp - 0x20], 0
je 0x415052
push 2
push 0
mov byte [ebp - 4], 6
mov eax, dword [0x4c4c34]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov esi, 0x487b54
push esi
mov ecx, edi
call main
push esi
mov ecx, edi
call main
push esi
mov ecx, edi
call main
jmp 0x415052
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.004025d2
lea ecx, [ebx - 0x10]
call fcn.004025d2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x415082
mov edi, 0x4c4c34
call fcn.0044825c
push eax
lea ecx, [ebp - 0x14]
call fcn.0041872d
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 8
call fcn.00415405
call fcn.0044825c
push eax
lea ecx, [ebp + 8]
call fcn.0041872d
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x4150cb
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x415199
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401de9
add esp, 0xc
push dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401de9
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00402573
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
push 0x487b58
xor ecx, ecx
lea esi, [ebp + 8]
call fcn.0040ad24
cmp eax, 0xffffffff
je 0x415161
add eax, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call main
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00402573
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025d2
push str.hidden
mov ecx, esi
call fcn.0040af5f
mov byte [ebp - 4], 0xd
push dword [ebp + 8]
mov ecx, edi
call main
push 0x487b54
mov ecx, edi
call main
mov dword [ebp - 4], 9
jmp 0x415199
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x415297
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00402573
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x4151c1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
je 0x4151ce
push 0x487b94
lea ecx, [ebp + 8]
call fcn.0040af5f
cmp dword [ebp + 0x14], 0x186a0
jne 0x415238
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x4151ec
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.0040adb6
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 main
mov ecx, dword [ebp - 0x18]
add esp, 0x10
jmp 0x415266
push str.Error_Code:__1_d__n
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040adb6
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 main
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 0x11
push dword [ebp + 8]
mov ecx, edi
call main
mov dword [ebp - 4], 9
jmp 0x415297
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.004548af
cmp dword [ebp + 0x14], 0
je 0x4152ac
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebp - 0x1c]
call fcn.0045bf4c
ret