Function at 0x100018e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008a6c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x1000c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
mov dword [ebp - 0x81c], 0x1000c450
call edx
add eax, 0x10
mov dword [0x1000c454], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
call edx
add eax, 0x10
mov dword [0x1000c458], eax
mov byte [ebp - 4], 1
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
call edx
add eax, 0x10
mov dword [0x1000c460], eax
mov byte [ebp - 4], 2
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
call edx
add eax, 0x10
mov dword [0x1000c464], eax
mov byte [ebp - 4], 3
mov eax, dword [0x1000c028]
mov edx, dword [eax + 0xc]
mov ecx, 0x1000c028
call edx
add eax, 0x10
mov dword [0x1000c478], eax
mov byte [ebp - 4], 4
lea esi, [ebp - 0x814]
mov dword [0x1000c45c], edi
mov dword [0x1000c450], edi
call fcn.10004960
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov esi, dword [0x1000c460]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x10001a1d
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jl 0x10001a0d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10001a0d
call fcn.100062b0
mov dword [ebp - 0x818], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x100019fc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x818]
add ecx, 0x10
mov dword [0x1000c460], ecx
jmp 0x10001a1d
mov edi, dword [ecx - 0xc]
push ecx
mov ebx, 0x1000c460
call fcn.10006120
xor edi, edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001a43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x818]
push 0x1000c460
push ecx
mov ebx, 0x100094b8
call fcn.100058b0
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [0x1000c464]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x10001ac2
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jl 0x10001ab2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10001ab2
call fcn.100062b0
mov dword [ebp - 0x814], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10001aa1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x814]
add ecx, 0x10
mov dword [0x1000c464], ecx
jmp 0x10001ac2
mov edi, dword [ecx - 0xc]
push ecx
mov ebx, 0x1000c464
call fcn.10006120
xor edi, edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x818]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001ae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x7fc
lea ecx, [ebp - 0x80c]
push edi
push ecx
mov dword [0x1000c468], edi
mov dword [0x1000c46c], edi
mov dword [ebp - 0x810], edi
call sub.MSVCR100.dll_memset
mov edx, dword [0x1000c464]
add esp, 0xc
push edx
push 0x7ff
lea eax, [ebp - 0x810]
push eax
push edi
push 0x100094dc
push 0x100094e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x1000c468
push 0xa
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov eax, 0x1000c464
mov dword [0x1000c470], edi
mov dword [0x1000c474], edi
call fcn.100048e0
mov esi, eax
or eax, edx
jne 0x10001b6a
mov esi, 0x2800
xor edx, edx
mov ebx, dword [0x1000c464]
add esi, 1
adc edx, edi
cmp esi, edi
jge 0x10001b83
push 0x80070057
call fcn.10001020
mov eax, dword [0x1000c478]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x10001baa
mov eax, esi
mov ecx, 0x1000c478
call fcn.10006250
mov eax, dword [0x1000c478]
push ebx
push esi
push eax
push edi
push 0x100094f0
push 0x100094e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [0x1000c478]
mov ecx, dword [eax - 8]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
cmp eax, edi
jl 0x10001b79
mov ecx, dword [0x1000c478]
cmp eax, dword [ecx - 8]
jg 0x10001b79
mov dword [ecx - 0xc], eax
mov edx, dword [0x1000c478]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, 0x1000c450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000747e
mov esp, ebp
pop ebp
ret