Function at 0x4c6a50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov esi, ecx
mov eax, dword [esi + 0x4d8]
push 0xffffffffffffffff
push 0x100c
push eax
mov dword [ebp - 0x10], esi
call edi
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4c6d8a
push ebx
lea ebx, [ebx]
push 0x34
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push ecx
call fcn.006100a0
mov ecx, dword [esi + 0x4d8]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push ebx
push 0x104b
push ecx
mov dword [ebp - 0x94], 5
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], ebx
call edi
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x4c6d63
mov edx, dword [esi + 4]
push 0x206
mov dword [ebp - 0x60], edx
mov edi, eax
lea edx, [ebp - 0x29a]
lea eax, [ebp - 0x4a4]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0x45
mov dword [ebp - 0x4c], 0x4c4780
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x29c], cx
call fcn.006100a0
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x4c6d63
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x29c]
test ecx, 0xffff0000
jne 0x4c6b9d
mov edx, ecx
movzx esi, dx
push ebx
push esi
call fcn.00403bf0
add esp, 8
cmp eax, ebx
je 0x4c6bac
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407a90
jmp 0x4c6bac
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409320
mov dword [ebp - 4], 1
mov esi, dword [edi]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], ebx
lea ecx, [esi - 4]
jl 0x4c6bda
cmp eax, dword [esi - 0x10]
jne 0x4c6bda
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4c6c12
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x4c6d9e
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0060fbd3
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00611521
add esp, 4
cmp dword [esi - 4], 1
mov ebx, eax
jle 0x4c6c43
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00401370
mov esi, dword [ebp - 0x20]
mov edx, ebx
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4c6c50
mov eax, dword [esi - 0xc]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x29c]
mov eax, 0x614
push ecx
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x30], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4c6d11
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
push 0x130
push ecx
call fcn.00428ea0
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
add esp, 8
push 0x40
push 0x67492c
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 3
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6d11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.0061056f
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6d3a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6d60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x4d8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push ecx
push 0x100c
push edx
call edi
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x4c6aa0
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00404070
int3