Function at 0x4c4fb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 4]
xor esi, esi
push 0x206
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x25e]
lea ecx, [ebp - 0x468]
xor edx, edx
push esi
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0x45
mov dword [ebp - 0x44], 0x4c4780
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x260], dx
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
je 0x4c51b0
push edi
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bdf0
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x60]
sub eax, 0x10
push eax
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push 4
push str..
lea ecx, [ebp - 0x10]
call fcn.00401710
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00611521
add esp, 4
cmp dword [edi - 4], 1
mov esi, eax
jle 0x4c50a0
mov edx, dword [edi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401370
mov edi, dword [ebp - 0x10]
mov edx, esi
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4c50a6
mov eax, dword [edi - 0xc]
xor ecx, ecx
mov word [esi + eax*2 + 2], cx
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x260]
mov eax, 0x614
push ecx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x28], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
call fcn.0061056f
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push 0x130
push ecx
call fcn.00428ea0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 4]
add esp, 8
push 0x40
push 0x67492c
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 2
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c5169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x4c518a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c51b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10