Function at 0x1000ed0f
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x114
mov eax, 0x1004f123
call fcn.10035b95
mov esi, ecx
mov dword [ebp - 0x8c], esi
add esi, 0x20
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x98], esi
jb 0x1000ed3a
mov eax, dword [esi + 4]
jmp 0x1000ed3d
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000edfa
cmp dword [esi + 0x18], 8
jb 0x1000ed57
mov eax, dword [esi + 4]
jmp 0x1000ed5a
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000edfa
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 4], ebx
jmp 0x1000edad
cmp dword [ebp - 0x84], ebx
je 0x1000ed96
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x84], ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x88]
cmp dword [ebp - 0x88], 5
jge 0x1000ede6
mov ecx, esi
lea edi, [ebp - 0x84]
call fcn.10012f72
test eax, eax
je 0x1000ed7c
mov edi, 0xfffe
push edi
call fcn.1003220e
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0xa8], eax
call fcn.10035680
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000ee02
mov eax, dword [esi + 4]
jmp 0x1000ee05
cmp dword [ebp - 0x84], ebx
je 0x1000edfa
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.10035c18
ret
lea eax, [esi + 4]
mov edi, dword [ebp - 0xa8]
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebp - 0x88], edi
cmp word [edi], bx
je 0x1000f054
jmp 0x1000ee31
mov esi, dword [ebp - 0x98]
xor ebx, ebx
lea eax, [ebp - 0x104]
push eax
call fcn.1000fa4e
mov edi, 0x2000
push edi
mov byte [ebp - 4], 1
call fcn.1003220e
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0xa0], eax
call fcn.10035680
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000ee69
mov esi, dword [esi + 4]
jmp 0x1000ee6c
add esi, 4
push esi
mov esi, dword [ebp - 0xa0]
push 0x1000
push esi
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x1000ef9a
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002648
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.1000b822
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ef6a
push edi
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100026b7
push 0xffffffffffffffff
inc edi
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.100026b7
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], 0x20
je 0x1000eeef
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.100029d6
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100029d6
jmp 0x1000ef6a
lea edi, [ebp - 0x64]
lea ecx, [ebp - 0xe4]
call fcn.10012aa3
mov dword [ebp - 0x90], eax
lea edi, [ebp - 0x48]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.10012aa3
push eax
lea ebx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.1000fa87
push 0xffffffffffffffff
xor edi, edi
push edi
push dword [ebp - 0x90]
mov ecx, eax
call fcn.10003637
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xc8]
call fcn.1000383a
push edi
push ebx
lea ecx, [ebp - 0xe4]
call fcn.1000383a
push edi
push ebx
lea ecx, [ebp - 0x64]
call fcn.100029d6
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.100029d6
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.100029d6
push esi
lea ecx, [ebp - 0xe4]
call fcn.10002648
mov eax, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0xe4]
lea esi, [esi + eax*2 + 2]
call fcn.100029d6
cmp word [esi], bx
jne 0x1000ee8a
push dword [ebp - 0x88]
lea ecx, [ebp - 0x48]
call fcn.10002648
lea edi, [ebp - 0x48]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 7
call fcn.10012aa3
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x104]
push ecx
push ecx
push eax
mov byte [ebp - 4], 8
call fcn.1000f8c6
pop ecx
mov esi, eax
call fcn.1000eb10
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000383a
push ebx
push 1
mov ecx, edi
call fcn.100029d6
push dword [ebp - 0xa0]
call fcn.1003323b
pop ecx
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], bl
call fcn.1000fb60
mov esi, dword [ebp - 0x88]
push esi
lea ecx, [ebp - 0x120]
call fcn.10002648
mov eax, dword [eax + 0x14]
push ebx
lea esi, [esi + eax*2 + 2]
push 1
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x88], esi
call fcn.100029d6
cmp word [esi], bx
jne 0x1000ee29
mov edi, dword [ebp - 0xa8]
cmp dword [ebp - 0x84], ebx
je 0x1000f06e
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x84], ebx
push edi
call fcn.1003323b
lea ecx, [ebp - 0x80]
mov dword [esp], 0x1005450e
call fcn.100039b0
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea edi, [ebp - 0xac]
lea esi, [ebp - 0x9c]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], eax
call fcn.1001a036
test al, al
jne 0x1000f165
call fcn.10006d58
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx]
add eax, 0x1c
mov eax, dword [eax]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], eax
lea esi, [ebp - 0x9c]
call fcn.10006d58
mov ecx, dword [eax + 0x34]
add eax, 0x1c
mov eax, dword [eax]
lea edi, [ebp - 0xa4]
lea esi, [ebp - 0x94]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], eax
call fcn.1001a036
test al, al
jne 0x1000f14f
call fcn.10006d58
mov esi, eax
call fcn.100111f0
test al, al
je 0x1000f142
lea esi, [ebp - 0x94]
call fcn.10006d58
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea esi, [ebp - 0x80]
call fcn.100065c1
lea esi, [ebp - 0x94]
call fcn.1000fcbe
jmp 0x1000f0e5
lea esi, [ebp - 0x9c]
call fcn.10010033
mov eax, dword [ebp - 0x8c]
jmp 0x1000f0a0
cmp dword [ebp - 0x6c], ebx
je 0x1000f264
push str.config15
lea ecx, [ebp - 0xc8]
call fcn.100039b0
mov edi, str.config4
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.100039b0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.1000e8d1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000383a
push ebx
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
call fcn.1000383a
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x48]
call fcn.1000f6b6
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], ebx
jne 0x1000f234
push str.config15
lea ecx, [ebp - 0x2c]
call fcn.100039b0
push edi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x10
call fcn.100039b0
mov eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0x8c]
mov byte [ebp - 4], 0x11
call fcn.1000ea11
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000383a
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000383a
jmp 0x1000f24e
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x64]
call fcn.1000d964
test al, al
jne 0x1000f24e
mov edi, dword [ebp - 0x8c]
call fcn.1000f9b8
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.1000383a
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.1000383a
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.1000383a
cmp dword [ebp - 0x84], ebx
je 0x1000f283
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000edfc