Function at 0x4c1e80
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0xb8
push 0xffffffffffffffff
push 0x55ef8c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp + 0xb4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
mov edx, 0x58e828
lea ecx, [ebp + 0x9c]
call fcn.00409a80
add esp, 8
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x4c1ee3
mov edx, dword [edx]
test edx, edx
jne 0x4c1eeb
xor ecx, ecx
jmp 0x4c1eff
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c1ef0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x20]
call fcn.00408e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x9c]
call fcn.00407e00
lea edx, [edi + 8]
lea ecx, [ebp - 0x14]
call fcn.004b61d0
mov dword [ebp - 4], 3
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
lea ebx, [edi + 0x20]
cmp dword [eax - 0xc], 0
je 0x4c1f52
push 0
push dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
jmp 0x4c209a
push 0x5cfea8
push edi
lea ecx, [ebp]
call fcn.004bccf0
mov byte [ebp - 4], 4
mov dword [ebp + 0xa8], 0
mov dword [ebp + 0xac], 0
mov dword [ebp + 0xb0], 0
mov byte [ebp - 4], 5
lea eax, [edi + 8]
push eax
lea ecx, [ebp + 0xa8]
call fcn.0048e870
mov eax, dword [ebp]
lea ecx, [ebp + 0xa8]
push ebx
push ecx
lea ecx, [ebp]
call dword [eax + 0x4c]
mov ebx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xa8]
call fcn.0047e930
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x39], 0
je 0x4c1fc7
xor bl, bl
jmp 0x4c208e
test ebx, ebx
je 0x4c208b
cmp byte [0x5d5588], 0
je 0x4c2089
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4c20de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
push 0x25
push str.Downloading_of_updates_failed._Error:
call fcn.00418fe0
push ecx
mov edx, ebx
lea ecx, [ebp - 0x18]
call fcn.004956e0
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [eax]
test edx, edx
je 0x4c203f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2026
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00418fe0
lea eax, [ebp - 0x10]
mov ecx, 0x5d5554
push eax
call fcn.004c38f0
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c206b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2089
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.004a2690
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 0x4c20b9
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 + 0xb4]
xor ecx, ebp
call fcn.0051dacc
lea esp, [ebp + 0xb8]
pop ebp
ret
push 0x80004005
call fcn.00408f80
int3