Function at 0x100125f8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100127c8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1001275e
mov eax, 0x298c
test eax, eax
je 0x100126d6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10012688
mov dword [ebp - 0xc], 1
jmp 0x1001268c
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x58]
cmp ecx, dword [eax]
jne 0x100126ac
mov dword [ebp - 0x10], 1
jmp 0x100126b0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
imul eax, eax, 0xfffb
mov ecx, dword [ebp - 8]
add eax, dword [ecx]
je 0x100126d6
mov dword [ebp - 0x1c], 1
jmp 0x100126da
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
jne 0x100126ef
or eax, 0xffffffff
jne 0x100126ef
and dword [ebp - 0x64], 0
jmp 0x100126f6
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x67d5b44
jle 0x10012712
mov dword [ebp - 0x24], 1
jmp 0x10012716
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xc77e
jg 0x10012728
mov dword [ebp - 0x28], 1
jmp 0x1001272c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x1001273f
mov dword [ebp - 0x14], 1
jmp 0x10012743
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x68]
call fcn.10015ff8
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0
jne 0x1001275e
and dword [ebp - 0x2c], 0
jmp 0x10012765
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 4
jne 0x10012776
xor eax, eax
inc eax
jne 0x10012776
and dword [ebp - 0x30], 0
jmp 0x1001277d
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0x50eb
jg 0x1001278f
mov dword [ebp - 0x34], 1
jmp 0x10012793
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xffffffff
jl 0x100127a6
push 9
pop eax
test eax, eax
jne 0x100127a6
and dword [ebp - 0x38], 0
jmp 0x100127ad
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
add eax, 0x14e
mov ecx, dword [ebp - 0x18]
imul eax, dword [ecx]
imul eax, eax, 0xfff7
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x100127e9
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100127e9
push 0
push 0x1375
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, ebp
pop ebp
ret