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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cef5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 1
movzx eax, byte [0x4a4ad4]
test eax, eax
jne 0x466caf
call fcn.00466b00
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x4a4ac8]
jle 0x466cc4
mov eax, 1
jmp 0x46722d
mov edx, dword [0x4a51b4]
cmp edx, dword [0x471e18]
jne 0x466fc7
lea ecx, [ebp - 0x1c]
call fcn.004051c0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00402620
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x466d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401b90
jmp 0x466d2c
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405260
mov eax, dword [ebp - 0x54]
jmp 0x46722d
lea ecx, [ebp - 0x28]
call fcn.004051c0
mov byte [ebp - 4], 1
push 0x4a4b68
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401440
add esp, 0xc
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405260
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x3c]
call fcn.00401c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push ecx
push 0x3021
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
mov ecx, 0x4a51b0
call fcn.0041dab5
test eax, eax
jne 0x466e52
push str.AdobeARM_NotLocked.log
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004014f0
add esp, 0xc
mov byte [ebp - 4], 4
push 0x80
lea ecx, [ebp - 0x40]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x40]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
push ecx
push 0x3021
lea ecx, [ebp - 0x40]
call fcn.00401fc0
push eax
mov ecx, 0x4a51b0
call fcn.0041dab5
test eax, eax
jne 0x466e46
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401be0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405260
mov eax, dword [ebp - 0x5c]
jmp 0x46722d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00405260
mov ecx, 0x4a51b0
call fcn.0041dda4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
ja 0x466e72
cmp dword [ebp - 0x24], 0
jbe 0x466fa0
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x20], 0
ja 0x466e8c
cmp dword [ebp - 0x24], 0x100000
jb 0x466f63
mov ecx, 0x4a51b0
call fcn.0041de6b
push 0x4a4b6c
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00401440
add esp, 0xc
mov byte [ebp - 4], 5
push 0x80
lea ecx, [ebp - 0x48]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x48]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x48]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x466ef5
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x3021
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
mov ecx, 0x4a51b0
call fcn.0041dab5
test eax, eax
jne 0x466f57
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401be0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405260
mov eax, dword [ebp - 0x60]
jmp 0x46722d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00405260
cmp dword [ebp - 0x44], 0
je 0x466fa0
mov ecx, 0x4a51b0
call fcn.00404b70
push str._n_n_n_n
mov ecx, 0x4a51b0
call fcn.0041dcac
push 0x48c1e0
mov ecx, 0x4a51b0
call fcn.0041dcac
push 0x48c1e4
mov ecx, 0x4a51b0
call fcn.0041dcac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401be0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405260
lea ecx, [ebp - 0x18]
call fcn.004051c0
mov dword [ebp - 4], 6
lea edx, [ebp - 0x18]
push edx
call fcn.00466ba0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.004051c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0xc]
call fcn.00403350
movzx eax, al
test eax, eax
je 0x467010
mov ecx, dword [ebp + 0x10]
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x4670aa
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00401440
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00401440
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402990
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.00405260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.00405260
lea ecx, [ebp - 0x10]
call fcn.00401fc0
push eax
mov ecx, 0x4a51b0
call fcn.0041dcac
push 0x48c1e8
mov ecx, 0x4a51b0
call fcn.0041dcac
cmp dword [ebp + 0x14], 0
je 0x4671f2
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402990
mov ecx, dword [ebp + 0xc]
call fcn.00403350
movzx eax, al
test eax, eax
je 0x4670de
mov ecx, dword [ebp + 0x10]
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x4670eb
push 0x48c1ec
lea ecx, [ebp - 0x10]
call fcn.004011d0
cmp dword [ebp + 0x14], 0x3e8
jne 0x46718c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x46710e
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x4c], 0
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
push 0x400
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x48c1f4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.00401fc0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004047f0
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00405260
jmp 0x4671df
push str.Error_Code:__1_d__n
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.00401fc0
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004047f0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00405260
lea ecx, [ebp - 0x10]
call fcn.00401fc0
push eax
mov ecx, 0x4a51b0
call fcn.0041dcac
mov ecx, 0x4a51b0
call fcn.0041de40
cmp dword [ebp + 0x14], 0
je 0x467209
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret