Function at 0x467496
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x4c8483
call fcn.004c2540
sub esp, 0x940
mov eax, dword [0x4e7384]
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 0x467510
cmp edi, dword [esi + 0x238]
jge 0x467510
lea ecx, [esi + 0x234]
mov eax, edi
call fcn.0046ca76
mov ebx, eax
lea eax, [ebp - 0x8a4]
call fcn.00467b47
mov eax, edi
lea ecx, [esi + 0x234]
call fcn.0046ca76
and dword [eax + 4], 0
xor ebx, ebx
jmp 0x467659
mov eax, dword [0x4e9150]
mov dword [ebp - 0x890], eax
push 0x8152
push dword [0x4eaf68]
lea eax, [ebp - 0x890]
push eax
call fcn.004035cf
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x948]
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 - 0x94c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x944], eax
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x940], edi
mov dword [ebp - 0x93c], 1
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
mov dword [ebp - 0x8a0], eax
jne 0x4675b1
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
je 0x467855
push eax
call fcn.004013aa
jmp 0x467855
mov dword [ebp - 0x894], ebx
lea eax, [ebp - 0x894]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jl 0x467634
mov dword [ebp - 0x8a8], ebx
lea eax, [ebp - 0x898]
push eax
lea eax, [ebp - 0x8a8]
push eax
mov byte [ebp - 4], 3
push 0x4cbb0c
push dword [ebp - 0x8a0]
mov dword [ebp - 0x898], ebx
call dword [0x4eaf58]
cmp eax, ebx
jl 0x467620
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x8a4]
push edx
push ebx
push 0x4cbbec
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 0x467634
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x894]
cmp eax, ebx
je 0x467648
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0xc]
cmp eax, dword [0x4e9154]
je 0x467659
push eax
call fcn.004013aa
cmp dword [ebp - 0x8a4], ebx
je 0x467855
mov dword [ebp - 0x898], ebx
push 1
lea eax, [ebp - 0x898]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.0046217d
cmp eax, ebx
jge 0x46768b
mov byte [ebp - 4], 0
jmp 0x467b23
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 0x467847
cmp dword [ebp - 0x8b0], edi
je 0x467847
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 0x467847
cmp dword [ebp - 0x8b0], 2
jne 0x467719
push 0
push 0x7f13
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x8a0], 0
je 0x467847
test byte [ebp - 0x899], 0x20
je 0x467847
lea esi, [ebp - 0x90c]
call fcn.00467b63
mov eax, 0x105
lea ecx, [ebp - 0x8cc]
call fcn.00402f4f
push eax
push dword [ebp - 0x8a0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x46783c
or eax, 0xffffffff
lea ecx, [ebp - 0x8cc]
call fcn.00402f7b
mov eax, dword [ebp - 0x8cc]
cmp dword [eax - 8], 0
je 0x46783c
mov ecx, dword [0x4e9150]
mov dword [ebp - 0x894], ecx
push eax
lea eax, [ebp - 0x894]
push 0x819c
push eax
mov byte [ebp - 4], 6
call fcn.00405bca
mov esi, dword [ebp - 0x894]
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x24
push dword [0x4eb3dc]
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4677cb
lea eax, [esi - 0xc]
jmp 0x46782e
mov eax, dword [ebp - 0x8cc]
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
push 0x5c
pop ecx
cmp ax, cx
je 0x4677fc
lea eax, [ebp - 0x8a8]
xor edi, edi
push eax
inc edi
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8a8], ecx
call fcn.00403284
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x90c]
add esi, 0xf4
push eax
call fcn.00458907
or eax, 0xffffffff
xor edi, edi
mov ecx, esi
call fcn.00458809
cmp dword [ebp - 0x908], edi
jne 0x467880
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x46783c
push eax
call fcn.004013aa
lea edi, [ebp - 0x90c]
call fcn.00467ba2
test ebx, ebx
mov byte [ebp - 4], 0
je 0x467855
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x8a4]
push eax
call fcn.00439816
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.004c2215
leave
ret 4
mov ecx, dword [0x4eb9e4]
and dword [ebp - 0x890], 0
test ecx, ecx
jbe 0x467958
mov ebx, dword [sym.imp.MSVCRT.dll_wcscmp]
mov eax, dword [ebp - 0x890]
cmp eax, ecx
jae 0x467b3c
mov ecx, dword [0x4eb9e0]
lea edi, [ecx + eax*8]
mov ecx, edi
lea esi, [ebp - 0x8ac]
call fcn.00402de7
mov edi, dword [edi + 4]
mov dword [ebp - 0x8a8], edi
mov byte [ebp - 4], 7
push dword [0x4eb61c]
mov esi, dword [ebp - 0x8ac]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x4678e9
mov dword [ebp - 0x8d0], edi
jmp 0x467919
push dword [0x4eb620]
push esi
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x467919
mov eax, dword [0x4eb9d8]
cmp dword [eax - 8], 0
je 0x46792b
mov edi, 0x4eb9d8
lea eax, [ebp - 0x8ac]
call fcn.00402e80
mov esi, dword [ebp - 0x8ac]
lea eax, [ebp - 0x8ac]
push eax
lea edi, [ebp - 0x8e0]
call fcn.00408e3d
lea eax, [esi - 0xc]
mov byte [ebp - 4], 6
cmp eax, dword [0x4e9154]
je 0x467940
push eax
call fcn.004013aa
mov ecx, dword [0x4eb9e4]
inc dword [ebp - 0x890]
cmp dword [ebp - 0x890], ecx
jb 0x46789b
mov eax, dword [0x4e9150]
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.0049b634
add esp, 0x10
push dword [ebp - 0x890]
lea edi, [ebp - 0x88c]
push 1
push dword [ebp - 0x8a8]
call fcn.0040d4be
mov eax, dword [ebp + 8]
push dword [eax + 4]
lea eax, [ebp - 0x90c]
push eax
mov eax, 0x466f1c
mov ebx, edi
call fcn.0040d5d5
test eax, eax
mov esi, edi
jne 0x467a24
call fcn.0040d59c
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4679da
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4679f1
push eax
call fcn.004013aa
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x467a08
push eax
call fcn.004013aa
lea edi, [ebp - 0x90c]
call fcn.00467ba2
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x898]
test eax, eax
jmp 0x467b2b
call fcn.0040d59c
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x467a40
push eax
call fcn.004013aa
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x8a8]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x467a5b
push eax
call fcn.004013aa
push 0x7c
xor si, si
pop edi
lea eax, [ebp - 0x8c8]
call fcn.00414575
lea eax, [ebp - 0x8c4]
call fcn.00414575
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0x928]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x8c8]
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x8c4]
mov dword [ebp - 0x920], eax
lea eax, [ebp - 0x92c]
xor ebx, ebx
push eax
mov dword [ebp - 0x928], 2
mov word [ebp - 0x91c], 0x41
mov dword [ebp - 0x91a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor esi, esi
cmp dword [ebp - 0x8bc], ebx
jbe 0x467afe
cmp esi, dword [ebp - 0x8bc]
jae 0x467b3c
mov eax, dword [ebp - 0x8c0]
lea eax, [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, dword [ebp - 0x8bc]
jb 0x467ae4
mov eax, dword [ebp - 0x894]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x467b15
push eax
call fcn.004013aa
lea edi, [ebp - 0x90c]
call fcn.00467ba2
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x898]
cmp eax, ebx
je 0x467855
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x467855
push 0x80070057
call fcn.004010ca
int3