Function at 0x6d1c64ea
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6d1c8f09
call fcn.6d1c81f0
sub esp, 0x88
mov eax, dword [ebp + 0x20]
and byte [eax], 0
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x18]
push 0x6d1c1168
mov dword [ebp - 0x10], esi
call fcn.6d1c305d
mov ecx, dword [ebp + 0x1c]
call fcn.6d1c395e
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
cmp eax, ecx
je 0x6d1c6548
lea ecx, [esi + 0xbc]
cmp dword [ebp + 0x1c], ecx
jne 0x6d1c653a
and dword [eax + 8], 0
jmp 0x6d1c653e
and dword [eax + 0xc], 0
mov eax, dword [eax]
cmp eax, dword [esi + 0xe0]
jne 0x6d1c652f
mov eax, dword [ebp + 0x24]
xor edi, edi
cmp eax, edi
je 0x6d1c6558
or dword [eax], 0xffffffff
or dword [eax + 4], 0xffffffff
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xffffffffffffffff
push 0x6d1c1584
mov esi, 0x6d1c156c
push esi
call ebx
cmp eax, 0x800
jne 0x6d1c685e
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x54]
call fcn.6d1c2d41
push edi
lea eax, [ebp - 0x54]
push eax
push 0x6d1c155c
push esi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call fcn.6d1c6179
mov eax, dword [ebp - 0x50]
mov esi, dword [eax]
cmp esi, eax
je 0x6d1c6845
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.6d1c390c
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x28], al
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
mov byte [ebp - 4], 2
jne 0x6d1c65d5
mov eax, 0x6d1c1168
push dword [ebp + 8]
push edi
push 0x6d1c1554
push eax
call ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x6d1c65f0
mov eax, 0x6d1c1168
push dword [ebp + 8]
push edi
push 0x6d1c154c
push eax
call ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x6d1c660b
mov eax, 0x6d1c1168
push edi
push 0x6d1c11b0
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.6d1c47ab
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], edi
je 0x6d1c6641
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x6d1c6641
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 0x10]
jne 0x6d1c663d
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x14]
je 0x6d1c6678
cmp eax, edi
jne 0x6d1c6650
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.6d1c2418
test eax, eax
je 0x6d1c6678
mov esi, dword [esi]
push 1
lea ecx, [ebp - 0x28]
call fcn.6d1c2261
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x38]
call fcn.6d1c2261
cmp esi, dword [ebp - 0x50]
jne 0x6d1c65aa
jmp 0x6d1c6845
mov esi, dword [ebp + 0x18]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.6d1c37a6
cmp dword [ebp + 0x24], edi
je 0x6d1c66b1
mov ecx, dword [ebp + 0x28]
cmp ecx, edi
je 0x6d1c66b1
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x6d1c66a1
mov eax, 0x6d1c1168
add ecx, 0x14
push ecx
push eax
push dword [ebp + 8]
push dword [ebp + 0x24]
call fcn.6d1c5195
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x60]
call fcn.6d1c2d41
mov eax, dword [ebp - 0x34]
cmp eax, edi
mov byte [ebp - 4], 3
jne 0x6d1c66cd
mov eax, 0x6d1c1168
push 1
lea ecx, [ebp - 0x60]
push ecx
push 0x6d1c1538
push eax
push dword [ebp + 8]
call fcn.6d1c6179
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax]
cmp edi, eax
mov dword [ebp + 0x24], edi
je 0x6d1c6823
jmp 0x6d1c66f6
mov edi, dword [ebp + 0x24]
lea esi, [edi + 8]
push esi
lea ecx, [ebp - 0x48]
call fcn.6d1c390c
lea ecx, [ebp - 0x94]
call fcn.6d1c2c14
and dword [ebp - 0x94], 0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.6d1c37a6
mov eax, dword [ebp - 0x44]
or dword [ebp - 0x64], 0xffffffff
and dword [ebp - 0x6c], 0
and dword [ebp - 0x70], 0
test eax, eax
mov esi, 0x6d1c1168
jne 0x6d1c6742
mov eax, esi
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x6d1c11dc
push eax
call ebx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x6d1c675b
mov eax, esi
push dword [ebp + 8]
push 0
push 0x6d1c11bc
push eax
call ebx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x6d1c6774
mov eax, esi
push dword [ebp + 8]
push 0
push 0x6d1c11c8
push eax
call ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
mov esi, dword [eax]
cmp esi, eax
je 0x6d1c67fc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x94]
push eax
lea edi, [esi + 8]
push edi
call fcn.6d1c1ca7
test al, al
je 0x6d1c67ec
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x94]
push edx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.6d1c6071
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x10]
add eax, 0xbc
cmp ecx, eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
jne 0x6d1c67e6
add eax, 8
mov dword [edi], eax
jmp 0x6d1c67ec
add eax, 8
mov dword [esi + 0xc], eax
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 0xe0]
jne 0x6d1c6793
mov edi, dword [ebp + 0x24]
mov edi, dword [edi]
lea ecx, [ebp - 0x94]
mov dword [ebp + 0x24], edi
call fcn.6d1c2c3c
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.6d1c2261
cmp edi, dword [ebp - 0x5c]
jne 0x6d1c66f3
lea ecx, [ebp - 0x60]
call fcn.6d1c399d
push 1
lea ecx, [ebp - 0x28]
call fcn.6d1c2261
push 1
lea ecx, [ebp - 0x38]
call fcn.6d1c2261
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
lea ecx, [ebp - 0x54]
call fcn.6d1c399d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x24
cmp eax, 0xffffffff
je 0x6d1c684d
push 0x8004060a
lea ecx, [ebp - 0x48]
call fcn.6d1c19d7
push 0x6d1c90f4
lea eax, [ebp - 0x48]
push eax
call sub.msvcrt.dll__CxxThrowException
int3