Function at 0x79f200
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword [0x888854]
sub esp, 0x310
test eax, eax
jne 0x79f715
mov edx, dword [esp + 0x314]
test edx, edx
je 0x79f715
cmp byte [edx], 0
je 0x79f715
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8797a0
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0x11c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ebp, [esp + ebx + 0x18]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x879790
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + ebx + 0x120]
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, ebx
lea eax, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007ab623
add esp, 0x10
test eax, eax
jne 0x79f356
lea ecx, [esp + 0x118]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.kernel32.dll_CopyFileA]
jmp 0x79f364
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp + 0x10], 1
push 0x879784
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x879778
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x228]
push ecx
push edx
call fcn.007a9dd8
lea edi, [esp + 0x230]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x879770
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x130]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
lea edx, [esp + 0x2c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x879770
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x34]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.007ab623
add esp, 0x24
test eax, eax
jne 0x79f4c8
lea ecx, [esp + 0x118]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.kernel32.dll_CopyFileA]
jmp 0x79f4d6
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x79f36c
push 0x879760
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x879750
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.007ab623
add esp, 0x10
test eax, eax
jne 0x79f563
push eax
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
jmp 0x79f571
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x879740
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x879730
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.007ab623
add esp, 0x10
test eax, eax
jne 0x79f5ec
push eax
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
jmp 0x79f5fa
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x879720
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x879710
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.007ab623
add esp, 0x10
test eax, eax
jne 0x79f675
push eax
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
jmp 0x79f683
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x879700
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x8796f0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.007a3890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.007ab623
add esp, 0x10
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x79f707
push eax
lea edx, [esp + 0x10c]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
add esp, 0x310
ret
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
add esp, 0x310
ret