Function at 0x473f63
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x4f4ae0
call fcn.004ebd20
sub esp, 0x950
mov eax, dword [0x517ad4]
push ebx
push esi
xor ebx, ebx
xor eax, ebp
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x8b0], esi
mov dword [ebp - 0x8a4], ebx
mov dword [ebp - 0x8a0], ebx
mov dword [ebp - 0x89c], ebx
movzx edi, dx
sub edi, 0x7f59
mov dword [ebp - 4], ebx
js 0x473fe4
cmp edi, dword [esi + 0x244]
jge 0x473fe4
lea ecx, [esi + 0x240]
mov eax, edi
call fcn.0045d7da
mov ebx, eax
lea eax, [ebp - 0x8a4]
call fcn.00474627
mov eax, edi
lea ecx, [esi + 0x240]
call fcn.0045d7da
and dword [eax + 4], 0
xor ebx, ebx
jmp 0x47412d
mov eax, dword [0x51b438]
mov dword [ebp - 0x890], eax
push 0x8152
push dword [0x522618]
lea eax, [ebp - 0x890]
push eax
call fcn.0040386d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x958]
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 - 0x95c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x954], eax
lea eax, [ebp - 0x95c]
push eax
mov dword [ebp - 0x950], edi
mov dword [ebp - 0x94c], 1
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
mov dword [ebp - 0x8a0], eax
jne 0x474085
lea eax, [edi - 0xc]
cmp eax, dword [0x51b43c]
je 0x47432f
push eax
call fcn.004013b2
jmp 0x47432f
mov dword [ebp - 0x894], ebx
lea eax, [ebp - 0x894]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jl 0x474108
mov dword [ebp - 0x8a8], ebx
lea eax, [ebp - 0x898]
push eax
lea eax, [ebp - 0x8a8]
push eax
mov byte [ebp - 4], 3
push 0x4f7b9c
push dword [ebp - 0x8a0]
mov dword [ebp - 0x898], ebx
call dword [0x5225e0]
cmp eax, ebx
jl 0x4740f4
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8a4]
push edx
push ebx
push 0x4f7c8c
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 0x474108
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x894]
cmp eax, ebx
je 0x47411c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0xc]
cmp eax, dword [0x51b43c]
je 0x47412d
push eax
call fcn.004013b2
cmp dword [ebp - 0x8a4], ebx
je 0x47432f
mov dword [ebp - 0x898], ebx
push 1
lea eax, [ebp - 0x898]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.0046eb3c
cmp eax, ebx
jge 0x47415f
mov byte [ebp - 4], 0
jmp 0x474603
mov eax, dword [ebp - 0x8a4]
lea ebx, [ebp - 0x8b4]
push ebx
mov ebx, dword [ebp - 0x898]
xor ecx, ecx
push ecx
xor edi, edi
push edi
push 1
push ebx
mov dword [ebp - 0x8b4], 5
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x474321
cmp dword [ebp - 0x8b4], edi
je 0x474321
mov eax, dword [ebp - 0x8a4]
mov edx, dword [eax]
lea ecx, [ebp - 0x8b4]
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 0x474321
cmp dword [ebp - 0x8b4], 2
jne 0x4741ed
push 0
push 0x7f13
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x8a0], 0
je 0x474321
test byte [ebp - 0x899], 0x20
je 0x474321
lea esi, [ebp - 0x93c]
call fcn.00474643
mov eax, 0x105
lea ecx, [ebp - 0x8f0]
call fcn.00403201
push eax
push dword [ebp - 0x8a0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x474316
or eax, 0xffffffff
lea ecx, [ebp - 0x8f0]
call fcn.0040322d
mov eax, dword [ebp - 0x8f0]
cmp dword [eax - 8], 0
je 0x474316
mov ecx, dword [0x51b438]
mov dword [ebp - 0x894], ecx
push eax
lea eax, [ebp - 0x894]
push 0x819c
push eax
mov byte [ebp - 4], 6
call fcn.00405ae3
mov esi, dword [ebp - 0x894]
mov eax, dword [ebp - 0x8b0]
add esp, 0xc
push 0x24
push dword [0x52324c]
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4742a2
lea eax, [esi - 0xc]
jmp 0x474308
mov eax, dword [ebp - 0x8f0]
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
push 0x5c
pop ecx
cmp ax, cx
je 0x4742d3
lea eax, [ebp - 0x8a8]
xor edi, edi
push eax
inc edi
lea eax, [ebp - 0x8f0]
mov dword [ebp - 0x8a8], ecx
call fcn.00403522
mov esi, dword [ebp - 0x8b0]
lea eax, [ebp - 0x93c]
add esi, 0xf4
push eax
call fcn.00464f20
or eax, 0xffffffff
xor edi, edi
mov ecx, esi
call fcn.00464e22
cmp dword [ebp - 0x938], edi
jne 0x47435a
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x474316
push eax
call fcn.004013b2
lea edi, [ebp - 0x93c]
call fcn.00474682
test ebx, ebx
mov byte [ebp - 4], 0
je 0x47432f
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x8a4]
push eax
call fcn.00440f96
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004ebd70
leave
ret
mov ecx, dword [0x522a28]
and dword [ebp - 0x890], 0
test ecx, ecx
jbe 0x474432
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
mov eax, dword [ebp - 0x890]
cmp eax, ecx
jae 0x47461c
mov ecx, dword [0x522a24]
lea edi, [ecx + eax*8]
mov ecx, edi
lea esi, [ebp - 0x8ac]
call fcn.0040306f
mov edi, dword [edi + 4]
mov dword [ebp - 0x8a8], edi
mov byte [ebp - 4], 7
push dword [0x52263c]
mov esi, dword [ebp - 0x8ac]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x4743c3
mov dword [ebp - 0x8f4], edi
jmp 0x4743f3
push dword [0x522640]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x4743f3
mov eax, dword [0x522a1c]
cmp dword [eax - 8], 0
je 0x474405
mov edi, 0x522a1c
lea eax, [ebp - 0x8ac]
call fcn.0040311c
mov esi, dword [ebp - 0x8ac]
lea eax, [ebp - 0x8ac]
push eax
lea edi, [ebp - 0x904]
call fcn.0040f058
lea eax, [esi - 0xc]
mov byte [ebp - 4], 6
cmp eax, dword [0x51b43c]
je 0x47441a
push eax
call fcn.004013b2
mov ecx, dword [0x522a28]
inc dword [ebp - 0x890]
cmp dword [ebp - 0x890], ecx
jb 0x474375
mov eax, dword [0x51b438]
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.004aee11
add esp, 0x10
push dword [ebp - 0x890]
lea edi, [ebp - 0x88c]
push 1
push dword [ebp - 0x8a8]
call fcn.00412faf
mov eax, dword [ebp - 0x8b0]
push dword [eax + 4]
lea eax, [ebp - 0x93c]
push eax
mov eax, 0x4739b2
mov ebx, edi
call fcn.004130c6
test eax, eax
mov esi, edi
jne 0x474501
call fcn.0041308d
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4744b7
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4744ce
push eax
call fcn.004013b2
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4744e5
push eax
call fcn.004013b2
lea edi, [ebp - 0x93c]
call fcn.00474682
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x898]
test eax, eax
jmp 0x47460b
call fcn.0041308d
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x47451d
push eax
call fcn.004013b2
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x474538
push eax
call fcn.004013b2
push 0x7c
xor si, si
pop edi
lea eax, [ebp - 0x8ec]
call fcn.0041a149
lea eax, [ebp - 0x8e8]
call fcn.0041a149
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0x8d0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x8b0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x8d4], eax
mov eax, dword [ebp - 0x8ec]
mov dword [ebp - 0x8cc], eax
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0x8c8], eax
lea eax, [ebp - 0x8d4]
xor ebx, ebx
push eax
mov dword [ebp - 0x8d0], 2
mov word [ebp - 0x8c4], 0x41
mov dword [ebp - 0x8c2], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor esi, esi
cmp dword [ebp - 0x8e0], ebx
jbe 0x4745de
cmp esi, dword [ebp - 0x8e0]
jae 0x47461c
mov eax, dword [ebp - 0x8e4]
lea eax, [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, dword [ebp - 0x8e0]
jb 0x4745c4
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4745f5
push eax
call fcn.004013b2
lea edi, [ebp - 0x93c]
call fcn.00474682
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x898]
cmp eax, ebx
je 0x47432f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47432f
push 0x80070057
call fcn.004010d2
int3