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

Disassembly:
push 0x2c
mov eax, 0x469372
call fcn.004529f7
xor esi, esi
inc esi
cmp byte [0x4b74e5], 0
mov dword [ebp - 0x1c], esi
jne 0x411300
call main
mov eax, dword [ebp + 8]
cmp eax, dword [0x4b74d8]
jle 0x411312
mov eax, esi
jmp 0x4117a4
mov eax, dword [0x4b7c08]
cmp eax, dword [0x471a14]
jne 0x41155c
call fcn.0043eec2
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 0x41143b
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00407662
call fcn.0043eec2
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.00407768
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, 0x4b7c04
push ebx
mov ecx, edi
call main
test eax, eax
jne 0x41145c
push 0x47d2ec
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040740d
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 0x41144d
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 0x4117a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, edi
call fcn.0044b49b
test edx, edx
ja 0x41146f
test eax, eax
jbe 0x411531
mov dword [ebp - 0x20], 1
test edx, edx
ja 0x411481
cmp eax, 0x100000
jb 0x4114f0
mov ecx, edi
call fcn.0044b562
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 0x4114ca
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 0x41141c
call fcn.004017df
cmp dword [ebp - 0x20], 0
je 0x411531
push 2
push 0
mov byte [ebp - 4], 6
mov eax, dword [0x4b7c04]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov esi, 0x47d31c
push esi
mov ecx, edi
call main
push esi
mov ecx, edi
call main
push esi
mov ecx, edi
call main
jmp 0x411531
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 0x411561
mov edi, 0x4b7c04
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x14]
call fcn.004013a1
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 8
call fcn.004118e4
call fcn.0043eec2
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 0x4115aa
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x411678
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.00407768
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 0x47d320
xor ecx, ecx
lea esi, [ebp + 8]
call fcn.0040737b
cmp eax, 0xffffffff
je 0x411640
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.00407768
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
push str.hidden
mov ecx, esi
call fcn.004075b6
mov byte [ebp - 4], 0xd
push dword [ebp + 8]
mov ecx, edi
call main
push 0x47d31c
mov ecx, edi
call main
mov dword [ebp - 4], 9
jmp 0x411678
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x411776
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00407768
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x4116a0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
je 0x4116ad
push 0x47d35c
lea ecx, [ebp + 8]
call fcn.004075b6
cmp dword [ebp + 0x14], 0x186a0
jne 0x411717
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x4116cb
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.0040740d
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 0x411745
push str.Error_Code:__1_d__n
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040740d
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.004017df
mov byte [ebp - 4], 0x11
push dword [ebp + 8]
mov ecx, edi
call main
mov dword [ebp - 4], 9
jmp 0x411776
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.0044b537
cmp dword [ebp + 0x14], 0
je 0x41178b
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.00452a9c
ret