Function at 0x6e1a60
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x7d97ce
push eax
mov eax, 0x216c
mov dword fs:[0], esp
call fcn.007a3530
mov al, byte [0x870c08]
push ebx
push ebp
push esi
mov dword [esp + 0x40], ecx
push edi
mov byte [esp + 0x78], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x8b1594]
test eax, eax
jne 0x6e1aae
mov eax, 0x7e5658
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
lea edx, [esp + 0x78]
push 0x83281c
push edx
call dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0x78]
push eax
push 0
push 0x82d534
push 0x832814
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov ebx, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x17c]
xor esi, esi
mov dword [esp + 0x14], ebx
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x6e1b5e
mov ebx, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea ebp, [esp + 0x17c]
mov cl, byte [0x870c08]
xor eax, eax
mov byte [esp + 0x48], cl
mov ecx, 7
lea edi, [esp + 0x49]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x4c]
push 0x83280c
push edx
stosb byte es:[edi], al
call fcn.007a3155
add esp, 0xc
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
push 0x20
push ebp
push 0x870c08
push ecx
push 0x832814
call ebx
mov eax, dword [esp + 0x14]
inc esi
add ebp, 0x20
cmp esi, eax
jl 0x6e1b0a
mov ebx, eax
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6c], dl
call fcn.00404e60
lea eax, [esp + 0x68]
mov dword [esp + 0x2184], 0
push eax
push 0x19d1
call fcn.00709cc0
mov cl, byte [esp + 0x1b]
add esp, 8
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
push 0
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00401b40
test al, al
je 0x6e1be5
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00405070
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push esi
push 7
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0x219c], 1
call fcn.00763d10
add esp, 0x18
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2188], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x2188], 0
call fcn.00404e60
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
call fcn.007a34fc
add esp, 4
cmp ebx, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
jle 0x6e1cb1
lea ecx, [ebx*4]
push ecx
call fcn.007a2d8d
add esp, 4
cmp eax, esi
mov dword [esp + 0x2c], eax
je 0x6e1dc8
mov ebp, eax
jmp 0x6e1c78
mov ebx, dword [esp + 0x14]
cmp esi, ebx
jge 0x6e1dc8
xor bl, bl
call fcn.007a3509
cdq
idiv dword [esp + 0x14]
test esi, esi
mov edi, edx
jle 0x6e1ca8
mov eax, dword [esp + 0x2c]
mov ecx, esi
cmp dword [eax], edi
jne 0x6e1c9e
mov bl, 1
add eax, 4
dec ecx
jne 0x6e1c98
test bl, bl
jne 0x6e1c74
mov dword [ebp], edi
inc esi
add ebp, 4
jmp 0x6e1c74
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
call fcn.00404e60
mov edi, 0x8327f8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00401b40
test al, al
je 0x6e1d09
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
mov esi, 0x8327f8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [ecx + ebp], 0
mov dl, byte [esp + 0x13]
mov byte [esp + 0x2184], 3
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
call fcn.00404e60
mov edi, 0x8327e8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x34]
push ebp
call fcn.00401b40
test al, al
je 0x6e1d6a
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov eax, ecx
mov esi, 0x8327e8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ebp
mov byte [ecx + ebp], 0
push 0
push 1
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x219c], 4
call fcn.00763d10
add esp, 0x18
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2188], 4
call fcn.00404e60
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2188], 3
call fcn.00404e60
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x2188], 0
call fcn.00404e60
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x18], ebp
jle 0x6e1fd2
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6e1e4b
mov eax, dword [edi]
test eax, eax
jl 0x6e1e4b
shl eax, 5
lea esi, [esp + eax + 0x17c]
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x6e1e4b
mov edx, dword [0x8b1a40]
mov ecx, dword [0x9eba54]
push 0x3afc
push esi
push edx
call fcn.00462c20
test eax, eax
mov dword [esp + 0x40], eax
je 0x6e1e2e
inc ebp
add edi, 4
cmp ebp, ebx
jl 0x6e1dda
mov dword [esp + 0x18], ebp
jmp 0x6e1fd2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ebp
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x6e1fd2
call fcn.006f9190
jmp 0x6e1fd2
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebp
call fcn.00404e60
mov edi, 0x8327f8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00401b40
test al, al
je 0x6e1ea8
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x8327f8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], 0
mov cl, byte [esp + 0x13]
mov bl, 6
mov byte [esp + 0x2184], bl
xor esi, esi
mov byte [esp + 0x30], cl
push esi
lea ecx, [esp + 0x34]
call fcn.00404e60
mov edi, 0x8327e8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x34]
push ebp
call fcn.00401b40
test al, al
je 0x6e1f0d
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
mov esi, 0x8327e8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebp
xor esi, esi
mov byte [eax + ebp], 0
push esi
push 1
lea ecx, [esp + 0x24]
push esi
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x219c], 7
call fcn.00763d10
add esp, 0x18
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x2184], 7
cmp eax, esi
je 0x6e1f5d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6e1f54
cmp al, 0xff
je 0x6e1f54
dec al
mov byte [ecx], al
jmp 0x6e1f5d
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
cmp ecx, esi
mov byte [esp + 0x2184], bl
je 0x6e1f93
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x6e1f8a
cmp al, 0xff
je 0x6e1f8a
dec al
mov byte [ecx], al
jmp 0x6e1f93
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
cmp ecx, esi
mov byte [esp + 0x2184], 0
je 0x6e1fca
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x6e1fc1
cmp al, 0xff
je 0x6e1fc1
dec al
mov byte [ecx], al
jmp 0x6e1fca
push ecx
call fcn.007a02e0
add esp, 4
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp ebp, ebx
jne 0x6e2070
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov byte [0x9ebaf4], 0
call fcn.00404e60
mov edi, 0x8327d8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00401b40
test al, al
je 0x6e203a
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x8327d8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x40]
push 1
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x2190], 9
call fcn.00765280
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2184], 0
push 1
call fcn.00404e60
mov byte [0x9ebaf4], 1
lea eax, [esp + 0x68]
push eax
call fcn.00763d80
add esp, 4
test ebx, ebx
pop edi
pop esi
pop ebp
pop ebx
jle 0x6e2092
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2174], 0xffffffff
test ecx, ecx
je 0x6e20d4
mov al, byte [ecx - 1]
test al, al
je 0x6e20ca
cmp al, 0xff
je 0x6e20ca
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x216c]
mov dword fs:[0], ecx
add esp, 0x2178
ret
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x216c]
mov dword fs:[0], ecx
add esp, 0x2178
ret