Function at 0x1001c2a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100741f9
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x508], edi
mov eax, dword fs:[0x2c]
mov edx, dword [0x100a94b8]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100a960c]
cmp eax, dword [edx + 4]
jle 0x1001c34a
push 0x100a960c
call fcn.100704b2
add esp, 4
cmp dword [0x100a960c], 0xffffffff
jne 0x1001c34a
mov dword [ebp - 4], 0
mov dword [0x100a9610], 0
mov dword [0x100a9614], 0
call fcn.1000abd0
push 0x1007bad0
mov dword [0x100a9610], eax
call fcn.100709d5
push 0x100a960c
mov dword [ebp - 4], 0xffffffff
call fcn.10070468
add esp, 8
cmp byte [0x100a9618], 0
jne 0x1001c82b
push 0x1007f32c
lea ecx, [ebp - 0x504]
mov byte [0x100a9618], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push dword [0x100a94e4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1001c818
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x5c
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
push eax
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str._.._.._win32_Single_config.ini
lea ecx, [ebp - 0x504]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
push dword [ebp - 0x504]
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x10080c24
push str.Language
push str.LanguageInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10080c24
lea eax, [ebp - 0x420]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001c466
test dx, dx
je 0x1001c462
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001c466
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001c440
xor eax, eax
jmp 0x1001c46b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001c80c
push 0xc8
lea eax, [ebp - 0x500]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x500], 0
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x4fc], 0
call fcn.1000d660
push ecx
mov byte [ebp - 4], 4
call fcn.10010880
push eax
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x500]
call fcn.1000f6f0
cmp dword [ebp - 0x434], 0
jne 0x1001c801
push 1
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov dword [ebp - 0x510], eax
mov byte [ebp - 4], 6
call fcn.1001b350
lea ecx, [ebp - 0x514]
mov edx, eax
push ecx
lea ecx, [ebp - 0x5e8]
call fcn.1001b030
add esp, 8
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 0
mov dword [ebp - 0x5c0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5bc], xmm0
xor eax, eax
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
mov dword [ebp - 0x5a4], 0
mov byte [ebp - 0x5a0], 0
mov dword [ebp - 0x58c], 0
mov dword [ebp - 0x588], 7
mov word [ebp - 0x59c], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x580]
mov byte [ebp - 0x584], 0xff
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x548], 0
mov byte [ebp - 0x544], 0
mov dword [ebp - 0x540], 3
mov byte [ebp - 0x538], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x52c]
push 0x1e
xor eax, eax
mov dword [ebp - 0x51c], 0
push str._xmlRoot_Directory__name_s_
mov dword [ebp - 0x518], 7
mov word [ebp - 0x52c], ax
call fcn.10020f80
lea eax, [ebp - 0x52c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x5c8]
call fcn.1001fb70
lea ecx, [ebp - 0x52c]
call fcn.10021160
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x5e8]
lea edx, [ebp - 0x434]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x5c8]
mov dword [ebp - 0x430], sym.Z_SupportUi.dll_public_virtual:_void___thiscall_Z_3dSupInfoDlg::OnCancel_void_
mov dword [ebp - 0x42c], 0x1001ad90
call fcn.1001a890
lea ecx, [ebp - 0x600]
push ecx
mov ecx, eax
call fcn.10020b20
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x1001c654
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x5d0]
push eax
lea ecx, [ebp - 0x500]
call fcn.10019230
cmp dword [eax + 4], 0
je 0x1001c67a
mov dword [ebp - 0x424], 0
jmp 0x1001c682
mov eax, dword [eax]
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x600]
call fcn.10021160
mov byte [ebp - 4], 7
cmp byte [ebp - 0x538], 0
je 0x1001c6c6
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x530]
test ecx, ecx
je 0x1001c6bb
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1001c6bb
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 7
mov byte [ebp - 0x538], 0
lea ecx, [ebp - 0x580]
call fcn.1001d5e0
lea ecx, [ebp - 0x59c]
call fcn.10021160
lea ecx, [ebp - 0x5bc]
call fcn.1001cf10
mov ecx, dword [ebp - 0x5c8]
test ecx, ecx
je 0x1001c777
mov edx, dword [ebp - 0x5c4]
push ecx
call fcn.1001f5a0
mov ecx, dword [ebp - 0x5c0]
mov eax, 0x88888889
mov esi, dword [ebp - 0x5c8]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1001c74f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001c74f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100702e7
add esp, 8
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 0
mov dword [ebp - 0x5c0], 0
lea ecx, [ebp - 0x5e8]
call fcn.10021160
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x510]
test ecx, ecx
je 0x1001c7a3
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1001c7a3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x1001c801
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x438]
push eax
movups xmmword [ebp - 0x438], xmm0
call fcn.1001b4a0
push 0x100a9610
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x50c]
push dword [ebp - 0x430]
push dword [ebp - 0x434]
push dword [ebp - 0x438]
call fcn.1001b4d0
add esp, 0x14
lea ecx, [ebp - 0x500]
call fcn.1000d5f0
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x504]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push edi
lea eax, [ebp - 0x504]
mov dword [ebp - 0x504], 0
push eax
mov ecx, 0x100a9610
call fcn.1001b660
mov eax, dword [ebp - 0x504]
mov ecx, dword [0x100a9610]
cmp eax, ecx
je 0x1001c8f5
cmp dword [eax + 0x24], 8
lea esi, [eax + 0x10]
jb 0x1001c867
mov esi, dword [eax + 0x10]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x1001c871
mov edx, dword [edi]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x428], ecx
mov ecx, dword [edi + 0x10]
mov edi, ecx
cmp dword [ebp - 0x428], edi
mov edi, dword [ebp - 0x508]
mov dword [ebp - 0x424], ecx
cmovb ecx, dword [ebp - 0x428]
mov dword [ebp - 0x424], ecx
test ecx, ecx
je 0x1001c8e4
sub edx, esi
mov dword [ebp - 0x508], edx
nop word [eax + eax]
movzx edx, word [esi + edx]
mov ecx, edx
mov dword [ebp - 0x50c], ecx
movzx ecx, word [esi]
mov eax, ecx
mov dword [ebp - 0x510], eax
mov eax, dword [ebp - 0x504]
cmp dx, cx
jne 0x1001c92c
mov edx, dword [ebp - 0x508]
add esi, 2
sub dword [ebp - 0x424], 1
jne 0x1001c8b0
mov ecx, dword [edi + 0x10]
cmp ecx, dword [ebp - 0x428]
mov ecx, dword [0x100a9610]
jae 0x1001c8f7
mov eax, ecx
cmp eax, ecx
jne 0x1001c93b
push edi
mov ecx, 0x100a9610
call fcn.1001c1b0
cmp eax, edi
je 0x1001c91f
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1001c914
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.10020f80
push edi
mov ecx, 0x100a9610
call fcn.1001c1b0
jmp 0x1001c93e
mov ecx, dword [ebp - 0x510]
cmp word [ebp - 0x50c], cx
jmp 0x1001c8ed
add eax, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret