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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462571
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 1
movzx eax, byte [0x498aec]
test eax, eax
jne 0x45c2b6
call fcn.0045c100
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x498ae0]
jle 0x45c2cb
mov eax, 1
jmp 0x45c8a2
mov edx, dword [0x4991d0]
cmp edx, dword [0x466a34]
jne 0x45c5e8
lea ecx, [ebp - 0x20]
call fcn.00404f90
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x20]
call fcn.004021a0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x45c315
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x45c333
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405030
mov eax, dword [ebp - 0x58]
jmp 0x45c8a2
lea ecx, [ebp - 0x2c]
call fcn.00404f90
mov byte [ebp - 4], 1
push 0x498b80
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004011b0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004024f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00405030
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x40]
call fcn.004017f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
push 0x3021
lea ecx, [ebp - 0x2c]
call fcn.00404b10
push eax
mov ecx, 0x4991cc
call fcn.00417421
test eax, eax
jne 0x45c459
push str.AdobeARM_NotLocked.log
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00401260
add esp, 0xc
mov byte [ebp - 4], 4
push 0x80
lea ecx, [ebp - 0x44]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x44]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
push ecx
push 0x3021
lea ecx, [ebp - 0x44]
call fcn.00404b10
push eax
mov ecx, 0x4991cc
call fcn.00417421
test eax, eax
jne 0x45c44d
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405030
mov eax, dword [ebp - 0x60]
jmp 0x45c8a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00405030
mov ecx, 0x4991cc
call fcn.00417710
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
ja 0x45c479
cmp dword [ebp - 0x28], 0
jbe 0x45c5c1
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x24], 0
ja 0x45c493
cmp dword [ebp - 0x28], 0x100000
jb 0x45c56a
mov ecx, 0x4991cc
call fcn.004177d7
push 0x498b84
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.004011b0
add esp, 0xc
mov byte [ebp - 4], 5
push 0x80
lea ecx, [ebp - 0x4c]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x4c]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4c]
call fcn.00404b10
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x45c4fc
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
push ecx
push 0x3021
lea ecx, [ebp - 0x2c]
call fcn.00404b10
push eax
mov ecx, 0x4991cc
call fcn.00417421
test eax, eax
jne 0x45c55e
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00405030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405030
mov eax, dword [ebp - 0x64]
jmp 0x45c8a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00405030
cmp dword [ebp - 0x48], 0
je 0x45c5c1
mov byte [ebp - 4], 6
mov ecx, 0x4991cc
call fcn.00404910
push str._n_n_n_n
mov ecx, 0x4991cc
call fcn.00417618
push 0x4806d8
mov ecx, 0x4991cc
call fcn.00417618
push 0x4806dc
mov ecx, 0x4991cc
call fcn.00417618
jmp 0x45c5ba
mov dword [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405030
lea ecx, [ebp - 0x1c]
call fcn.00404f90
mov dword [ebp - 4], 8
lea edx, [ebp - 0x1c]
push edx
call fcn.0045c1a0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00404f90
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0xc]
call fcn.00402e40
movzx eax, al
test eax, eax
je 0x45c631
mov ecx, dword [ebp + 0x10]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x45c6eb
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.004011b0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004011b0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00405030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00405030
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00404b10
push eax
mov ecx, 0x4991cc
call fcn.00417618
push 0x4806e0
mov ecx, 0x4991cc
call fcn.00417618
jmp 0x45c6e4
mov dword [ebp - 4], 9
cmp dword [ebp + 0x14], 0
je 0x45c84d
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov ecx, dword [ebp + 0xc]
call fcn.00402e40
movzx eax, al
test eax, eax
je 0x45c71f
mov ecx, dword [ebp + 0x10]
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x45c72c
push 0x4806e4
lea ecx, [ebp - 0x14]
call fcn.00401110
cmp dword [ebp + 0x14], 0x3e8
jne 0x45c7cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x45c74f
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x50], 0
push 0
push 0
lea edx, [ebp - 0x50]
push edx
push 0x400
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x4806ec
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00401260
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00404b10
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404590
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00405030
jmp 0x45c820
push str.Error_Code:__1_d__n
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.00401260
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.00404b10
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.00404590
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.00405030
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14]
call fcn.00404b10
push eax
mov ecx, 0x4991cc
call fcn.00417618
jmp 0x45c846
mov dword [ebp - 4], 9
mov byte [ebp - 4], 0x12
mov ecx, 0x4991cc
call fcn.004177ac
jmp 0x45c86a
mov dword [ebp - 4], 9
cmp dword [ebp + 0x14], 0
je 0x45c87e
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.00405030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405030
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret