Function at 0x4c3b20
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0xb8
push 0xffffffffffffffff
push 0x5651a1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5d6024]
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, 0x595a14
lea ecx, [ebp + 0x9c]
call fcn.00409a30
add esp, 8
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x4c3b83
mov edx, dword [edx]
test edx, edx
jne 0x4c3b8b
xor ecx, ecx
jmp 0x4c3b9f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3b90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x20]
call fcn.00408e90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x9c]
call fcn.00407f50
lea edx, [edi + 8]
lea ecx, [ebp - 0x14]
call fcn.004b7d20
mov dword [ebp - 4], 3
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
lea ebx, [edi + 0x20]
cmp dword [eax - 0xc], 0
je 0x4c3bf2
push 0
push dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
jmp 0x4c3d3a
push 0x5d7044
push edi
lea ecx, [ebp]
call fcn.004be8e0
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.0048f8e0
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.0047f5b0
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x39], 0
je 0x4c3c67
xor bl, bl
jmp 0x4c3d2e
test ebx, ebx
je 0x4c3d2b
cmp byte [0x5dc4e4], 0
je 0x4c3d29
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c3d7e
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.00418fd0
push ecx
mov edx, ebx
lea ecx, [ebp - 0x18]
call fcn.004967d0
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [eax]
test edx, edx
je 0x4c3cdf
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3cc6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00418fd0
lea eax, [ebp - 0x10]
mov ecx, 0x5dc4ac
push eax
call fcn.004c5760
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 0x4c3d0b
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 0x4c3d29
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.004a39d0
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 0x4c3d59
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.00521461
lea esp, [ebp + 0xb8]
pop ebp
ret
push 0x80004005
call fcn.00408fe0
int3