Function at 0x45bad0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x56e460], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x21c], eax
je 0x45bd81
lea esi, [ebp - 0x218]
mov ebx, 0x14
mov edx, eax
sub esi, eax
lea ebx, [ebx]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x45bb10
lea ecx, [ebp - 0x218]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x45bb24
mov eax, dword [str..arc]
mov dword [ecx], eax
mov al, byte [0x4c7598]
mov byte [ecx + 4], al
xor ecx, ecx
nop
mov al, byte [ecx + 0x56e460]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x111], al
test al, al
jne 0x45bb40
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45bb60
sub ecx, edx
cmp byte [ebp + ecx - 0x111], 0x5c
je 0x45bb93
lea edi, [ebp - 0x110]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x45bb80
mov ax, word [0x4c3b10]
mov word [edi], ax
mov edx, dword [ebp - 0x21c]
mov esi, edx
jmp 0x45bba0
mov al, byte [edx]
inc edx
test al, al
jne 0x45bba0
lea edi, [ebp - 0x110]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45bbb0
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]
lea ecx, [ebp - 0x110]
dec ecx
lea ecx, [ecx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x45bbd0
cmp dword [0x56d34c], 0
mov eax, dword [str..arc]
mov dword [ecx], eax
mov al, byte [0x4c7598]
mov byte [ecx + 4], al
je 0x45bbff
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x22c], xmm0
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x45bcbd
push 0
push 0x80
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x224], xmm0
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x45bd81
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x45bc8c
push 5
dec ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45bc05
push dword [ebp - 0x21c]
push 0x4c759c
call fcn.00485d10
add esp, 8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493955
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push esi
call ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0
push 0x80
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x224], xmm0
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x45bd58
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push edi
call ebx
push edi
call esi
mov ecx, dword [ebp - 0x224]
mov eax, ecx
add ecx, 0x9c4
mov dword [ebp - 0x224], ecx
cmp eax, ecx
jbe 0x45bd33
inc dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x45bd81
push dword [ebp - 0x21c]
push 0x4c760c
jmp 0x45bd63
push dword [ebp - 0x21c]
push 0x4c75dc
call fcn.00485d10
add esp, 8
lea eax, [ebp - 0x110]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493955
mov esp, ebp
pop ebp
ret