Function at 0x467160
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0e68
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x54c1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x100]
fild dword [esi + 0x100]
mov eax, dword [esi + 0xfc]
mov edi, dword [eax]
mov dword [ebp - 0x70], esi
test ecx, ecx
jns 0x4671ae
fadd dword [0x51d128]
xor ecx, ecx
fstp dword [ebp - 0x6c]
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], ecx
cmp edi, eax
je 0x467362
mov dword [ebp - 0x68], 0x64
mov eax, dword [edi + 8]
cmp byte [eax + 0x70], 0
je 0x46730c
push 0x5118c0
add esi, 0x24
lea ecx, [ebp - 0x64]
push esi
push ecx
call fcn.00407ab0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
lea ebx, [ebp - 0x48]
call fcn.004143f0
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x467284
cmp dword [ebp - 0x18], 8
jb 0x467223
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov ebx, 7
mov edx, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [esi + 0x14], edx
jae 0x46725c
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004bb910
add esp, 0xc
lea edx, [ebx + 1]
jmp 0x467267
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x46728e
mov ebx, 7
mov edx, 8
cmp dword [ebp - 0x34], edx
jb 0x4672a4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, 8
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edx
jb 0x4672cd
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, 8
mov eax, dword [edi + 8]
add eax, 0x38
cmp dword [eax + 0x10], 0
jne 0x4672ed
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edx
jae 0x4672e4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x467309
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edx
jae 0x4672f8
lea ecx, [ebp - 0x2c]
cmp dword [eax + 0x14], edx
jb 0x4672ff
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp - 0x70]
mov ebx, dword [esi + 0x9c]
test ebx, ebx
je 0x467336
fild dword [ebp - 0x68]
fdiv dword [ebp - 0x6c]
fsubr qword [0x51d120]
call fcn.004c4540
push eax
push 0
push 0x4cc
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [edi]
add dword [ebp - 0x68], 0x64
cmp edi, dword [esi + 0xfc]
jne 0x4671d5
cmp dword [ebp - 0x18], 8
jb 0x467362
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret