Function at 0x416871
Capabilities:
Read .ini file

Disassembly:
push 0x64
mov eax, 0x466897
call fcn.00463b20
mov dword [ebp - 0x3c], edx
mov esi, ecx
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push str.EvaluateIniCondition
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], ebx
call fcn.0041bb53
mov dword [ebp - 4], ebx
call fcn.004068d0
push eax
lea ecx, [ebp - 0x24]
call fcn.00405f99
mov byte [ebp - 4], 2
call fcn.004068d0
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f99
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], ebx
call fcn.004068d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405f99
mov byte [ebp - 4], 6
call fcn.004068d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f99
mov byte [ebp - 4], 8
call fcn.004068d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00405f99
mov byte [ebp - 4], 0xa
call fcn.004068d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00405f99
mov byte [ebp - 4], 0xc
call fcn.004068d0
push eax
lea ecx, [ebp - 0x30]
call fcn.00405f99
mov byte [ebp - 4], 0xe
call fcn.004068d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f99
mov byte [ebp - 4], 0x10
test esi, esi
jne 0x41693d
push 0x57
pop esi
mov dword [ebp - 0x18], esi
jmp 0x416c10
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00408222
lea eax, [ebp - 0x14]
mov edi, 0x47a524
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp dword [ebp - 0x14], 0xffffffff
je 0x416932
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040764f
lea ecx, [ebp - 0x1c]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x4169ae
push 0xd
jmp 0x416934
push dword [ebp + 8]
mov dl, 1
lea ecx, [ebp - 0x1c]
push 0
call fcn.0041c6b5
mov esi, eax
mov dword [ebp - 0x18], esi
pop ecx
pop ecx
test esi, esi
jne 0x416c10
lea ecx, [ebp - 0x1c]
call fcn.0041cf88
test al, al
jne 0x416a06
lea eax, [ebp - 0x1c]
mov edx, 0x48bd88
push eax
lea ecx, [ebp - 0x38]
call fcn.0041853b
pop ecx
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
or esi, 0xffffffff
cmp dword [ebp - 0x14], esi
je 0x416932
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040764f
lea ecx, [ebp - 0x2c]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp dword [ebp - 0x14], esi
je 0x416932
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040764f
lea ecx, [ebp - 0x28]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
je 0x4169aa
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp dword [ebp - 0x14], esi
je 0x416932
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040764f
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp dword [ebp - 0x14], esi
je 0x416932
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040764f
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004186c4
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x10]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00406985
cmp dword [ebp - 0x14], esi
je 0x416ba9
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040764f
lea ecx, [ebp - 0x20]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x416ba9
push 0x47a528
lea ecx, [ebp - 0x20]
call fcn.00407923
test eax, eax
jne 0x416932
mov bl, 1
push ecx
lea ecx, [ebp - 0x70]
call fcn.004327b3
mov byte [ebp - 4], 0x1f
mov eax, 0x7fff
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov edi, dword [ebp - 0x2c]
push eax
push eax
call fcn.0040655c
push eax
push dword [ebp - 0x30]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.004327d5
push ecx
lea ecx, [ebp - 0x20]
call fcn.00405ee3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
call fcn.00418937
mov ecx, dword [ebp - 0x3c]
neg eax
sbb al, al
inc al
mov byte [ecx], al
test bl, bl
je 0x416c0d
xor al, 1
mov byte [ecx], al
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041bbc1
mov eax, esi
call fcn.00463ae9
ret