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

Disassembly:
push 0x114
mov eax, 0x1004f28d
call fcn.10035d35
mov esi, ecx
mov dword [ebp - 0x8c], esi
add esi, 0x20
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x98], esi
jb 0x1000eece
mov eax, dword [esi + 4]
jmp 0x1000eed1
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000ef8e
cmp dword [esi + 0x18], 8
jb 0x1000eeeb
mov eax, dword [esi + 4]
jmp 0x1000eeee
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000ef8e
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 4], ebx
jmp 0x1000ef41
cmp dword [ebp - 0x84], ebx
je 0x1000ef2a
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 0x1000ef7a
mov ecx, esi
lea edi, [ebp - 0x84]
call fcn.10013108
test eax, eax
je 0x1000ef10
mov edi, 0xfffe
push edi
call fcn.1003237c
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0xa8], eax
call fcn.10035820
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000ef96
mov eax, dword [esi + 4]
jmp 0x1000ef99
cmp dword [ebp - 0x84], ebx
je 0x1000ef8e
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.10035db8
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 0x1000f1e8
jmp 0x1000efc5
mov esi, dword [ebp - 0x98]
xor ebx, ebx
lea eax, [ebp - 0x104]
push eax
call fcn.1000fbe2
mov edi, 0x2000
push edi
mov byte [ebp - 4], 1
call fcn.1003237c
pop ecx
push edi
push ebx
push eax
mov dword [ebp - 0xa0], eax
call fcn.10035820
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000effd
mov esi, dword [esi + 4]
jmp 0x1000f000
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 0x1000f12e
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002683
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.1000b825
mov edi, eax
cmp edi, 0xffffffff
je 0x1000f0fe
push edi
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100026fc
push 0xffffffffffffffff
inc edi
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.100026fc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], 0x20
je 0x1000f083
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.10002a1b
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10002a1b
jmp 0x1000f0fe
lea edi, [ebp - 0x64]
lea ecx, [ebp - 0xe4]
call fcn.10012c39
mov dword [ebp - 0x90], eax
lea edi, [ebp - 0x48]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.10012c39
push eax
lea ebx, [ebp - 0x104]
mov byte [ebp - 4], 6
call fcn.1000fc1b
push 0xffffffffffffffff
xor edi, edi
push edi
push dword [ebp - 0x90]
mov ecx, eax
call fcn.10003687
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xc8]
call fcn.1000388a
push edi
push ebx
lea ecx, [ebp - 0xe4]
call fcn.1000388a
push edi
push ebx
lea ecx, [ebp - 0x64]
call fcn.10002a1b
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.10002a1b
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10002a1b
push esi
lea ecx, [ebp - 0xe4]
call fcn.10002683
mov eax, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0xe4]
lea esi, [esi + eax*2 + 2]
call fcn.10002a1b
cmp word [esi], bx
jne 0x1000f01e
push dword [ebp - 0x88]
lea ecx, [ebp - 0x48]
call fcn.10002683
lea edi, [ebp - 0x48]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 7
call fcn.10012c39
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x104]
push ecx
push ecx
push eax
mov byte [ebp - 4], 8
call fcn.1000fa5a
pop ecx
mov esi, eax
call fcn.1000eca4
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000388a
push ebx
push 1
mov ecx, edi
call fcn.10002a1b
push dword [ebp - 0xa0]
call fcn.100333a9
pop ecx
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], bl
call fcn.1000fcf4
mov esi, dword [ebp - 0x88]
push esi
lea ecx, [ebp - 0x120]
call fcn.10002683
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.10002a1b
cmp word [esi], bx
jne 0x1000efbd
mov edi, dword [ebp - 0xa8]
cmp dword [ebp - 0x84], ebx
je 0x1000f202
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x84], ebx
push edi
call fcn.100333a9
lea ecx, [ebp - 0x80]
mov dword [esp], 0x1005450a
call fcn.10003a00
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.100105e8
test al, al
jne 0x1000f2f9
call fcn.10006d4b
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.10006d4b
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.100105e8
test al, al
jne 0x1000f2e3
call fcn.10006d4b
mov esi, eax
call fcn.1001134c
test al, al
je 0x1000f2d6
lea esi, [ebp - 0x94]
call fcn.10006d4b
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea esi, [ebp - 0x80]
call fcn.100065b4
lea esi, [ebp - 0x94]
call fcn.1000fe52
jmp 0x1000f279
lea esi, [ebp - 0x9c]
call fcn.10010174
mov eax, dword [ebp - 0x8c]
jmp 0x1000f234
cmp dword [ebp - 0x6c], ebx
je 0x1000f3f8
push str.config15
lea ecx, [ebp - 0xc8]
call fcn.10003a00
mov edi, str.config4
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.10003a00
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.1000ea65
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000388a
push ebx
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
call fcn.1000388a
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x48]
call fcn.1000f84a
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], ebx
jne 0x1000f3c8
push str.config15
lea ecx, [ebp - 0x2c]
call fcn.10003a00
push edi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x10
call fcn.10003a00
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.1000eba5
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000388a
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000388a
jmp 0x1000f3e2
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x64]
call fcn.1000da4c
test al, al
jne 0x1000f3e2
mov edi, dword [ebp - 0x8c]
call fcn.1000fb4c
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.1000388a
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.1000388a
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.1000388a
cmp dword [ebp - 0x84], ebx
je 0x1000f417
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1000ef90