Function at 0x600850
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71e230
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00429100
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005b3e90
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00429020
lea eax, [ebp - 0x28]
push eax
call fcn.005b6b40
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x7856e8
mov byte [ebp - 4], 2
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Backup
mov byte [ebp - 4], 3
call fcn.00428840
push ecx
mov eax, esp
mov byte [ebp - 4], 4
push SysReAllocStringLen
push 0x74218c
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
call fcn.005b0270
add esp, 0x10
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00429100
push eax
call fcn.005b6cf0
add esp, 4
test eax, eax
jne 0x60092c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00428690
call fcn.005b1510
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00429050
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push dword [ebp - 0x28]
push 0x788ab4
push eax
call fcn.0042a0e0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x7856e8
call fcn.00428840
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], esp
mov ecx, esp
mov byte [ebp - 4], 7
push eax
call fcn.00428690
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
call fcn.005b0270
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
jne 0x6009c4
push 1
lea ecx, [ebp - 0x1c]
call fcn.00429100
push eax
lea ecx, [ebp + 8]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x18]
call fcn.00429050
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push 0x7545ac
push eax
call fcn.0042a0e0
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00428690
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.005b3fe0
mov edx, dword [ebp - 0x38]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
push dword [ebp + 8]
sar eax, 2
push eax
push edx
push ecx
mov byte [ebp - 4], 0xc
call fcn.005ffc30
mov edi, dword [ebp - 0x38]
add esp, 0x20
mov esi, dword [ebp - 0x3c]
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 0x1e
jbe 0x600a98
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
lea eax, [edi - 4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00428690
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00429100
push eax
call ebx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 4]
call fcn.00428810
sub dword [ebp - 0x38], 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00428810
mov edi, dword [ebp - 0x38]
mov eax, edi
mov esi, dword [ebp - 0x3c]
sub eax, esi
sar eax, 2
cmp eax, 0x1e
ja 0x600a50
mov byte [ebp - 4], 0xa
test esi, esi
je 0x600ad3
cmp esi, edi
je 0x600ab5
mov ecx, esi
call fcn.00428810
add esi, 4
cmp esi, edi
jne 0x600aa4
mov esi, dword [ebp - 0x3c]
push esi
call fcn.00428680
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00428810
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00428810
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00428810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00428810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4