Function at 0x1003f148
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aab4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003f2f6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1003f1c1
mov byte [ebp - 0x11], 0
push 1
push 0x3e80
push 0x53f
push 0x2a0
push 1
push 0x43a3
lea eax, [ebp - 0x11]
push eax
push 1
call fcn.1003afe9
add esp, 0x20
jmp 0x1003f2f1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 0x26b1
mov dword [ebp - 0x48], 0x10008dd8
cmp dword [ebp - 0x30], 0x272b
jle 0x1003f278
and dword [ebp - 0x28], 0
jmp 0x1003f1fb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x43f6
jge 0x1003f278
and dword [ebp - 0x20], 0
jmp 0x1003f211
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3262
jge 0x1003f273
and dword [ebp - 0x24], 0
jmp 0x1003f227
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2445
jge 0x1003f271
and dword [ebp - 0x2c], 0
jmp 0x1003f23d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7d98
jge 0x1003f26f
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sar eax, cl
mov ecx, dword [ebp - 0x2c]
shl eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x10612298
call fcn.1001691a
jmp 0x1003f236
jmp 0x1003f220
jmp 0x1003f20a
jmp 0x1003f1f4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x24e9
jge 0x1003f298
mov edx, dword [ebp - 0x48]
mov ecx, 0x10612298
call fcn.1001b11e
jmp 0x1003f2b4
or dword [ebp - 4], 0xffffffff
jmp 0x1003f2be
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003f2d4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1003f2f1
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.10016ca1
mov dword [eax], 5
jmp 0x1003f2c9
jmp 0x1003f37c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1003f35f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1003f340
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 3
jge 0x1003f35d
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.10016ca1
mov dword [eax], 0x7571177e
jmp 0x1003f335
jmp 0x1003f37c
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1003f37c
push 0
push 0x168c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret