Function at 0x1000a771
Capabilities:
Delete file

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x10
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1000a779
call fcn.1001f500
push 1
push dword [0x10031d70]
call fcn.1001c2a4
mov ebx, eax
and ebx, ebx
jne 0x1000a7a6
jmp 0x1000ab07
push 0
push 0
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [esp + 0x10], eax
push 4
push 8
push dword [esp + 0x18]
call sub.KERNEL32.dll_HeapAlloc
mov dword [esp + 0x14], eax
lea eax, str.Debug
push eax
call fcn.1001c634
and eax, eax
je 0x1000a7fb
push 0
lea eax, str.Cleanup
push eax
call fcn.1001c728
mov dword [0x100323a0], eax
lea eax, str.Portable
push eax
call fcn.1001c634
and eax, eax
je 0x1000a852
push edx
call fcn.1001f360
pop edx
push eax
push 0x10027028
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
lea eax, [0x10027028]
push eax
lea eax, str.CleanupDirectory
push eax
call fcn.1001c911
call fcn.10019202
add dword [esp], edx
call fcn.10013354
lea eax, [esp + 0x1c]
push eax
call fcn.1001f400
push dword [esp + 0x18]
lea edx, [0x10027028]
pop ecx
call fcn.100191b0
je 0x1000a882
mov edx, dword [0x10031980]
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f3a0
lea eax, [esp + 0x1c]
push eax
call fcn.1001f400
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
lea edx, str.CleanupDirectory:
push edx
call fcn.1001f3a0
mov edx, dword [esp + 0x20]
push edx
call fcn.1001f3a0
call fcn.10019202
add dword [esp], edx
call fcn.1000c36f
call fcn.10019220
push dword [esp + 0x18]
call fcn.1001cf2a
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
mov edx, dword [esp + 0x20]
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f3a0
lea edx, [0x100275d6]
push edx
call fcn.1001f3a0
call fcn.10019202
add dword [esp], edx
call fcn.1001b760
lea eax, [esp + 0x1c]
push eax
call fcn.1001f400
push dword [esp + 0x18]
call fcn.1001b350
mov dword [esp + 0x1c], eax
lea eax, str.Cleanup
push eax
call fcn.1001c634
and eax, eax
je 0x1000ab00
call fcn.1001c76f
call fcn.1001c799
and eax, eax
je 0x1000ab00
push edx
call fcn.1001f360
pop edx
push eax
push 0x10027028
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
call fcn.1001c7e9
call fcn.10019202
add dword [esp], edx
call fcn.10013354
lea eax, [esp + 0xc]
push eax
call fcn.1001f400
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
lea edx, str.Cleanup:
push edx
call fcn.1001f3a0
mov edx, dword [esp + 0x10]
push edx
call fcn.1001f3a0
call fcn.10019202
add dword [esp], edx
call fcn.1000c36f
call fcn.10019220
push 0
push dword [esp + 0x1c]
push dword [esp + 0x10]
call fcn.10003bb2
and eax, eax
je 0x1000a9c6
xor eax, eax
jmp 0x1000a9cb
mov eax, 1
and eax, eax
je 0x1000a9fb
push 0
push dword [0x10031cc8]
push dword [esp + 0x10]
call fcn.10003bb2
and eax, eax
je 0x1000a9eb
xor eax, eax
jmp 0x1000a9f0
mov eax, 1
and eax, eax
je 0x1000a9fb
mov eax, 1
jmp 0x1000a9fd
xor eax, eax
and eax, eax
je 0x1000aa3e
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
lea edx, str.Cleanup:_Wrong_path_
push edx
call fcn.1001f3a0
mov edx, dword [esp + 0x10]
push edx
call fcn.1001f3a0
call fcn.10019202
add dword [esp], edx
call fcn.1000c36f
call fcn.10019220
jmp 0x1000a92e
mov edx, dword [esp + 8]
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f3a0
lea edx, [0x1002722a]
push edx
call fcn.1001f3a0
lea eax, [esp + 8]
push eax
call fcn.1001f400
push 0
mov eax, dword [esp + 8]
mov ebx, eax
push dword [esp + 8]
call fcn.1001b350
mov edi, eax
add edi, edi
add ebx, edi
add ebx, 0xfffffffe
mov eax, ebx
call fcn.10019180
lea ebp, [esp + 0x20]
mov dword [ebp + 4], 3
mov word [ebp + 0x10], 0x414
mov eax, dword [esp + 4]
mov dword [ebp + 8], eax
lea eax, [esp + 0x20]
push eax
call sub.SHELL32.dll_SHFileOperationW
mov dword [esp + 0xc], eax
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
lea edx, str.Cleanup:
push edx
call fcn.1001f3a0
push edx
call fcn.1001f360
pop edx
push eax
push edx
call fcn.1001f360
pop edx
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.1001b1f0
pop eax
call fcn.10019202
add dword [esp], edx
call fcn.1000c36f
call fcn.10019220
jmp 0x1000a92e
call fcn.1001c75d
xor eax, eax
push dword [esp + 0x18]
call fcn.1001f560
push dword [esp]
call fcn.1001f560
push dword [esp + 8]
call fcn.1001f560
push dword [esp + 4]
call fcn.1001f560
add esp, 0x40
pop edi
pop ebx
pop ebp
ret 0x10