Function at 0x1002c2c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac910
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100db688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x1002c5bd
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x1002c5bd
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1005c1d0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1002c5db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov esi, dword [esi]
lea ecx, [ebp - 0x10]
push 0x800
push 0x800
mov byte [ebp - 4], 2
call fcn.10020f30
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x100b3628
push esi
push 0x100b3ec8
call edi
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.100887e2
mov edx, eax
add esp, 8
test edx, edx
js 0x1002c5d1
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x1002c5d1
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x1002c3c0
cmp esi, 0x7fe
jne 0x1002c3e8
push dword [ebp - 0x14]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x1000
push 0x1000
mov esi, dword [esi]
call fcn.10020f30
push eax
push 0x100b3628
push esi
push 0x100b3ec8
call edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000b130
mov esi, dword [ebp - 0x20]
add esp, 8
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1002c453
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002c5db
mov ecx, dword [esi]
mov eax, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002c436
test dx, dx
je 0x1002c432
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002c436
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002c410
xor eax, eax
jmp 0x1002c43b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002c448
add esi, 4
cmp esi, edi
jne 0x1002c404
jmp 0x1002c450
cmp esi, edi
jne 0x1002c51b
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0x18], edi
je 0x1002c476
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.10006d00
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x1c], ebx
jmp 0x1002c483
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.10008c10
mov ebx, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x20]
xor eax, eax
sar ebx, 2
lea edi, [ebx - 0xc8]
test edi, edi
cmovle edi, eax
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1002c5e5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 3
cmp edi, ebx
jge 0x1002c4e7
cmp dword [esi - 0xc], 0
je 0x1002c4cd
push 1
push 0x100b3a64
lea ecx, [ebp + 0xc]
call fcn.10011b10
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0xc]
mov eax, dword [eax + edi*4]
push dword [eax - 0xc]
push eax
call fcn.10011b10
mov esi, dword [ebp + 0xc]
inc edi
cmp edi, ebx
jl 0x1002c4b8
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push esi
push dword [eax]
push 0x100b3ec8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002c51e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002c51e
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c53c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x1002c59e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push eax
call fcn.1000b5b0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c57f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c5ef
push edx
push ecx
call fcn.100618fd
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002c5bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
call fcn.10085449
int3