Function at 0x530380
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0xbc
push 0xffffffffffffffff
push 0x5f6ec1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp + 0xb8], 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, 0x63079c
lea ecx, [ebp + 0xa0]
call fcn.0040ad90
add esp, 8
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x5303e3
mov edx, dword [edx]
test edx, edx
jne 0x5303eb
xor ecx, ecx
jmp 0x5303ff
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5303f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x20]
call fcn.004097d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa0]
call fcn.004075e0
lea edx, [edi + 8]
lea ecx, [ebp - 0x14]
call fcn.00523e20
mov dword [ebp - 4], 3
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
lea ebx, [edi + 0x20]
cmp dword [eax - 0xc], 0
je 0x530452
push 0
push dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
jmp 0x53059a
push 0x691484
push edi
lea ecx, [ebp]
call fcn.0052aa90
mov byte [ebp - 4], 4
mov dword [ebp + 0xac], 0
mov dword [ebp + 0xb0], 0
mov dword [ebp + 0xb4], 0
mov byte [ebp - 4], 5
lea eax, [edi + 8]
push eax
lea ecx, [ebp + 0xac]
call fcn.004fa910
mov eax, dword [ebp]
lea ecx, [ebp + 0xac]
push ebx
push ecx
lea ecx, [ebp]
call dword [eax + 0x4c]
mov ebx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xac]
call fcn.004ea3f0
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x39], 0
je 0x5304c7
xor bl, bl
jmp 0x53058e
test ebx, ebx
je 0x53058b
cmp byte [0x697f7c], 0
je 0x530589
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x5305de
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.0041a840
push ecx
mov edx, ebx
lea ecx, [ebp - 0x18]
call fcn.004fd870
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [eax]
test edx, edx
je 0x53053f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x530526
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0041a840
lea eax, [ebp - 0x10]
mov ecx, 0x697f44
push eax
call fcn.00531fd0
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 0x53056b
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 0x530589
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.0050ff90
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 0x5305b9
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 + 0xb8]
xor ecx, ebp
call fcn.0059046a
lea esp, [ebp + 0xbc]
pop ebp
ret
push 0x80004005
call fcn.00409920
int3