Function at 0x40e930
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x250
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.CompsVer.inf
push 0x43ae74
lea eax, [esp + 0x5c]
push str._s_s
push eax
call fcn.00426b7c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], bl
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [esp + 0x158]
stosw word es:[edi], ax
push str.CompsVer.inf
push 0x439fba
push str._s_s
push ecx
stosb byte es:[edi], al
call fcn.00426b7c
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x54]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x38]
push 0x20
push eax
push 0x43965c
push str.Version
push str.UPDATE
call esi
lea ecx, [esp + 0x158]
lea edx, [esp + 0x14]
push ecx
push 0x20
push edx
push 0x43965c
push str.Version
push str.UPDATE
call esi
lea esi, [esp + 0x14]
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ea3b
cmp cl, bl
je 0x40ea37
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ea3b
add eax, 2
add esi, 2
cmp cl, bl
jne 0x40ea17
xor eax, eax
jmp 0x40ea40
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x40eb58
mov eax, dword [0x4350b8]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0x75
push ecx
mov dword [esp + 0x18], eax
call fcn.00422b30
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00401ff0
mov ecx, dword [esp + 0x20]
push ebx
push 0x40024
push ecx
call fcn.00422db0
add esp, 0x20
cmp eax, 7
mov eax, dword [esp + 0x10]
jne 0x40eb00
mov ecx, dword [0x4350bc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40eac9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40eac9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40eaf4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40eaf4
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x250
ret
mov edx, dword [0x4350bc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40eb2d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40eb2d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40eb58
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40eb58
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x250
ret