Function at 0x4342c0
Capabilities:
Copy file
Delete file

Disassembly:
mov al, byte [0x54aec4]
sub esp, 0x218
test al, al
push ebx
push ebp
push esi
push edi
je 0x434586
or ecx, 0xffffffff
mov edx, dword [esp + 0x22c]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea ebp, [esp + 0x124]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, str..arc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea ebp, [esp + 0x124]
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x54aec4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea ebp, [esp + 0x20]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + ecx + 0x1e]
dec ecx
cmp al, 0x5c
mov ebx, 0x14
je 0x4343a2
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x4ad3b8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea ebp, [esp + 0x20]
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
lea ebp, [esp + 0x20]
mov edi, ebp
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str..arc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [esp + 0x20]
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, dword [0x54bbe4]
mov ecx, ebp
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x43440d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileTime]
xor ecx, ecx
mov dword [esp + 0x18], ecx
push ecx
push 0x80
push 3
push ecx
push ecx
push ecx
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x38], ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x434488
xor eax, eax
mov dword [esp + 0x10], eax
push eax
push 0x80
push 3
push eax
push eax
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x30], eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x434586
lea edx, [esp + 0x10]
push edx
push 0
push 0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4344d1
push 5
dec ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x434419
lea eax, [esp + 0x18]
push eax
push 0
push 0
push esi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
xor eax, eax
mov dword [esp + 0x10], eax
push eax
push 0x80
push 3
push eax
push eax
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x30], eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4344fc
lea edx, [esp + 0x10]
push edx
push 0
push 0
push esi
call ebp
push esi
call ebx
jmp 0x434531
mov ecx, dword [esp + 0x22c]
push ecx
push 0x4b0ba0
call fcn.00451ec0
add esp, 8
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov eax, dword [esp + 0x22c]
push eax
push 0x4b0b70
call fcn.00451ec0
add esp, 8
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov eax, dword [esp + 0x10]
mov ecx, eax
add eax, 0x9c4
cmp ecx, eax
mov dword [esp + 0x10], eax
jbe 0x434548
inc dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x434586
mov edx, dword [esp + 0x22c]
push edx
push 0x4b0b48
call fcn.00451ec0
add esp, 8
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret