Function at 0x1001b6a0
Capabilities:
Copy file
Get file size
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push eax
push 0x10030c5c
lea ecx, [esi + 0x2c]
push ecx
call sub.MFC42.DLL_CString::Format
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
push edi
call fcn.1001c080
xor ebx, ebx
mov dword [ebp - 0x18], 0x10
push ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x1c
test eax, eax
je 0x1001b716
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x50]
push edx
push edi
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 8
test eax, eax
je 0x1001b740
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
lea eax, [ebp - 0x274]
push 0x100322b8
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [ebp - 0x274]
push ebx
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
test eax, eax
jne 0x1001b7bf
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x274]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 8
test eax, eax
je 0x1001b798
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jne 0x1001b7bf
cmp dword [esi + 8], ebx
jle 0x1001b7bf
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1001c470
mov dword [esi + 0x24], eax
mov dword [eax], ebx
mov edx, dword [esi + 0x24]
push str.MsgEx.db
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x24]
mov dword [eax + 0x118], ebx
mov ecx, dword [esi + 0x24]
mov dword [ecx + 0x11c], ebx
mov edx, dword [esi + 0x24]
mov dword [edx + 0x120], ebx
mov eax, dword [esi + 0x24]
xor edx, edx
mov dword [eax + 0x124], ebx
mov ecx, dword [esi + 0x24]
mov dword [ecx + 0x128], ebx
mov eax, dword [esi + 0x24]
add eax, 8
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x24]
mov dword [ecx], 1
mov edx, dword [esi + 0x24]
add edx, 8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x24]
add esp, 8
lea ecx, [ebp - 0x274]
mov dword [esi + 0x28], eax
push ebx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x274]
mov ecx, esi
push edx
call fcn.1001bb20
mov edi, eax
cmp edi, ebx
jne 0x1001b86e
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov ecx, esi
call fcn.1001bbd0
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
push str.Matrix.db
push ecx
call fcn.1001c2b0
add esp, 8
cmp eax, ebx
jne 0x1001b8aa
mov eax, 0xfffffffa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [eax + 0x11c]
mov eax, dword [eax + 0x118]
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.1001bdc0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push 0x10032494
push eax
push edi
mov ecx, esi
call fcn.1001b9b0
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1001b920
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.1001a300
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
call fcn.1001cc80
mov edx, dword [esi + 0x24]
add esp, 0x20
mov ecx, esi
push edx
call fcn.1001aeb0
mov eax, dword [esi + 0x24]
push eax
call fcn.1001c4c0
mov eax, dword [esi + 0x38]
add esp, 4
cmp eax, ebx
je 0x1001b985
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 0x38]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jbe 0x1001b975
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
cmp eax, ebx
je 0x1001b975
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
add esi, 4
push esi
push edx
call fcn.1001c180
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8