Function at 0x10006f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10023c60
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100385e0]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100385e0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 0xc
mov esi, ecx
push str.Achievement_
push ebx
mov dword [esp + 0x1c], esi
call fcn.10011bd2
add esp, 0xc
xor edi, edi
test eax, eax
jne 0x10006f80
push 0xa
lea eax, [ebx + 0xc]
push edi
push eax
call fcn.10011e50
add esp, 0xc
cmp eax, 0x20
jbe 0x10006f80
mov byte [esi], 0
xor al, al
jmp 0x10007157
mov eax, ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006f96
sub eax, edx
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x20]
call fcn.10003e90
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x70], edi
call fcn.10007180
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x1c], edi
push edx
lea edi, [esp + 0x20]
call fcn.10007320
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esp + 0x68], 0xffffffff
sete byte [esp + 0xf]
cmp dword [esp + 0x34], 0x10
jb 0x10007004
mov eax, dword [esp + 0x20]
push eax
call fcn.10010f71
add esp, 4
cmp byte [esp + 0xf], 0
je 0x100070f8
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 0x1003be98
push 1
push edi
push ebx
push str.State
call esi
test eax, eax
je 0x1000704a
push 0x1003be98
push 4
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.Time
call esi
test eax, eax
setne al
test al, al
jne 0x100070a5
mov eax, ebx
mov byte [edi], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007067
sub eax, edx
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x20]
call fcn.10003e90
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 1
call fcn.10002a90
mov byte [eax], 0
cmp dword [esp + 0x34], 0x10
jb 0x10007155
mov edx, dword [esp + 0x20]
jmp 0x1000714c
mov eax, ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100070c0
sub eax, edx
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x20]
call fcn.10003e90
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 2
call fcn.10002a90
mov cl, byte [edi]
mov byte [eax], cl
cmp dword [esp + 0x34], 0x10
jb 0x10007155
mov edx, dword [esp + 0x20]
jmp 0x1000714c
mov eax, ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007112
sub eax, edx
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x3c]
call fcn.10003e90
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 3
call fcn.10002a90
cmp dword [esp + 0x50], 0x10
mov al, byte [eax]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
jb 0x10007155
mov edx, dword [esp + 0x3c]
push edx
call fcn.10010f71
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10010f62
mov esp, ebp
pop ebp
ret