Function at 0x886ffc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x887005
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.004059c8
xor eax, eax
push ebp
push 0x8875c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x887561
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405410
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.00485110
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
lea eax, [ebp - 0x14]
call fcn.0040568c
xor ebx, ebx
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.0040b04c
mov eax, dword [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.0040b04c
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00405738
je 0x8870da
cmp byte [ebp - 9], 0
jne 0x887147
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
call fcn.00484ff0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040b04c
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.00484ff0
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040b04c
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00405738
jne 0x887147
mov eax, dword [ebp - 4]
cmp byte [eax + 0x310], 0
jne 0x887140
mov eax, dword [ebp - 4]
mov byte [eax + 0x320], 1
mov ax, word [0x8875d8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0045f564
push eax
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2f4]
mov edx, dword [edx + 0x40]
call fcn.00405594
mov edx, dword [ebp - 0x64]
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
mov eax, dword [eax + 0x7c8]
xor ecx, ecx
call fcn.0056c884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x88756b
mov bl, 1
jmp 0x887315
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30c], 0
jne 0x8871b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
push eax
mov al, byte [ebp - 9]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00886c5c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x14]
call fcn.00405410
mov eax, dword [ebp - 4]
cmp byte [eax + 0x320], 0
je 0x887197
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x88756b
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405738
jne 0x8871b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x88756b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
cmp eax, 1
jne 0x8871e2
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.00485110
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
lea eax, [ebp - 0x14]
call fcn.0040568c
jmp 0x887315
cmp eax, 2
jne 0x887256
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x10]
call fcn.00485110
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
lea eax, [ebp - 0x14]
call fcn.0040568c
cmp byte [ebp - 9], 0
je 0x887231
mov eax, dword [ebp - 0x14]
call fcn.008b4ad4
test al, al
je 0x887315
lea eax, [ebp - 0x14]
call fcn.004053b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x88756b
mov eax, dword [ebp - 0x14]
call fcn.008b4aa0
test al, al
je 0x887315
lea eax, [ebp - 0x14]
call fcn.004053b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x88756b
cmp eax, 3
jne 0x887315
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x10]
call fcn.00485110
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
lea eax, [ebp - 0x14]
call fcn.0040568c
cmp byte [ebp - 9], 0
je 0x8872c6
mov eax, dword [ebp - 0x14]
call fcn.008b4ad4
test al, al
je 0x887315
mov al, byte [ebp - 9]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x31c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00886e7c
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
lea eax, [ebp - 0x14]
call fcn.0040568c
jmp 0x887315
mov eax, dword [ebp - 0x14]
call fcn.008b4aa0
test al, al
je 0x887315
mov eax, dword [ebp - 4]
push dword [eax + 0x31c]
mov al, byte [ebp - 9]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x31c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00886e7c
push dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.00485148
push dword [ebp - 0x80]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004056f0
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x42]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040357c
lea eax, [ebp - 0x1c]
mov ecx, 0x8875e0
mov edx, dword [ebp - 0x10]
call fcn.0040568c
lea eax, [ebp - 0x20]
mov ecx, 0x8875e0
mov edx, dword [ebp - 0x14]
call fcn.0040568c
mov eax, dword [ebp - 4]
call fcn.0045f564
mov dword [ebp - 0x42], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x310], 0
je 0x887368
mov dword [ebp - 0x3e], 2
jmp 0x88736f
mov dword [ebp - 0x3e], 1
cmp byte [ebp - 9], 0
je 0x8873a0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x310], 0
jne 0x887398
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.008bbac4
test al, al
je 0x887398
mov word [ebp - 0x32], 0x15
jmp 0x8873a6
mov word [ebp - 0x32], 0x11
jmp 0x8873a6
mov word [ebp - 0x32], 0x15
test bl, bl
je 0x8873af
or word [ebp - 0x32], 8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.00458cac
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.00405594
mov eax, dword [ebp - 0x84]
call fcn.00405610
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
call fcn.00405610
mov dword [ebp - 0x3a], eax
mov eax, dword [ebp - 0x20]
call fcn.00405610
mov dword [ebp - 0x36], eax
cmp byte [ebp - 0x15], 1
cmc
sbb eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 1
xor eax, eax
push ebp
push 0x887550
push dword fs:[eax]
mov dword fs:[eax], esp
or bl, byte [ebp - 9]
je 0x887431
lea eax, [ebp - 0x42]
push eax
call sub.shell32.dll_SHFileOperationW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
jmp 0x887510
mov byte [ebp - 0x15], 0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
call fcn.00484ff0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0040b04c
mov eax, dword [ebp - 0x8c]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.00484ff0
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0040b04c
mov edx, dword [ebp - 0x94]
pop eax
call fcn.00405738
je 0x887490
mov eax, dword [ebp - 0x14]
call fcn.008b78a8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x310], 0
je 0x8874d8
mov eax, dword [ebp - 0x14]
call fcn.00405610
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405610
xor ecx, ecx
pop edx
call fcn.0047dfd4
test eax, eax
je 0x8874c0
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x887510
lea eax, [ebp - 0x42]
push eax
call sub.shell32.dll_SHFileOperationW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
jmp 0x887510
mov eax, dword [ebp - 0x14]
call fcn.00405610
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405610
pop edx
call fcn.0047df4c
test eax, eax
je 0x8874fa
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x887510
lea eax, [ebp - 0x42]
push eax
call sub.shell32.dll_SHFileOperationW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x887557
cmp byte [ebp - 0x15], 0
je 0x88752d
mov eax, dword [ebp - 4]
mov byte [eax + 0x320], 1
cmp dword [ebp - 0x24], 0
sete byte [ebp - 0xa]
cmp byte [ebp - 9], 0
je 0x887546
mov eax, dword [ebp - 4]
inc dword [eax + 0x328]
jmp 0x88754f
mov eax, dword [ebp - 4]
inc dword [eax + 0x324]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8875cd
lea eax, [ebp - 0x98]
mov edx, 4
call fcn.004053c8
lea eax, [ebp - 0x88]
call fcn.00404c7c
lea eax, [ebp - 0x84]
mov edx, 0x10
call fcn.004053c8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004053c8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004053c8
lea eax, [ebp - 8]
call fcn.004053b0
ret