Function at 0x1004ff50
Capabilities:
Read .ini file

Disassembly:
push ebx
push 2
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
mov ebx, 1
test al, al
jne 0x10050651
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x39
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x48
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push ebx
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 2
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 3
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 4
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 5
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 6
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 7
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 8
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 9
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0xb
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0xe
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0xf
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x13
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x14
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x15
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x16
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x17
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x18
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x19
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x1a
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x1d
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x1e
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x20
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x22
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x23
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x24
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x27
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x39
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x3a
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x3b
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x3c
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x3d
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x42
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x44
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x45
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x46
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x48
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x49
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4a
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4b
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4c
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4d
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4e
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
push 0x4f
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10050651
cmp byte [0x10129d55], al
jne 0x10050651
cmp byte [0x1012a815], al
jne 0x10050651
cmp byte [0x10124295], al
jne 0x10050651
cmp byte [0x10127415], al
jne 0x10050651
cmp byte [0x101277d5], bl
je 0x10050651
cmp byte [0x10127d15], bl
je 0x10050651
cmp byte [0x1012cb55], al
jne 0x10050651
cmp byte [0x10124f55], al
jne 0x10050651
cmp byte [0x1012a0d5], al
jne 0x10050651
cmp byte [0x1012a115], al
jne 0x10050651
cmp byte [0x1012aad5], al
jne 0x10050651
cmp byte [0x10127315], al
jne 0x10050651
cmp byte [0x1012bf55], al
jne 0x10050651
cmp byte [0x1012c095], al
jne 0x10050651
cmp byte [0x105d0699], bl
je 0x10050651
mov eax, dword [0x108eb414]
mov ecx, dword [0x108eb410]
push 0xaa
push 0xaa
push eax
push ecx
mov edx, 0x790b10
call edx
add esp, 0x10
test al, al
jne 0x10050651
lea eax, [ebx + 0x22]
mov ecx, 0x10123c90
call fcn.10051040
test al, al
jne 0x10050651
push 0x19
push 0x28
push 0x8c
push 5
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
jne 0x10050651
push 0x28
push 0x28
push 0x19
push 0x41
mov ecx, 0x790b10
call ecx
add esp, 0x10
test al, al
jne 0x10050651
push 0x28
push 0x28
push 0x19
push 0x5a
mov edx, 0x790b10
call edx
add esp, 0x10
test al, al
jne 0x10050651
push 0x28
push 0x28
push 0x19
push 0x78
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
jne 0x10050651
push 0x1e
push 0x280
push 0
push 0
mov ecx, 0x790b10
call ecx
add esp, 0x10
test al, al
jne 0x10050651
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.._Data_Custom_S2_Settings.ini
push 0
push 0x100b388c
push str.NUTBAUCUA
call esi
push eax
push str.._Data_Custom_S2_Settings.ini
push 0
push 0x100b389c
push str.NUTBAUCUA
call esi
push eax
push str.._Data_Custom_S2_Settings.ini
push 0
push 0x100b38a0
push str.NUTBAUCUA
call esi
push eax
push str.._Data_Custom_S2_Settings.ini
push 0
push 0x100b38a4
push str.NUTBAUCUA
call esi
push eax
mov edx, 0x790b10
call edx
add esp, 0x10
pop esi
test al, al
jne 0x10050651
mov dword [0xe8cb3c], 0
pop ebx
ret
mov dword [0xe8cb3c], ebx
mov al, bl
pop ebx
ret