Function at 0x417770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4306ae
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x448070]
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 ebx, dword [ebp + 0x20]
push str.Entering___ReadInfExcludeFilesFromINI
push 0x44aca0
mov dword [ebp - 4], 0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
push str.SetupBD.ini
lea eax, [ebp - 0x840]
push 0x448024
push eax
call fcn.0040fb60
xor eax, eax
mov byte [ebp - 4], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.0041c090
add esp, 0x20
lea eax, [ebp - 0x840]
cmp dword [ebp - 0x82c], 8
cmovae eax, dword [ebp - 0x840]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x840]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x840]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jne 0x417865
push str.GetPrivateProfileSection___failed
push 0x44aca0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 8
push str.INFs_to_exclude:
push 0x44aca0
lea edi, [ebp - 0x810]
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 8
cmp word [ebp - 0x810], 0
je 0x417a2a
jmp 0x417890
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edi], ax
je 0x4178c6
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4178b7
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x828]
call sym.SetupBD.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_
push 0xb
push 0xffffffffffffffff
push str.InfExclude
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call sym.SetupBD.exe_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::rfind_wchar_t_const___unsigned_int__unsigned_int_const
cmp eax, 0xffffffff
je 0x4179eb
push 0xffffffffffffffff
add eax, 0xb
lea ecx, [ebp - 0x828]
push eax
lea eax, [ebp - 0x858]
push eax
call sym.SetupBD.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x4179a4
cmp dword [ebp - 0x814], 8
jb 0x417933
push dword [ebp - 0x828]
call fcn.0041aa29
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp dword [esi + 0x14], 8
jae 0x417971
mov eax, dword [esi + 0x10]
inc eax
je 0x41797f
add eax, eax
push eax
lea eax, [ebp - 0x828]
push esi
push eax
call fcn.0041adc0
add esp, 0xc
jmp 0x41797f
mov eax, dword [esi]
mov dword [ebp - 0x828], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x818], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x814], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x844], 8
jb 0x4179bb
push dword [ebp - 0x858]
call fcn.0041aa29
add esp, 4
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.00419a40
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0x44aca0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4179f0
sub ecx, edx
mov byte [ebp - 4], 1
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp dword [ebp - 0x814], 8
jb 0x417a20
push dword [ebp - 0x828]
call fcn.0041aa29
add esp, 4
cmp word [edi], 0
jne 0x417890
cmp dword [ebp - 0x82c], 8
jb 0x417a41
push dword [ebp - 0x840]
call fcn.0041aa29
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
jb 0x417a6f
push dword [ebp + 8]
call fcn.0041aa29
add esp, 4
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.0041b486
mov esp, ebp
pop ebp
ret