Function at 0x41b7f0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e68
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4b80c8]
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, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], eax
push eax
push eax
push 1
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 2
cmp dword [edi + 0x10], 0
je 0x41bbdd
cmp dword [esi + 0x10], 0
je 0x41bbdd
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00408270
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x41b8b7
mov edi, dword [edi]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41bbcb
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 5
push eax
push 0x1194
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.004180b0
sub eax, 0
je 0x41b93c
sub eax, 1
je 0x41b932
sub eax, 1
je 0x41b928
mov esi, 0xeeac9002
jmp 0x41bb6f
mov esi, 0xeeac9003
jmp 0x41bb6f
mov esi, 0xeeac9004
jmp 0x41bb6f
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.0041b350
add esp, 4
test al, al
je 0x41bb62
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov edx, 0x1d
cmovae ecx, dword [ebp - 0x40]
mov eax, edi
cmp edi, edx
cmova eax, edx
mov edx, 0x4afa6c
push eax
call fcn.00409470
add esp, 4
test eax, eax
jne 0x41bb5b
cmp edi, 0x1d
jb 0x41bb5b
ja 0x41bb5b
xorps xmm0, xmm0
mov dword [ebp - 0xd4], eax
movq qword [ebp - 0xdc], xmm0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 9
cmp byte [ebp + 8], al
jne 0x41ba70
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41ba07
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403540
mov eax, 1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041b350
add esp, 4
test al, al
je 0x41ba70
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xdc]
ja 0x41ba70
jne 0x41ba6c
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xd8]
ja 0x41ba70
jne 0x41ba6c
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xd4]
ja 0x41ba70
xor bl, bl
jmp 0x41ba72
mov bl, 1
mov dword [ebp - 4], 9
test byte [ebp - 0xf8], 1
je 0x41ba8d
lea ecx, [ebp - 0xf4]
call fcn.004034e0
test bl, bl
je 0x41bb4c
push str..bak
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.00408270
add esp, 4
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
mov ecx, esi
cmovae eax, dword [ebp - 0xb8]
cmp dword [esi + 0x14], 8
jb 0x41bac8
mov ecx, dword [esi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41bb2c
cmp dword [esi + 0x14], 8
jb 0x41bade
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41bb2c
xor esi, esi
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb8]
call fcn.004034e0
lea ecx, [ebp - 0xdc]
call fcn.00415600
jmp 0x41bb67
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.004034e0
lea ecx, [ebp - 0xdc]
call fcn.00415600
jmp 0x41bb67
lea ecx, [ebp - 0xdc]
xor esi, esi
call fcn.00415600
jmp 0x41bb67
mov esi, 0xeeac9005
jmp 0x41bb67
mov esi, 0xeeac9006
lea ecx, [ebp - 0x4c]
call fcn.00415600
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41bbd3
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bbb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bcb5
push edx
push ecx
call fcn.0046b46b
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004034e0
jmp 0x41bbe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004034e0
jmp 0x41bbe2
mov esi, 0x57
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41bc0b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x88], 0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41bc4a
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bcb5
push edx
push ecx
call fcn.0046b46b
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x41bc97
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bcb5
push edx
push ecx
call fcn.0046b46b
add esp, 8
mov eax, esi
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.0046b428
mov esp, ebp
pop ebp
ret
call fcn.00470244
int3