Function at 0x40b520
Capabilities:
Check mutex on windows

Disassembly:
push 0x50
mov eax, 0x475750
call fcn.00450508
xor ecx, ecx
mov ebx, ecx
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x13], cl
mov byte [ebp - 0x14], cl
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xf], cl
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0x11], cl
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x44], ecx
call fcn.00409480
push eax
lea ecx, [ebp - 0x54]
call fcn.00408c39
mov dword [ebp - 4], 1
and dword [ebp - 0x40], ebx
call fcn.00409480
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408c39
mov byte [ebp - 4], 3
call fcn.00409480
push eax
lea ecx, [ebp - 0x28]
call fcn.00408c39
push 5
pop eax
mov byte [ebp - 4], al
call fcn.00409480
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408c39
mov byte [ebp - 4], 7
call fcn.00409480
push eax
lea ecx, [ebp - 0x30]
call fcn.00408c39
mov byte [ebp - 4], 9
call fcn.00409480
push eax
lea ecx, [ebp - 0x38]
call fcn.00408c39
mov byte [ebp - 4], 0xb
call fcn.00409480
push eax
lea ecx, [ebp - 0x34]
call fcn.00408c39
mov byte [ebp - 4], 0xd
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x40bb25
xor eax, eax
push eax
push eax
push eax
push 3
push 6
push eax
push eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test ebx, ebx
jne 0x40bb25
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.00409f19
xor esi, esi
inc esi
call fcn.0045859b
cmp dword [eax], esi
jle 0x40bc8a
mov dword [ebp - 0x20], 0xc
call fcn.004585a1
mov edi, esi
push str._reg
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b66d
mov byte [ebp - 0xf], 1
mov byte [ebp - 0x17], 1
jmp 0x40babc
call fcn.004585a1
push str._unreg
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b694
mov byte [ebp - 0xf], 1
mov byte [ebp - 0x13], 1
jmp 0x40babc
call fcn.004585a1
push str._start
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b6b7
mov byte [ebp - 0x14], 1
jmp 0x40babc
call fcn.004585a1
push str._debug
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b6dd
mov dword [ebp - 0x44], 1
jmp 0x40babc
call fcn.004585a1
push str._debugfile
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b733
call fcn.0045859b
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
push 2
pop eax
mov dword [ebp - 0x44], eax
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
lea ecx, [ebp - 0x54]
push eax
push esi
call fcn.0040afd8
add dword [ebp - 0x20], 4
jmp 0x40bab9
call fcn.004585a1
push str._debugdbgout
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b758
push 4
pop eax
mov dword [ebp - 0x44], eax
jmp 0x40babc
call fcn.004585a1
push str._nokeypress
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b77c
mov byte [0x4a02d1], al
jmp 0x40babc
call fcn.004585a1
push str._checkreg
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b79f
mov byte [ebp - 0x1a], 1
jmp 0x40babc
call fcn.004585a1
push str._updater
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b7c9
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x40], str._updater
jmp 0x40babc
call fcn.004585a1
push str._installer
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b7f3
mov byte [ebp - 0xf], 1
mov dword [ebp - 0x40], str._installer
jmp 0x40babc
call fcn.004585a1
push str._emupdater
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b816
mov byte [ebp - 0x16], 1
jmp 0x40babc
call fcn.004585a1
push str._applypatch
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b86d
call fcn.0045859b
inc esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
push 0xa
push 0
mov eax, dword [eax]
push dword [eax + edi*4 + 4]
call fcn.00459a2a
add esp, 0xc
mov dword [0x4a0398], eax
test eax, eax
je 0x40bad5
mov eax, dword [ebp - 0x20]
add eax, 4
jmp 0x40babf
call fcn.004585a1
push str._applyupdate
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b8b9
mov byte [ebp - 0x18], al
mov byte [ebp - 0x15], 1
call fcn.0045859b
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
lea ecx, [ebp - 0x3c]
jmp 0x40b723
call fcn.004585a1
push str._applycab
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b8d9
mov byte [ebp - 0x18], 1
jmp 0x40b88a
call fcn.004585a1
push str._applydll
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b922
mov byte [ebp - 0x12], 1
call fcn.0045859b
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
lea ecx, [ebp - 0x38]
jmp 0x40b723
call fcn.004585a1
push str._offlinexml
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b96b
mov byte [ebp - 0x19], 1
call fcn.0045859b
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
lea ecx, [ebp - 0x34]
jmp 0x40b723
call fcn.004585a1
push str._autoversion
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40b9b2
call fcn.0045859b
inc esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
push 0xa
push 0
mov eax, dword [eax]
push dword [eax + edi*4 + 4]
call fcn.00459a2a
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x40b862
call fcn.004585a1
mov ecx, str._applydiff
push ecx
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40ba2e
mov byte [ebp - 0xe], 1
mov byte [ebp - 0x11], al
call fcn.0045859b
add esi, 3
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040afd8
call fcn.004585a1
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov esi, dword [ecx + eax]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040afd8
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 0xc]
jmp 0x40baa4
call fcn.004585a1
push str._creatediff
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x40babc
mov byte [ebp - 0xe], 1
mov byte [ebp - 0x11], 1
call fcn.0045859b
add esi, 3
mov dword [ebp - 0x24], esi
cmp esi, dword [eax]
jge 0x40bad5
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 4]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040afd8
call fcn.004585a1
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov esi, dword [ecx + eax]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040afd8
call fcn.004585a1
mov eax, dword [eax]
mov esi, dword [eax + edi*4 + 0xc]
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0040afd8
add dword [ebp - 0x20], 0xc
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add eax, 4
inc esi
mov dword [ebp - 0x20], eax
call fcn.0045859b
cmp esi, dword [eax]
jl 0x40b644
jmp 0x40bad9
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40baea
push ecx
push dword [ebp - 0x54]
push eax
call fcn.0041e47a
cmp byte [ebp - 0xd], 0
je 0x40bc2f
cmp byte [ebp - 0xe], 0
je 0x40bb22
call fcn.004585a1
cmp byte [ebp - 0x11], 0
mov edx, str._applydiff
mov ecx, str._creatediff
cmove ecx, edx
mov eax, dword [eax]
push ecx
push dword [eax]
push str.usage:__s__s_old_file_new_file_diff_file
call fcn.0041dafb
add esp, 0xc
push 0x57
pop ebx
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1f
push eax
push str.FreeSchedulerInterface
lea ecx, [ebp - 0x4c]
call fcn.0041dfa0
mov byte [ebp - 4], 0x11
mov ecx, dword [0x49f1bc]
test ecx, ecx
je 0x40bb5e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [0x49f1bc], 0
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.0041e015
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40bb7c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push str._tWinMain_final_result:__u
call fcn.0041dafb
cmp dword [0x4a02a4], 1
pop ecx
pop ecx
jne 0x40bbb4
cmp byte [0x4a02d0], 0
jne 0x40bbb4
cmp byte [0x4a02d1], 0
je 0x40bbb4
push str._nPress_any_key_to_exit_console..._n
call fcn.0040c42c
pop ecx
call fcn.00459d5e
cmp dword [ebp - 0x5c], 0
jl 0x40bbc0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00409575
push 5
pop eax
mov byte [ebp - 4], al
lea ecx, [edi - 0x10]
call fcn.00409575
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
call fcn.00409575
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00409575
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov eax, ebx
call fcn.004504d1
ret 8
cmp byte [ebp - 0xf], 0
je 0x40bc4e
cmp byte [ebp - 0x10], 0
jne 0x40bb22
push 5
mov dword [0x4a03c8], 2
pop esi
jmp 0x40bc62
mov eax, dword [0x4a03c8]
cmp byte [ebp - 0x10], 0
push 5
pop esi
cmovne eax, esi
mov dword [0x4a03c8], eax
cmp byte [ebp - 0x16], 0
jne 0x40bc6e
cmp byte [ebp - 0xe], 0
je 0x40bc8d
cmp byte [ebp - 0x1a], 0
je 0x40bcf1
cmp byte [0x4a0244], 0
mov ecx, dword [0x4a0304]
je 0x40bce2
call fcn.004257a4
jmp 0x40bce7
push 5
pop esi
push str.GlobalCCleanerSetupMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4a02b8], eax
test eax, eax
je 0x40bcbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40bcbb
mov byte [0x4a02ad], 0
jmp 0x40bc6e
cmp byte [ebp - 0xf], 0
mov byte [0x4a02ad], 1
jne 0x40bc6e
cmp byte [ebp - 0x10], 0
jne 0x40bc6e
push ecx
mov ecx, dword [0x4a0304]
mov edx, esi
call fcn.004253f3
pop ecx
jmp 0x40bb25
call fcn.00425590
mov ebx, eax
test ebx, ebx
je 0x40bb25
cmp byte [ebp - 0x16], 0
mov al, byte [ebp - 0xe]
jne 0x40bd14
test al, al
jne 0x40bd14
call fcn.0041e407
test al, al
je 0x40bd11
mov ebx, 0xb7
jmp 0x40bb25
mov al, byte [ebp - 0xe]
cmp byte [ebp - 0x13], 0
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
jne 0x40bd4a
cmp byte [ebp - 0x17], 0
jne 0x40bd4a
cmp byte [ebp - 0x15], 0
jne 0x40bd4a
cmp byte [ebp - 0x12], 0
jne 0x40bd4a
cmp byte [ebp - 0x19], 0
jne 0x40bd4a
cmp byte [ebp - 0x14], 0
jne 0x40bdce
test al, al
jne 0x40be2b
lea edx, [ebp - 0x1b]
xor ecx, ecx
call fcn.0041f825
mov ebx, eax
test ebx, ebx
jne 0x40bb2b
cmp byte [ebp - 0x1b], al
jne 0x40bd75
push 0x52
pop ebx
push str.An_Administrator_or_LocalSystem_account_required_
call fcn.0041dafb
jmp 0x40bcdc
cmp byte [ebp - 0x13], 0
je 0x40bda1
mov ecx, dword [0x4a0304]
call fcn.0042557e
mov ebx, eax
call fcn.00427dac
push ebx
push dword [0x4a0304]
push str.Job___s__unregistered_with_status:_li
call fcn.0041dafb
add esp, 0xc
cmp byte [ebp - 0x17], 0
je 0x40bdc8
mov ecx, dword [0x4a0304]
call fcn.004249cd
mov ebx, eax
push ebx
push dword [0x4a0304]
push str.Job___s__registered_with_status:_li
call fcn.0041dafb
add esp, 0xc
cmp byte [ebp - 0x14], 0
je 0x40be20
mov eax, dword [0x4a02b4]
test eax, eax
je 0x40bde5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x4a02b4], 0
mov ecx, 0x4a02a0
call fcn.0041e43f
cmp byte [0x4a0244], 0
mov ecx, dword [0x4a0304]
je 0x40be05
call fcn.00423796
jmp 0x40be0a
call fcn.0042366a
mov ebx, eax
push ebx
push dword [0x4a0304]
push str.Job___s__started_manually_with_status:_li
call fcn.0041dafb
add esp, 0xc
mov al, byte [ebp - 0xe]
test al, al
je 0x40bf22
cmp byte [ebp - 0x11], 0
mov ecx, str.apply
mov eax, str.create
push str.diff
cmove eax, ecx
push eax
push str.Going_to__s__s_file
call fcn.0041dafb
push esi
push str.Old_file:__s
call fcn.0041dafb
push edi
push str.New_file:__s
call fcn.0041dafb
push dword [ebp - 0x30]
push str.Diff_file:__s
call fcn.0041dafb
add esp, 0x24
mov ecx, esi
call fcn.0041f708
cmp byte [ebp - 0x11], 0
je 0x40bec9
test al, al
jne 0x40be95
push esi
push str.Old_file:__s_missing
call fcn.0041dafb
pop ecx
pop ecx
jmp 0x40bb2b
mov ecx, edi
call fcn.0041f708
test al, al
jne 0x40bea8
push edi
push str.New_file:__s_missing
jmp 0x40be89
mov ecx, dword [ebp - 0x30]
call fcn.0041f708
push dword [ebp - 0x30]
test al, al
je 0x40bebe
push str.File__s_already_exists
jmp 0x40be89
mov edx, edi
mov ecx, esi
call fcn.0040f941
jmp 0x40bf00
test al, al
je 0x40be83
mov ecx, dword [ebp - 0x30]
call fcn.0041f708
test al, al
jne 0x40bee3
push dword [ebp - 0x30]
push str.Diff_file:__s_missing
jmp 0x40be89
mov ecx, edi
call fcn.0041f708
test al, al
je 0x40bef1
push edi
jmp 0x40beb7
push 0
push dword [ebp - 0x30]
mov edx, edi
mov ecx, esi
call fcn.0041028a
pop ecx
pop ecx
mov ecx, eax
mov edx, str.success
test ecx, ecx
mov eax, str.failure
cmove eax, edx
push eax
push str.Done_with__s
call fcn.0041dafb
mov al, byte [ebp - 0xe]
pop ecx
pop ecx
cmp byte [ebp - 0x13], 0
jne 0x40bb2b
cmp byte [ebp - 0x14], 0
jne 0x40bb2b
test al, al
jne 0x40bb2b
call fcn.0041b689
mov ebx, eax
test ebx, ebx
jne 0x40bb2b
mov al, byte [ebp - 0x12]
test al, al
je 0x40c006
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], ebx
jne 0x40bf68
push 0x57
pop ebx
jmp 0x40bb2b
push dword [ebp - 0x38]
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x48]
or dword [ebp - 0x48], 0xffffffff
call fcn.0040c4a0
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 0xe
test ebx, ebx
je 0x40bfa8
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x48], 0xffffffff
je 0x40bb2b
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x48], 0xffffffff
jmp 0x40bb2b
mov ecx, dword [ebp - 0x38]
push 0
call fcn.004215c0
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x40bf88
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x40bfd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x40bf88
push str.ApplyEmUpdate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bfc9
mov ecx, eax
call fcn.004286d0
mov ebx, eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x48], 0xffffffff
je 0x40c003
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x48], 0xffffffff
mov al, byte [ebp - 0x12]
cmp byte [ebp - 0x15], 0
je 0x40c053
cmp byte [0x4a03d4], 0
jne 0x40c01c
push 0x52
jmp 0x40bf62
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 0xc], 0
je 0x40bf60
cmp byte [ebp - 0x18], 0
je 0x40c03e
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
mov ecx, eax
call fcn.00432d24
jmp 0x40c04b
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
push 0
call fcn.004296e9
pop ecx
mov ebx, eax
jmp 0x40bb2b
test al, al
jne 0x40bb2b
call fcn.0042619e
cmp byte [ebp - 0xf], 0
jne 0x40c074
cmp byte [ebp - 0x10], 0
jne 0x40c074
mov ecx, dword [0x4a035c]
jmp 0x40c082
xor ecx, ecx
and dword [0x4a0360], ecx
mov dword [0x4a035c], ecx
cmp byte [ebp - 0x19], 0
je 0x40c13f
mov ecx, dword [ebp - 0x34]
call fcn.0041f708
test al, al
jne 0x40c0b1
push 3
pop ebx
push ebx
push dword [ebp - 0x34]
push str.Cannot_open_offline_XML_descriptor__s:__li
call fcn.0041dafb
add esp, 0xc
jmp 0x40bb2b
push 0x2f
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.0040a11e
mov ecx, str.file:__
call fcn.0040b056
push eax
push str.file:__
mov ecx, 0x4a0330
call fcn.0040afd8
mov eax, dword [ebp - 0x34]
mov ecx, 0x4a0330
push dword [eax - 0xc]
push eax
call fcn.0040c3a0
push 0x2f
push dword [0x4a0330]
call fcn.00450d4e
pop ecx
pop ecx
test eax, eax
je 0x40c19a
sub eax, dword [0x4a0330]
sar eax, 1
cmp eax, 0xffffffff
je 0x40c19a
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x4a0330
push eax
call fcn.0040c287
mov byte [ebp - 4], 0xf
mov ecx, 0x4a0354
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00409575
jmp 0x40c19a
call fcn.00433fac
mov ebx, eax
test ebx, ebx
je 0x40c169
push ebx
push str.Error_checking_internet_connection_status:_li
call fcn.0041dafb
pop ecx
mov ecx, dword [0x4a0304]
push 0x3c
pop edx
call fcn.004253f3
jmp 0x40be8f
call fcn.004210aa
mov ecx, dword [0x4a032c]
call fcn.0041d107
mov ebx, eax
test ebx, ebx
je 0x40c1a8
push ebx
push str.Cannot_download_patch_descriptor_status:_li
call fcn.0041dafb
pop ecx
mov ecx, dword [0x4a0304]
push 0x1e
pop edx
call fcn.004253f3
pop ecx
cmp ebx, 0x4d5
je 0x40c252
jmp 0x40c1e0
cmp dword [0x4a0394], 0
jne 0x40c1bd
push str.No_patches_available
call fcn.0041dafb
jmp 0x40c1df
mov ecx, dword [ebp - 0x40]
call fcn.00428186
mov ebx, eax
test ebx, ebx
je 0x40c1e0
cmp ebx, 0x4d5
je 0x40c252
push ebx
push str.Error_applying_patches_status:_li
call fcn.0041dafb
pop ecx
pop ecx
cmp byte [0x4a03d4], 0
je 0x40c015
mov ecx, dword [0x4a0330]
call fcn.0041d57e
mov ebx, eax
test ebx, ebx
je 0x40c21a
push ebx
push str.Cannot_download_update_descriptor_status:_li
call fcn.0041dafb
pop ecx
mov ecx, dword [0x4a0304]
push 0x1e
pop edx
call fcn.004253f3
jmp 0x40c251
cmp dword [0x4a046c], 0
jne 0x40c22f
push str.No_update_available
call fcn.0041dafb
jmp 0x40c251
mov ecx, dword [ebp - 0x40]
call fcn.004325dd
mov ebx, eax
test ebx, ebx
je 0x40c252
cmp ebx, 0x4d5
je 0x40c252
push ebx
push str.Error_applying_patches_status:_li
call fcn.0041dafb
pop ecx
pop ecx
cmp byte [0x4a03d4], 0
je 0x40bb2b
cmp byte [ebp - 0xf], 0
jne 0x40bb2b
cmp byte [ebp - 0x10], 0
jne 0x40bb2b
cmp byte [ebp - 0x16], 0
jne 0x40bb2b
call fcn.0040b485
jmp 0x40bb2b