Function at 0x10084b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101900ac
mov eax, dword fs:[0]
push eax
mov eax, 0x8470
call fcn.101790f0
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push 0x7ffe
lea ecx, [ebp - 0x8413]
mov ebx, edx
push 0
push ecx
mov dword [ebp - 0x847c], esi
mov dword [ebp - 0x8470], ebx
mov dword [ebp - 0x8474], eax
mov byte [ebp - 0x8414], 0
call sub.MSVCR100.dll_memset
push 1
lea edx, [ebp - 0x844c]
push esi
push edx
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
mov edi, 0x10
add esp, 0x18
cmp dword [eax + 0x14], edi
jb 0x10084ba4
mov eax, dword [eax]
cmp dword [ebx + 0x14], edi
jb 0x10084bad
mov ecx, dword [ebx]
jmp 0x10084baf
mov ecx, ebx
push eax
push 0x7fff
lea eax, [ebp - 0x8414]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
cmp dword [ebp - 0x8438], edi
jb 0x10084bdd
mov ecx, dword [ebp - 0x844c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0x7ffe
jne 0x10084bed
or eax, 0xffffffff
jmp 0x10084e67
xor eax, eax
mov dword [ebp - 0x8454], 0xf
mov dword [ebp - 0x8458], eax
mov byte [ebp - 0x8468], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x8440], eax
mov dword [ebp - 0x843c], eax
mov dword [ebp - 0x8438], eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8414]
mov bl, 2
jmp 0x10084c30
movzx eax, byte [esi]
lea ecx, [ebp - 0x8468]
test al, al
je 0x10084c48
push eax
push 1
call fcn.1002cb30
inc esi
jmp 0x10084c30
push 1
push 0
lea edx, [ebp - 0x846c]
push edx
mov byte [ebp - 0x846c], 0x3d
call fcn.1003ae50
push eax
push 0
lea eax, [ebp - 0x8430]
push eax
lea ecx, [ebp - 0x8468]
call fcn.10025fb0
push eax
lea ecx, [ebp - 0x8440]
mov byte [ebp - 4], bl
call fcn.10084e90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x841c], edi
jb 0x10084c9f
mov ecx, dword [ebp - 0x8430]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x8468]
mov dword [ebp - 0x8458], 0
cmp dword [ebp - 0x8454], edi
jae 0x10084cbd
lea eax, [ebp - 0x8468]
mov byte [eax], 0
cmp byte [esi + 1], 0
je 0x10084ccc
inc esi
jmp 0x10084c30
mov ecx, dword [ebp - 0x843c]
mov ebx, dword [ebp - 0x8440]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10084e06
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x8478], eax
push 0x3ff
lea edx, [ebp - 0x413]
push 0
push edx
mov byte [ebp - 0x414], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x847c]
push 1
push eax
lea ecx, [ebp - 0x8430]
push ecx
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
add esp, 0x18
cmp dword [eax + 0x14], edi
jb 0x10084d3b
mov eax, dword [eax]
cmp dword [esi + 0x14], edi
jb 0x10084d44
mov ecx, dword [esi]
jmp 0x10084d46
mov ecx, esi
push eax
push 0x3ff
lea edx, [ebp - 0x414]
push edx
push 0x101a4104
push ecx
mov ecx, dword [ebp - 0x8470]
call fcn.1000c310
push eax
call ebx
cmp dword [ebp - 0x841c], edi
jb 0x10084d7f
mov eax, dword [ebp - 0x8430]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x414]
mov dword [ebp - 0x841c], 0xf
mov dword [ebp - 0x8420], 0
mov byte [ebp - 0x8430], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10084da3
sub eax, edx
push eax
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x8430]
call fcn.1000c100
mov ecx, dword [ebp - 0x8474]
lea edx, [ebp - 0x8430]
push edx
mov byte [ebp - 4], 3
call fcn.10006800
mov byte [ebp - 4], 1
cmp dword [ebp - 0x841c], edi
jb 0x10084df1
mov eax, dword [ebp - 0x8430]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x1c
dec dword [ebp - 0x8478]
jne 0x10084d01
mov ebx, dword [ebp - 0x8440]
mov eax, dword [ebp - 0x8474]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
test ebx, ebx
je 0x10084e4d
mov ecx, dword [ebp - 0x8470]
mov eax, dword [ebp - 0x843c]
push ecx
lea edx, [ebp - 0x8434]
push edx
push eax
push ebx
call fcn.1000bc50
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 0x14
cmp dword [ebp - 0x8454], edi
jb 0x10084e65
mov ecx, dword [ebp - 0x8468]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 4