Function at 0x4c6aa0
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0xa0
push 0xffffffffffffffff
push 0x55fe80
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4c6ce9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, 0x58f750
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x4c6b16
movzx eax, ax
push eax
call fcn.00412350
jmp 0x4c6b22
push 3
push 0x58f750
call fcn.004126c0
mov dword [ebp - 4], 1
lea ebx, [edi + 0x20]
mov edx, ebx
lea ecx, [ebp - 0x10]
call fcn.004942d0
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c6b5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi + 8]
lea ecx, [ebp - 0x14]
call fcn.004b9f60
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4c6b8b
push 0
push dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
jmp 0x4c6ca5
push 0x5d0e98
push edi
lea ecx, [ebp]
call fcn.004c1550
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 6
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0048f3e0
mov eax, dword [ebp]
lea ecx, [ebp - 0x24]
push ebx
push ecx
lea ecx, [ebp]
call dword [eax + 0x4c]
mov ebx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.0047dd80
mov ecx, dword [edi + 4]
mov cl, byte [ecx + 0x39]
test cl, cl
je 0x4c6bef
xor bl, bl
jmp 0x4c6c99
test ebx, ebx
je 0x4c6c96
cmp byte [0x5d6558], 0
je 0x4c6c94
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4c6cf3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push 0x25
push str.Downloading_of_updates_failed._Error:
call fcn.00416df0
push ecx
mov edx, ebx
lea ecx, [ebp - 0x18]
call fcn.004927b0
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.004b5110
push eax
mov ecx, 0x5d6524
call fcn.004c8520
mov byte [ebp - 4], 0xa
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c6c76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c6c94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
sete bl
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004a4fe0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4c6cc4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.005214e1
lea esp, [ebp + 0xa0]
pop ebp
ret
push 0x80004005
call fcn.004126a0
push 0x80004005
call fcn.004126a0
int3