Function at 0x12e0c2d0
Capabilities:
Copy file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1305c0d1
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x508
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
jne 0x12e0c300
xor eax, eax
jmp 0x12e0c668
push ebp
push edi
mov ecx, esi
call fcn.12e0bfa0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x538]
cmp eax, ebx
mov dword [esp + 0x18], ebx
jne 0x12e0c455
mov edi, dword [esi + 0x220]
cmp edi, ebx
je 0x12e0c455
mov eax, dword [esp + 0x528]
mov ebx, edi
push eax
mov ebp, edi
mov edi, dword [edi]
lea ecx, [ebx + 0x1c]
push ecx
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12e0c35b
test edi, edi
jne 0x12e0c334
jmp 0x12e0c453
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jb 0x12e0c374
add ebx, 0x493e0
cmp eax, ebx
jbe 0x12e0c65b
cmp ebp, dword [esi + 0x220]
jne 0x12e0c387
mov edx, dword [ebp]
mov dword [esi + 0x220], edx
jmp 0x12e0c38f
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
mov dword [eax], ecx
cmp ebp, dword [esi + 0x224]
jne 0x12e0c3a2
mov edx, dword [ebp + 4]
mov dword [esi + 0x224], edx
jmp 0x12e0c3ab
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x230]
mov eax, dword [esi + 0x234]
cmp edx, eax
jge 0x12e0c3d9
mov eax, dword [esi + 0x228]
mov dword [ebp], eax
mov eax, dword [esi + 0x230]
inc eax
mov dword [esi + 0x228], ebp
mov dword [esi + 0x230], eax
jmp 0x12e0c3e2
push ebp
call fcn.12f5c050
add esp, 4
mov eax, dword [esi + 0x22c]
dec eax
mov dword [esi + 0x22c], eax
jne 0x12e0c453
mov eax, dword [esi + 0x220]
xor ebx, ebx
mov ecx, eax
cmp ecx, ebx
je 0x12e0c405
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x12e0c3ff
cmp eax, ebx
je 0x12e0c41a
mov edi, dword [eax]
push eax
call fcn.12f5c050
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e0c409
mov eax, dword [esi + 0x228]
mov dword [esi + 0x22c], ebx
cmp eax, ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x224], ebx
je 0x12e0c447
mov edi, dword [eax]
push eax
call fcn.12f5c050
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e0c436
mov dword [esi + 0x230], ebx
mov dword [esi + 0x228], ebx
xor ebx, ebx
push 0xffdf
lea ecx, [esp + 0x28]
call fcn.12f29950
lea ecx, [esp + 0x1c]
mov dword [esp + 0x520], ebx
call fcn.12e5c330
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 1
call fcn.12ee6050
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 2
call fcn.12ee6110
mov ebp, dword [esp + 0x52c]
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x24a]
mov word [esp + 0x248], bx
push 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24c]
push ecx
push ebp
mov ecx, esi
stosw word es:[edi], ax
call fcn.12e0bff0
test eax, eax
je 0x12e0c61c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x312]
mov word [esp + 0x310], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x248]
lea eax, [esi + 0x18]
push edx
push eax
push str._s_s.dbk
lea ecx, [esp + 0x31c]
push 0x103
push ecx
call fcn.12f5d990
mov eax, dword [0x13199068]
add esp, 0x14
cmp eax, ebx
je 0x12e0c535
lea edx, [esp + 0x310]
push edx
push str.CBackup::BackupFile_1___s_
push str.DocRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov edi, dword [esp + 0x534]
cmp edi, ebx
je 0x12e0c5a1
push edi
call fcn.12f5c51d
add esp, 4
test eax, eax
jbe 0x12e0c5a1
lea eax, [esp + 0x310]
push 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x12e0c5a1
mov ecx, 0x86
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
push 0x103
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.12f5c57b
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, esi
call fcn.12e0c070
mov eax, dword [esp + 0x528]
lea edx, [esp + 0x310]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x12e0c61c
mov ecx, 0x86
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
push 0x103
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.12f5c57b
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.12e0c070
lea ecx, [esp + 0x10]
call fcn.12ee61a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x520], 1
call fcn.12ee6080
lea ecx, [esp + 0x1c]
mov byte [esp + 0x520], 0
call fcn.12e5c380
lea ecx, [esp + 0x24]
mov dword [esp + 0x520], 0xffffffff
call fcn.12f29980
mov ecx, esi
call fcn.12e0bfb0
mov eax, dword [esp + 0x18]
pop edi
pop ebp
mov ecx, dword [esp + 0x510]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x514
ret 0x14