Function at 0x10002170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d977
mov eax, dword fs:[0]
push eax
sub esp, 0xbe4
mov eax, dword [0x1016039c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xbb7
lea ecx, [ebp - 0xbcb]
push 0
push ecx
mov dword [ebp - 0xbe8], eax
mov byte [ebp - 0xbcd], 1
mov dword [ebp - 4], 0
mov byte [ebp - 0xbcc], 0
call fcn.100f7040
mov eax, dword [esi]
add esp, 0xc
push eax
mov eax, dword [0x101618d4]
push 0xbb7
lea edx, [ebp - 0xbcc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x10002212
push 0x1014bf64
lea ecx, [ebp - 0xbf0]
push ecx
mov dword [ebp - 0xbf0], 1
call fcn.100f70ba
lea edx, [ebp - 0xbcc]
mov dword [ebp - 0xbe0], edx
mov edi, edi
mov edi, dword [ebp - 0xbe0]
cmp byte [edi], 0
je 0x1000251c
call fcn.10008288
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10002249
push 0x80004005
call fcn.10001030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbd4], eax
mov byte [ebp - 4], 1
call fcn.10008288
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10002279
push 0x80004005
call fcn.10001030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xbdc], esi
mov byte [ebp - 4], 2
call fcn.10008288
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x100022a9
push 0x80004005
call fcn.10001030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbd8], eax
mov eax, edi
mov byte [ebp - 4], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100022c4
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0xbd4]
call fcn.10001a30
mov ebx, dword [ebp - 0xbd4]
cmp dword [ebx - 0xc], 0
jge 0x100022eb
or eax, 0xffffffff
jmp 0x10002304
push 0x1011cf20
push ebx
call fcn.100f6813
add esp, 8
test eax, eax
jne 0x10002302
or eax, 0xffffffff
jmp 0x10002304
sub eax, ebx
push eax
lea ecx, [ebp - 0xbec]
push ecx
lea ecx, [ebp - 0xbd4]
call fcn.10001840
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
cmp eax, esi
je 0x10002378
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10002368
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10002368
push eax
call fcn.10001210
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10002357
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0xbdc], ebx
mov ebx, dword [ebp - 0xbd4]
jmp 0x10002378
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0xbdc]
call fcn.10001a30
mov eax, dword [ebp - 0xbec]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000239e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jge 0x100023a9
or eax, 0xffffffff
jmp 0x100023c2
push 0x1011cf20
push ebx
call fcn.100f6813
add esp, 8
test eax, eax
jne 0x100023c0
or eax, 0xffffffff
jmp 0x100023c2
sub eax, ebx
inc eax
push eax
lea ecx, [ebp - 0xbe4]
push ecx
lea ecx, [ebp - 0xbd4]
call fcn.10001c50
mov ecx, dword [eax]
mov esi, dword [ebp - 0xbd8]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
cmp eax, esi
je 0x1000243d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1000242d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1000242d
push eax
call fcn.10001210
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1000241c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0xbd8], ebx
mov ebx, dword [ebp - 0xbd4]
jmp 0x1000243d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0xbd8]
call fcn.10001a30
mov eax, dword [ebp - 0xbe4]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xbe8]
lea ecx, [ebp - 0xbd8]
push ecx
lea edx, [ebp - 0xbdc]
push edx
push eax
call fcn.10001770
mov eax, dword [ebp - 0xbd8]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100024a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xbdc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100024cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100024ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0xbe0]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100024f7
sub eax, edx
lea ecx, [esi + eax + 1]
mov dword [ebp - 0xbe0], ecx
jmp 0x10002220
mov al, byte [ebp - 0xbcd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f6fd5
mov esp, ebp
pop ebp
ret