Function at 0x46a36e
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x4ce215
call fcn.004c7e20
sub esp, 0x94c
mov eax, dword [0x4ed384]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x8a4], ebx
mov dword [ebp - 0x8a0], ebx
mov dword [ebp - 0x89c], ebx
mov esi, dword [ebp + 8]
movzx edi, cx
sub edi, 0x7f59
mov dword [ebp - 4], ebx
js 0x46a3e8
cmp edi, dword [esi + 0x244]
jge 0x46a3e8
lea ecx, [esi + 0x240]
mov eax, edi
call fcn.00403732
mov ebx, eax
lea eax, [ebp - 0x8a4]
call fcn.0046aa1f
mov eax, edi
lea ecx, [esi + 0x240]
call fcn.00403732
and dword [eax + 4], 0
xor ebx, ebx
jmp 0x46a531
mov eax, dword [0x4f0980]
mov dword [ebp - 0x890], eax
push 0x8152
push dword [0x4f2800]
lea eax, [ebp - 0x890]
push eax
call fcn.00403692
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x954]
rep stosd dword es:[edi], eax
mov word [ebp - 0x218], bx
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x890]
mov dword [ebp - 0x958], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x950], eax
lea eax, [ebp - 0x958]
push eax
mov dword [ebp - 0x94c], edi
mov dword [ebp - 0x948], 1
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
mov dword [ebp - 0x8a0], eax
jne 0x46a489
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x46a72d
push eax
call fcn.004013aa
jmp 0x46a72d
mov dword [ebp - 0x894], ebx
lea eax, [ebp - 0x894]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jl 0x46a50c
mov dword [ebp - 0x8a8], ebx
lea eax, [ebp - 0x898]
push eax
lea eax, [ebp - 0x8a8]
push eax
mov byte [ebp - 4], 3
push 0x4d0b1c
push dword [ebp - 0x8a0]
mov dword [ebp - 0x898], ebx
call dword [0x4f27f0]
cmp eax, ebx
jl 0x46a4f8
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8a4]
push edx
push ebx
push 0x4d0bfc
lea edx, [ebp - 0x898]
push edx
push 1
push dword [esi + 4]
push eax
call dword [ecx + 0x28]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x8a8]
cmp eax, ebx
je 0x46a50c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x894]
cmp eax, ebx
je 0x46a520
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x46a531
push eax
call fcn.004013aa
cmp dword [ebp - 0x8a4], ebx
je 0x46a72d
mov dword [ebp - 0x898], ebx
push 1
lea eax, [ebp - 0x898]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00464f9c
cmp eax, ebx
jge 0x46a563
mov byte [ebp - 4], 0
jmp 0x46a9fb
mov eax, dword [ebp - 0x8a4]
lea ebx, [ebp - 0x8b0]
push ebx
mov ebx, dword [ebp - 0x898]
xor ecx, ecx
push ecx
xor edi, edi
push edi
push 1
push ebx
mov dword [ebp - 0x8b0], 5
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x46a71f
cmp dword [ebp - 0x8b0], edi
je 0x46a71f
mov eax, dword [ebp - 0x8a4]
mov edx, dword [eax]
lea ecx, [ebp - 0x8b0]
push ecx
xor ecx, ecx
push ecx
push edi
push 1
push ebx
push eax
call dword [edx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0x8a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test edi, edi
jl 0x46a71f
cmp dword [ebp - 0x8b0], 2
jne 0x46a5f1
push 0
push 0x7f13
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x8a0], 0
je 0x46a71f
test byte [ebp - 0x899], 0x20
je 0x46a71f
lea esi, [ebp - 0x938]
call fcn.0046aa3b
mov eax, 0x105
lea ecx, [ebp - 0x8ec]
call fcn.00403042
push eax
push dword [ebp - 0x8a0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x46a714
or eax, 0xffffffff
lea ecx, [ebp - 0x8ec]
call fcn.0040306e
mov eax, dword [ebp - 0x8ec]
cmp dword [eax - 8], 0
je 0x46a714
mov ecx, dword [0x4f0980]
mov dword [ebp - 0x894], ecx
push eax
lea eax, [ebp - 0x894]
push 0x819c
push eax
mov byte [ebp - 4], 6
call fcn.00405918
mov esi, dword [ebp - 0x894]
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x24
push dword [0x4f2c74]
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x46a6a3
lea eax, [esi - 0xc]
jmp 0x46a706
mov eax, dword [ebp - 0x8ec]
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
push 0x5c
pop ecx
cmp ax, cx
je 0x46a6d4
lea eax, [ebp - 0x8a8]
xor edi, edi
push eax
inc edi
lea eax, [ebp - 0x8ec]
mov dword [ebp - 0x8a8], ecx
call fcn.00403377
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x938]
add esi, 0xf4
push eax
call fcn.0045b9a1
or eax, 0xffffffff
xor edi, edi
mov ecx, esi
call fcn.0045b8e9
cmp dword [ebp - 0x934], edi
jne 0x46a758
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a714
push eax
call fcn.004013aa
lea edi, [ebp - 0x938]
call fcn.0046aa7a
test ebx, ebx
mov byte [ebp - 4], 0
je 0x46a72d
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x8a4]
push eax
call fcn.0043a047
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop ebx
call fcn.004c7b01
leave
ret 4
mov ecx, dword [0x4f3284]
and dword [ebp - 0x890], 0
test ecx, ecx
jbe 0x46a830
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
mov eax, dword [ebp - 0x890]
cmp eax, ecx
jae 0x46aa14
mov ecx, dword [0x4f3280]
lea edi, [ecx + eax*8]
mov ecx, edi
lea esi, [ebp - 0x8ac]
call fcn.00402eaa
mov edi, dword [edi + 4]
mov dword [ebp - 0x8a8], edi
mov byte [ebp - 4], 7
push dword [0x4f2eb4]
mov esi, dword [ebp - 0x8ac]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x46a7c1
mov dword [ebp - 0x8f0], edi
jmp 0x46a7f1
push dword [0x4f2eb8]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x46a7f1
mov eax, dword [0x4f3278]
cmp dword [eax - 8], 0
je 0x46a803
mov edi, 0x4f3278
lea eax, [ebp - 0x8ac]
call fcn.00402f73
mov esi, dword [ebp - 0x8ac]
lea eax, [ebp - 0x8ac]
push eax
lea edi, [ebp - 0x900]
call fcn.00403757
lea eax, [esi - 0xc]
mov byte [ebp - 4], 6
cmp eax, dword [0x4f0984]
je 0x46a818
push eax
call fcn.004013aa
mov ecx, dword [0x4f3284]
inc dword [ebp - 0x890]
cmp dword [ebp - 0x890], ecx
jb 0x46a773
mov eax, dword [0x4f0980]
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x890], eax
push 0x7c
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8a8]
push eax
push 0x819d
call fcn.0049e152
add esp, 0x10
push dword [ebp - 0x890]
lea edi, [ebp - 0x88c]
push 1
push dword [ebp - 0x8a8]
call fcn.0040d3cf
mov eax, dword [ebp + 8]
push dword [eax + 4]
lea eax, [ebp - 0x938]
push eax
mov eax, 0x469df4
mov ebx, edi
call fcn.0040d4e6
test eax, eax
mov esi, edi
jne 0x46a8fc
call fcn.0040d4ad
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a8b2
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a8c9
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a8e0
push eax
call fcn.004013aa
lea edi, [ebp - 0x938]
call fcn.0046aa7a
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x898]
test eax, eax
jmp 0x46aa03
call fcn.0040d4ad
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a918
push eax
call fcn.004013aa
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a933
push eax
call fcn.004013aa
push 0x7c
xor si, si
pop edi
lea eax, [ebp - 0x8e8]
call fcn.00414440
lea eax, [ebp - 0x8e4]
call fcn.00414440
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0x8cc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x8d0], eax
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0x8c8], eax
mov eax, dword [ebp - 0x8e4]
mov dword [ebp - 0x8c4], eax
lea eax, [ebp - 0x8d0]
xor ebx, ebx
push eax
mov dword [ebp - 0x8cc], 2
mov word [ebp - 0x8c0], 0x41
mov dword [ebp - 0x8be], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor esi, esi
cmp dword [ebp - 0x8dc], ebx
jbe 0x46a9d6
cmp esi, dword [ebp - 0x8dc]
jae 0x46aa14
mov eax, dword [ebp - 0x8e0]
lea eax, [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, dword [ebp - 0x8dc]
jb 0x46a9bc
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x46a9ed
push eax
call fcn.004013aa
lea edi, [ebp - 0x938]
call fcn.0046aa7a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x898]
cmp eax, ebx
je 0x46a72d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46a72d
push 0x80070057
call fcn.004010ca
int3