Function at 0x1001c1d0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0x94
mov eax, 0x1002c52a
call fcn.1002a480
xor ecx, ecx
xor ebx, ebx
inc ebx
push 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
pop esi
cmp dword [ebp + 8], ecx
jne 0x1001c200
mov dword [ebp - 0x2c], ebx
jmp 0x1001c359
lea eax, [ebp - 0x18]
push eax
push 0x100093d8
push ebx
push ecx
push 0x100093e8
call fcn.10012919
test eax, eax
jns 0x1001c222
xor edx, edx
mov ebx, edx
jmp 0x1001c749
lea eax, [ebp - 0x40]
push 0x10007524
push eax
call fcn.10012919
pop ecx
pop ecx
test eax, eax
jns 0x1001c23f
xor edx, edx
mov ebx, edx
jmp 0x1001c740
push 0x100062ce
mov word [ebp - 0x58], si
call fcn.10012919
mov dword [ebp - 0x50], eax
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 8
movsd dword es:[edi], dword [esi]
pop eax
xor edx, edx
push 0x100062ce
mov dword [ebp - 4], edx
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x90], ax
call fcn.10012919
mov dword [ebp - 0x88], eax
push 2
pop ecx
xor eax, eax
mov word [ebp - 0xa0], cx
mov word [ebp - 0x98], ax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp + 8]
lea esi, [ebp - 0xa0]
push dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], cl
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0xa0]
push eax
call edi
lea eax, [ebp - 0x90]
push eax
call edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
push eax
call edi
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x1001c740
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
mov esi, 0x10032ab8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
test eax, eax
jns 0x1001c321
xor eax, eax
mov ebx, eax
jmp 0x1001c740
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x1001c318
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xf0]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x48], 0
jne 0x1001c72a
mov edi, 0x104
push edi
call sub.mfc100.dll_Ordinal_265
push edi
mov dword [ebp - 0x20], eax
call sub.mfc100.dll_Ordinal_265
mov esi, eax
push edi
mov dword [ebp - 0x34], esi
call sub.mfc100.dll_Ordinal_265
mov ebx, eax
push edi
mov dword [ebp - 0x24], ebx
call sub.mfc100.dll_Ordinal_265
mov edi, eax
push 0x64
mov dword [ebp - 0x38], edi
call sub.mfc100.dll_Ordinal_265
mov ecx, eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [ebp - 0x3c], ecx
test eax, eax
je 0x1001c6f0
test ebx, ebx
je 0x1001c6e9
test edi, edi
je 0x1001c6e9
test esi, esi
je 0x1001c6e9
test ecx, ecx
je 0x1001c6e9
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10012919
mov ebx, dword [ebp - 0x44]
mov esi, ebx
mov dword [ebp - 4], 3
lea ecx, [esi + 2]
xor edx, edx
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1001c3e5
sub esi, ecx
sar esi, 1
js 0x1001c418
mov eax, edx
test eax, eax
jne 0x1001c418
movzx eax, word [ebx + esi*2]
cmp eax, 0x5c
je 0x1001c40a
cmp eax, 0x2f
jne 0x1001c412
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x1001c415
mov eax, dword [ebp - 0x14]
dec esi
jns 0x1001c3f8
lea eax, [esi + 1]
push eax
push ebx
push 0x104
push dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_wcstombs_s]
mov eax, dword [ebp - 0x24]
add esp, 0x14
push edi
xor ecx, ecx
push ecx
push 0x100062ce
push eax
mov byte [esi + eax + 1], cl
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll__time64]
pop ecx
push 8
pop eax
xor edi, edi
push edi
push 0x3c
push dword [ebp - 0x6c]
mov word [ebp - 0x68], ax
push dword [ebp - 0x70]
call fcn.1002a7ad
mov esi, dword [ebp - 0x3c]
push eax
push 0x100074ac
push 0x64
push esi
call fcn.10012919
add esp, 0x10
push 0x64
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push 0x64
mov edi, eax
push edi
push 0xffffffffffffffff
push esi
xor eax, eax
push eax
push eax
mov dword [ebp - 0x60], edi
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1001c4bc
cmp eax, 0x64
jl 0x1001c4b5
push 0x64
pop eax
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
push esi
call sub.mfc100.dll_Ordinal_266
mov eax, dword [ebp + 0x10]
pop ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1001c5e7
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
push ecx
call dword [eax + 0xa4]
push 0x10006ad8
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1001c5ad
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1001c544
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
jmp 0x1001c59a
push 3
pop eax
lea edx, [ebp + 8]
push edx
xor edx, edx
push edx
push edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe0]
test eax, eax
js 0x1001c5a3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1001c5a3
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor edx, edx
push edx
push dword [ebp + 8]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 1
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x10]
test esi, esi
je 0x1001c4ef
test ecx, ecx
je 0x1001c5e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 8
pop eax
push dword [ebp - 0x38]
mov word [ebp - 0x80], ax
call fcn.10012919
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x108]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
test esi, esi
js 0x1001c6bb
mov esi, dword [ebp - 0x34]
push esi
push eax
push 0x100062ce
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov edi, dword [ebp - 0x20]
mov eax, 0x104
push eax
push ebx
push eax
xor eax, eax
push edi
push eax
call dword [sym.imp.MSVCR100.dll_wcstombs_s]
add esp, 0x14
push esi
push edi
call dword [sym.imp.kernel32.dll_MoveFileA]
push edi
mov edi, dword [ebp - 0x38]
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
je 0x1001c690
cmp dword [ebp - 0x34], 0
je 0x1001c69a
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x1001c69a
push dword [ebp - 0x20]
push esi
call dword [sym.imp.kernel32.dll_MoveFileA]
push dword [ebp - 0x24]
call sub.mfc100.dll_Ordinal_266
push dword [ebp - 0x20]
call sub.mfc100.dll_Ordinal_266
push esi
call sub.mfc100.dll_Ordinal_266
push edi
call sub.mfc100.dll_Ordinal_266
add esp, 0x10
jmp 0x1001c6be
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x2c], 0
push ebx
je 0x1001c6da
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0x30]
jmp 0x1001c749
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0x30]
jmp 0x1001c72e
push eax
call sub.mfc100.dll_Ordinal_266
pop ecx
test ebx, ebx
je 0x1001c6fb
push ebx
call sub.mfc100.dll_Ordinal_266
pop ecx
test edi, edi
je 0x1001c706
push edi
call sub.mfc100.dll_Ordinal_266
pop ecx
test esi, esi
je 0x1001c711
push esi
call sub.mfc100.dll_Ordinal_266
pop ecx
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x1001c71f
push esi
call sub.mfc100.dll_Ordinal_266
pop ecx
xor eax, eax
mov ebx, eax
cmp dword [ebp - 0x2c], eax
jne 0x1001c749
jmp 0x1001c72e
xor eax, eax
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.1002a558
ret