Function at 0x1000e5f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
cmp dword [0x1001b1ec], 1
jne 0x1000e624
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 8
ret
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x1000e684
xor esi, esi
cmp word [ebx], bp
mov eax, ebx
je 0x1000e64b
nop
add eax, 2
add esi, 1
cmp word [eax], bp
jne 0x1000e640
lea edi, [esi + esi + 2]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x1000e684
push ebp
push ebp
push edi
push eax
add esi, 1
push esi
push ebx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1000e684
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x20]
cmp ebx, ebp
mov dword [esp + 0x14], ebp
je 0x1000e6e6
xor esi, esi
cmp word [ebx], bp
mov eax, ebx
je 0x1000e6ab
lea esp, [esp]
add eax, 2
add esi, 1
cmp word [eax], bp
jne 0x1000e6a0
lea edi, [esi + esi + 2]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x1000e6e6
push ebp
push ebp
push edi
mov edx, eax
push edx
add esi, 1
push esi
push ebx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1000e6e6
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
xor ebx, ebx
test ebp, ebp
je 0x1000e740
xor esi, esi
cmp word [ebp], bx
mov eax, ebp
je 0x1000e70b
lea ebx, [ebx]
add eax, 2
add esi, 1
cmp word [eax], bx
jne 0x1000e700
lea edi, [esi + esi + 2]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000e740
push 0
push 0
push edi
push ebx
add esi, 1
push esi
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1000e740
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
je 0x1000e796
xor edi, edi
cmp word [eax], di
je 0x1000e75d
add eax, 2
add edi, 1
cmp word [eax], 0
jne 0x1000e751
lea ebp, [edi + edi + 2]
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1000e796
mov ecx, dword [esp + 0x30]
push 0
push 0
push ebp
push esi
add edi, 1
push edi
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1000e796
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
mov ebp, dword [esp + 0x2c]
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [esp + 0x14]
push esi
push ebp
mov edi, eax
mov eax, dword [esp + 0x18]
push edi
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000e7ca
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000e7d9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1000e7e8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebx
jmp 0x1000e7ee
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x1000e7f5
push esi
call ebx
test ebp, ebp
je 0x1000e81b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
add ebp, 1
push ebp
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
test ebp, ebp
je 0x1000e81b
sub ebp, 1
test edi, edi
je 0x1000e822
push edi
call ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret