Function at 0x5045d0
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
sub esp, 0x66c
mov eax, dword [0x984164]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x670]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x50460a
push 8
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1004
push edi
mov dword [esp + 0x2c], edi
call esi
mov ecx, dword [esp + 0x10]
mov ebp, eax
dec ebp
mov dword [esp + 0x20], ebp
cmp dword [ecx + 0xc], ebx
je 0x50463f
mov edx, str.Please__wait_until_remover_finishes_scanning.
jmp 0x504941
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call esi
cmp eax, 0xffffffff
je 0x50493c
cmp eax, ebp
je 0x50493c
mov eax, dword [esp + 0x684]
cmp eax, 0x9c4a
jne 0x504671
mov edx, str.Selected_file_s__will_be_copied_to_chosen_target_directory._nDo_you_want_to_continue__
jmp 0x50468f
cmp eax, 0x9c4b
jne 0x50467f
mov edx, str.Selected_file_s__will_be_renamed_to_non_executable_extension._nDo_you_want_to_continue__
jmp 0x50468f
cmp eax, 0x9c4c
jne 0x504956
mov edx, str.Selected_file_s__will_be_deleted._nDo_you_want_to_continue__
mov ecx, dword [esp + 0x18]
push 0x24
push ebx
push ebx
push str.Virus_Remover
call fcn.00506400
add esp, 0x10
cmp eax, 6
jne 0x504956
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call esi
mov ebp, eax
cmp ebp, 0xffffffff
je 0x504956
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x24]
push edx
push ebx
push 0x104b
push ecx
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x54], ebx
call esi
cmp ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
jge 0x504924
cmp eax, 0xe
je 0x504924
cmp eax, 0xd
je 0x504924
lea eax, [esp + 0x24]
push eax
push ebp
push 0x1073
lea edx, [esp + 0x274]
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], 0x103
mov dword [esp + 0x48], edx
call esi
mov eax, dword [esp + 0x684]
sub eax, 0x9c4a
je 0x5047d2
sub eax, 1
je 0x504753
sub eax, 1
je 0x5047a0
jmp 0x504907
xor eax, eax
jmp 0x504760
movzx ecx, word [esp + eax + 0x268]
mov word [esp + eax + 0x60], cx
add eax, 2
cmp cx, bx
jne 0x504760
mov eax, str..vir
lea esi, [esp + 0x60]
call fcn.00418e00
mov ecx, esi
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x5047a0
mov dword [esp + 0x14], 0xe
push ebx
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x504907
mov dword [esp + 0x14], 0xd
jmp 0x504907
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
lea edx, [esp + 0x60]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x5047e0
lea edi, [esp + 0x60]
call fcn.00418af0
lea edx, [esp + 0x268]
call fcn.00418b90
mov edx, eax
jmp 0x504810
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x504810
lea edi, [esp + 0x60]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x504824
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x25], bl
je 0x5048df
lea eax, [esp + 0x60]
push 0x2e
push eax
call fcn.00508605
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x504883
lea eax, [esp + 0x60]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x504870
sub eax, edx
sar eax, 1
lea esi, [esp + eax*2 + 0x60]
push esi
push str..virus_s
lea edx, [esp + 0x478]
call fcn.00401bb0
mov eax, esi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x5048a0
sub eax, edx
sar eax, 1
cmp eax, 4
jne 0x5048be
xor ecx, ecx
mov word [esp + 0x482], cx
lea eax, [esp + 0x470]
mov edx, esi
mov ecx, eax
sub edx, ecx
jmp 0x5048d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x5048d0
xor eax, eax
cmp byte [edi + 0x24], bl
lea edx, [esp + 0x60]
sete al
push eax
push edx
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x504907
mov dword [esp + 0x14], 0xf
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebp
call fcn.00504190
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
xor ebx, ebx
push 2
push ebp
push 0x100c
push edi
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x5046c4
jmp 0x504956
mov edx, str.No_file_s__selected._nPlease__select_one_or_more_files_and_repeat
mov ecx, dword [esp + 0x18]
push 0x40
push ebx
push ebx
push str.Virus_Remover
call fcn.00506400
add esp, 0x10
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005078c8
add esp, 0x66c
ret