Function at 0x4697d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0xa0
push 0xffffffffffffffff
push 0x4968b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c0074]
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
mov dword [ebp - 0x2c], edi
mov eax, dword [edi + 0xc]
lea ecx, [ebp]
mov esi, dword [ebp + 0xa8]
add eax, 0x9c
push eax
push esi
call fcn.0041fac0
mov dword [ebp - 4], 0
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp + 0x78]
mov eax, dword [edx + 0x7c]
test eax, eax
cmovns ecx, eax
mov dword [ebp + 0x78], ecx
mov ecx, 1
mov eax, dword [edx + 0x30]
shr eax, 2
test al, 1
mov dword [ebp - 0x1c], 0x4a4ca8
movzx eax, byte [ebp + 0x80]
cmovne eax, ecx
mov word [ebp - 0x18], 0x101
mov byte [ebp + 0x80], al
mov dword [ebp - 0x14], esi
test esi, esi
je 0x469885
lea ecx, [ebp - 0x1c]
call fcn.00403690
mov ecx, dword [ebp - 0x14]
push 0
push 0
push 0x65
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x2c]
xor edi, edi
xor ebx, ebx
mov eax, dword [esi + 4]
test eax, eax
jle 0x469a1e
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax]
test ecx, ecx
js 0x469a7a
cmp ebx, eax
jge 0x469a7a
mov esi, dword [esi]
add esi, ecx
cmp byte [esi + 0x155], 0
je 0x469a06
mov ecx, esi
call fcn.0044d3d0
test eax, eax
je 0x4698d5
cmp eax, 1
jne 0x469a03
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp]
push eax
call fcn.0044d500
mov dword [ebp - 0x28], eax
call fcn.0041e1d0
mov al, byte [eax + 0x1c]
test al, al
je 0x4699f4
call fcn.0041e1d0
test byte [eax + 0x20], 8
je 0x4699f4
call fcn.0041e1d0
mov dword [ebp - 0x30], eax
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x469a86
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
push 8
push str.Update__
call fcn.00402280
mov edx, dword [esi + 4]
test edx, edx
je 0x469960
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469947
sub eax, esi
lea ecx, [ebp - 0x10]
sar eax, 1
push eax
push edx
call fcn.00402280
push 0x25
push str.__installer_downloaded._Return_code:
lea ecx, [ebp - 0x10]
call fcn.00402280
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x469a86
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
push 0
push 0x4a4fb8
call fcn.00402280
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.0041ddf0
push eax
push ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
call fcn.0041e320
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4699d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4699f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
cmovne edi, eax
cmp eax, 0xe0000008
je 0x469a1e
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
inc ebx
add ecx, 0x164
mov dword [ebp - 0x24], ecx
mov eax, dword [esi + 4]
cmp ebx, eax
jl 0x4698a0
cmp byte [ebp - 0x18], 0
je 0x469a44
cmp byte [ebp - 0x17], 0
je 0x469a44
cmp dword [ebp - 0x14], 0
je 0x469a44
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
push edi
push 0x65
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0041fd30
mov eax, edi
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.0046c8db
lea esp, [ebp + 0xa0]
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.004036b0
push 0x80004005
call fcn.004023a0
int3