Function at 0x40105a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5634bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x874
mov dword [ebp - 0x858], ecx
mov ecx, dword [ebp - 0x858]
call fcn.0040147e
and eax, 0xff
test eax, eax
jne 0x40109c
mov eax, 1
jmp 0x40146e
mov byte [ebp - 0x18], 0
push 0x5a9220
lea ecx, [ebp - 0x830]
call fcn.0054d39c
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x860], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x860]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0054d641
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x830]
call fcn.0054d328
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x858]
call fcn.004014ae
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0
jne 0x40112e
mov dword [ebp - 0x834], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x834]
jmp 0x40146e
push 0x5a9238
lea ecx, [ebp - 0x838]
call fcn.0054d39c
mov dword [ebp - 0x864], eax
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x868], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x868]
push eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, dword [ebp - 0x858]
call fcn.00401e4f
mov dword [ebp - 0x86c], eax
mov edx, dword [ebp - 0x86c]
mov dword [ebp - 0x870], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x870]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0054d567
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x83c]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x838]
call fcn.0054d328
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x828]
push eax
mov ecx, dword [ebp - 0x858]
call fcn.00401566
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x858]
call fcn.00401c61
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x858]
call fcn.00401676
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x820]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
je 0x401252
mov dword [ebp - 0x840], 5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x820]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x840]
jmp 0x40146e
mov eax, dword [0x5be480]
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 0xa
push 0x800
push 0
lea ecx, [ebp - 0x81c]
push ecx
call fcn.005370b0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
push 0x800
lea eax, [ebp - 0x81c]
push eax
push str.3.0.0.0
push 0x5a9260
push str.Program
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x824]
call fcn.0054d4bf
push ecx
mov ecx, esp
mov dword [ebp - 0x844], esp
lea edx, [ebp - 0x820]
push edx
call fcn.0054d095
mov dword [ebp - 0x874], eax
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x878], eax
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x848], esp
lea edx, [ebp - 0x824]
push edx
call fcn.0054d095
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp - 0x858]
mov byte [ebp - 4], 0xa
call fcn.004018a5
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 1
je 0x40136c
mov dword [ebp - 0x84c], 6
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x824]
call fcn.0054d328
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x820]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x84c]
jmp 0x40146e
mov eax, dword [0x5be480]
mov dword [ebp - 0x82c], eax
mov byte [ebp - 4], 0xc
push str.An_update_is_now_available._Proceed_with_the_update_
lea ecx, [ebp - 0x82c]
push ecx
call fcn.0054ab7c
add esp, 8
push 0
push 0x21
mov edx, dword [ebp - 0x82c]
push edx
call fcn.00555cac
cmp eax, 2
jne 0x40140a
mov dword [ebp - 0x850], 7
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x82c]
call fcn.0054d328
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x824]
call fcn.0054d328
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x820]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x850]
jmp 0x40146e
mov dword [ebp - 0x854], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x82c]
call fcn.0054d328
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x824]
call fcn.0054d328
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x820]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x854]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4