Function at 0x1001f9ce
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1001f9f6
push 0
push 0xec
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1001fbd9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1001fa8d
mov dword [ebp - 0x2c], 1
jmp 0x1001fa91
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
sub eax, 0x192ab139
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10018d20
cmp dword [eax], 0xffffffff
jne 0x1001fabb
mov dword [ebp - 0x10], 1
jmp 0x1001fabf
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0x6689
jle 0x1001fad9
mov dword [ebp - 0x1c], 1
jmp 0x1001fadd
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jne 0x1001faf0
mov dword [ebp - 0x20], 1
jmp 0x1001faf4
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10018d20
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jle 0x1001fb0d
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1001fb1e
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1001fb1e
mov dword [ebp - 0x28], 1
jmp 0x1001fb22
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c]
neg eax
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jge 0x1001fb4f
mov dword [ebp - 0x30], 1
jmp 0x1001fb53
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10018d20
mov esi, dword [eax]
neg esi
push 2
mov ecx, dword [ebp - 8]
call fcn.10018d20
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
cmp esi, ecx
jg 0x1001fb80
mov dword [ebp - 0x34], 1
jmp 0x1001fb84
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 1
jne 0x1001fb93
mov dword [ebp - 0x38], 1
jmp 0x1001fb97
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x1001fbaa
mov dword [ebp - 0x3c], 1
jmp 0x1001fbae
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x1001fbc1
mov dword [ebp - 0x44], 1
jmp 0x1001fbc5
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
add esi, dword [ebp - 0x44]
push 2
mov ecx, dword [ebp - 0x78]
call fcn.10018d20
mov dword [eax], esi
pop esi
mov esp, ebp
pop ebp
ret