Function at 0x10024c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077b62
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x100a900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100ab290]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100ab39c]
cmp eax, dword [edx + 4]
jle 0x10024cb8
push 0x100ab39c
call fcn.100743ea
add esp, 4
cmp dword [0x100ab39c], 0xffffffff
jne 0x10024cb8
mov dword [ebp - 4], 0
mov dword [0x100ab3a0], 0
mov dword [0x100ab3a4], 0
call fcn.10007600
push 0x1007d320
mov dword [0x100ab3a0], eax
call fcn.10074218
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x100ab39c
call fcn.100743a0
add esp, 4
cmp byte [0x100ab3a8], 0
jne 0x10024f9e
push 0x10086be4
lea ecx, [ebp - 0x534]
mov byte [0x100ab3a8], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push dword [0x100ab2ac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10024f8b
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x5c
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
push eax
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
push eax
lea ecx, [ebp - 0x534]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
call fcn.10007670
push eax
lea ecx, [ebp - 0x450]
call fcn.10023ff0
push str._config.ini
lea edx, [ebp - 0x450]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x438]
call fcn.1000c590
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x10024da4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x534]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
lea ecx, [ebp - 0x438]
call fcn.10025de0
push dword [ebp - 0x534]
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x10086ce8
push str.Language
push str.LanguageInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10086ce8
lea eax, [ebp - 0x420]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10024e16
test dx, dx
je 0x10024e12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10024e16
add eax, 4
add ecx, 4
test dx, dx
jne 0x10024df0
xor eax, eax
jmp 0x10024e1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10024f74
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x52c], 0
call fcn.1000a0b0
push ecx
mov byte [ebp - 4], 6
call fcn.1000dc30
push eax
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x530]
call fcn.1000c100
cmp dword [ebp - 0x548], 0
jne 0x10024f69
push 1
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
add esp, 4
mov dword [ebp - 0x540], eax
mov byte [ebp - 4], 8
call fcn.10023b60
lea ecx, [ebp - 0x544]
mov edx, eax
push ecx
lea ecx, [ebp - 0x438]
call fcn.10023820
add esp, 4
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x468]
call fcn.10023600
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x10024ec6
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x530]
call fcn.100163c0
cmp dword [eax + 4], 0
je 0x10024ee4
xor esi, esi
jmp 0x10024ee6
mov esi, dword [eax]
lea ecx, [ebp - 0x468]
call fcn.10025de0
lea ecx, [ebp - 0x438]
call fcn.10025de0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x540]
test ecx, ecx
je 0x10024f1b
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10024f1b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 6
test esi, esi
je 0x10024f69
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x54c]
push eax
call fcn.10023cb0
push 0x100ab3a0
push dword [ebp - 0x540]
lea ecx, [ebp - 0x540]
push dword [ebp - 0x544]
push dword [ebp - 0x548]
push dword [ebp - 0x54c]
call fcn.10023d90
add esp, 0x14
lea ecx, [ebp - 0x530]
call fcn.1000a040
lea ecx, [ebp - 0x450]
call fcn.10025de0
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x534]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push edi
lea eax, [ebp - 0x534]
mov ecx, 0x100ab3a0
push eax
call fcn.10023f20
mov eax, dword [ebp - 0x534]
mov ecx, dword [0x100ab3a0]
cmp eax, ecx
je 0x10025034
cmp dword [eax + 0x24], 8
lea ecx, [eax + 0x10]
jb 0x10024fcc
mov ecx, dword [eax + 0x10]
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x10024fd6
mov esi, dword [edi]
mov edx, dword [eax + 0x20]
mov ebx, dword [edi + 0x10]
cmp edx, ebx
mov dword [ebp - 0x538], edx
cmovb ebx, edx
test ebx, ebx
je 0x10025029
sub ecx, esi
mov dword [ebp - 0x53c], ecx
movzx edx, word [esi]
movzx ecx, word [ecx + esi]
mov eax, edx
mov dword [ebp - 0x540], eax
mov eax, ecx
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x534]
cmp dx, cx
jne 0x1002506b
mov ecx, dword [ebp - 0x53c]
add esi, 2
sub ebx, 1
jne 0x10024ff3
mov edx, dword [ebp - 0x538]
cmp dword [edi + 0x10], edx
mov ecx, dword [0x100ab3a0]
jae 0x10025036
mov eax, ecx
cmp eax, ecx
jne 0x1002507a
push edi
mov ecx, 0x100ab3a0
call fcn.10024b40
cmp eax, edi
je 0x1002505e
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10025053
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.100251b0
push edi
mov ecx, 0x100ab3a0
call fcn.10024b40
jmp 0x1002507d
mov ecx, dword [ebp - 0x550]
cmp word [ebp - 0x540], cx
jmp 0x1002502c
add eax, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073ea5
mov esp, ebp
pop ebp
ret