Function at 0x4c6db0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
mov eax, dword [esi + 0x4d8]
push ebx
push 0x1004
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x4c6fe6
lea ebx, [ebx]
push 0x34
lea ecx, [ebp - 0x94]
push ebx
push ecx
call fcn.006100a0
mov ecx, dword [esi + 0x4d8]
mov edx, dword [ebp - 0x14]
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 dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x74]
cmp edi, ebx
je 0x4c6fbe
mov edx, dword [esi + 4]
push 0x206
mov dword [ebp - 0x60], edx
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 0x4c6fbe
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040bdf0
mov dword [ebp - 4], ebx
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004011f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov eax, dword [esi - 0xc]
lea eax, [eax + eax + 4]
push eax
call fcn.00611521
add esp, 8
cmp dword [esi - 4], 1
mov edi, eax
jle 0x4c6f05
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401370
mov esi, dword [ebp - 0x18]
mov edx, edi
mov eax, esi
sub edx, esi
jmp 0x4c6f10
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4c6f10
mov eax, dword [esi - 0xc]
xor edx, edx
mov word [edi + eax*2 + 2], dx
xor eax, eax
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 edx, [ebp - 0x40]
lea eax, [ebp - 0x29c]
mov ecx, 0x614
push edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
mov dword [ebp - 0x10], eax
call fcn.0061056f
add esp, 4
mov byte [ebp - 4], bl
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c6f95
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6fbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x4d8]
push ebx
push ebx
push 0x1004
inc edi
push ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, eax
jl 0x4c6e00
cmp dword [ebp - 0x10], ebx
jne 0x4c704c
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x10]
push 0x130
push ecx
call fcn.00428ea0
mov edi, dword [ebp - 0x10]
mov edx, dword [esi + 4]
add esp, 8
push 0x40
push 0x67492c
push edi
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c704c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10