Function at 0x1001b988
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001bc49
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x1001bc3b
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1001bc24
push 0
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x1001ba61
push 5
pop eax
test eax, eax
je 0x1001ba61
mov dword [ebp - 0x18], 1
jmp 0x1001ba65
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
je 0x1001ba82
mov dword [ebp - 0x6c], 1
jmp 0x1001ba86
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1001baa5
mov dword [ebp - 0x1c], 1
jmp 0x1001baa9
and dword [ebp - 0x1c], 0
imul esi, dword [ebp - 0x1c], 0xfc16
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
imul esi, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp esi, dword [eax]
jl 0x1001bae9
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1001bae9
and dword [ebp - 0x24], 0
jmp 0x1001baf0
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0xc3b0
jge 0x1001bb02
mov dword [ebp - 0x28], 1
jmp 0x1001bb06
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1001bb1d
mov eax, 0xc5ce
test eax, eax
jne 0x1001bb1d
and dword [ebp - 0x2c], 0
jmp 0x1001bb24
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x1001bb37
mov dword [ebp - 0x10], 1
jmp 0x1001bb3b
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0x70]
call fcn.10015ff8
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jle 0x1001bb5d
mov dword [ebp - 0x74], 1
jmp 0x1001bb61
and dword [ebp - 0x74], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
xor eax, eax
je 0x1001bb87
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x1001bb87
mov dword [ebp - 0x30], 1
jmp 0x1001bb8b
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jle 0x1001bba5
mov dword [ebp - 0x34], 1
jmp 0x1001bba9
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x1001bbbc
mov dword [ebp - 0x3c], 1
jmp 0x1001bbc0
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x1001bbd3
mov dword [ebp - 0x40], 1
jmp 0x1001bbd7
and dword [ebp - 0x40], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jl 0x1001bbf1
mov dword [ebp - 0x44], 1
jmp 0x1001bbf5
and dword [ebp - 0x44], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10015ff8
mov ecx, dword [ebp - 0x44]
imul ecx, dword [eax]
test ecx, ecx
je 0x1001bc24
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015ff8
cmp dword [eax], 0
je 0x1001bc24
mov dword [ebp - 0x48], 1
jmp 0x1001bc28
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x48]
jge 0x1001bc3b
mov dword [ebp - 0x4c], 1
jmp 0x1001bc3f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x1001bc5e
push 0
push 0x1375
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop esi
mov esp, ebp
pop ebp
ret