Function at 0x41e385
Capabilities:
Read .ini file

Disassembly:
push 0x108
mov eax, 0x434330
call fcn.0042bee2
mov edi, dword [ebp + 0x10]
call fcn.0041f516
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x41e3b0
mov eax, 0x80004005
jmp 0x41e6cb
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], ebx
jne 0x41e3c2
mov eax, 0x80070057
jmp 0x41e6cb
xor ecx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
jmp 0x41e3d8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x24], ebx
jne 0x41e3e1
xor ecx, ecx
jmp 0x41e3e6
sub ecx, dword [ebp - 0x24]
sar ecx, 1
add ecx, 0xa28
push ecx
lea eax, [ebp - 0x28]
call fcn.0041f846
cmp dword [esi + 0x20], 8
jb 0x41e400
mov esi, dword [esi + 0xc]
jmp 0x41e403
add esi, 0xc
cmp dword [ebp - 0x24], ebx
jne 0x41e40c
xor eax, eax
jmp 0x41e414
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
sar eax, 1
cmp dword [edi + 0x18], 8
jb 0x41e421
lea ecx, [edi + 4]
mov ebx, dword [ecx]
jmp 0x41e424
lea ebx, [edi + 4]
push esi
push eax
xor edi, edi
lea esi, [ebp - 0x28]
call fcn.0041f57a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ecx, dword [ebp - 0x20]
xor edx, edx
cmp dword [ebp - 0x24], edx
je 0x41e449
mov edx, ecx
sub edx, dword [ebp - 0x24]
sar edx, 1
add edx, 0xfffffffe
xor ebx, ebx
cmp eax, edx
je 0x41e3d2
cmp eax, ebx
je 0x41e6bd
xor eax, eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x41e477
xor eax, eax
jmp 0x41e47d
mov eax, ecx
sub eax, edx
sar eax, 1
cmp ebx, eax
je 0x41e4eb
test edx, edx
je 0x41e4eb
sub ecx, edx
sar ecx, 1
cmp dword [ebp + 0xc], ecx
jae 0x41e4eb
mov edi, ebx
lea esi, [ebp - 0x28]
call fcn.0041f57a
cmp word [eax], 0
jne 0x41e4a3
cmp dword [ebp + 0xc], ebx
je 0x41e4eb
mov edi, ebx
lea esi, [ebp - 0x28]
call fcn.0041f57a
cmp word [eax], 0
jne 0x41e4e5
mov edi, dword [ebp + 0xc]
call fcn.0041f57a
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004095ac
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebx + 1]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x20]
inc ebx
jmp 0x41e46c
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
jbe 0x41e4f9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], esi
jbe 0x41e510
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x18], 0
je 0x41e51e
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x18], eax
je 0x41e524
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 0x14], esi
je 0x41e6b1
mov eax, dword [ebp + 8]
cmp dword [eax], 1
lea esi, [ebp - 0x18]
jne 0x41e551
call fcn.004169e2
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
push dword [ecx]
mov ecx, eax
push 0x3d
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::rfind_wchar_t__unsigned_int_const]
jmp 0x41e562
call fcn.004169e2
push 0
push 0x3d
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t__unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [eax], edi
je 0x41e6a4
lea esi, [ebp - 0x18]
call fcn.004169e2
mov eax, dword [eax + 0x14]
dec eax
cmp edi, eax
jne 0x41e60c
push 0x43822c
call fcn.004169e2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push edi
push 0
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_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_]
lea esi, [ebp - 0x5c]
call fcn.00420a23
add esp, 0x20
mov esi, eax
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 4
push dword [esi + 0x1c]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp + 0x10]
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0041f4b7
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
call fcn.00413492
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x41e6a4
call fcn.004169e2
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push dword [edx]
lea edx, [edi + 1]
push edx
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_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_]
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004169e2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
push 0
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_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_]
lea esi, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.00420a66
add esp, 0x38
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004188b2
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp + 0x10]
lea ebx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.0041f4b7
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 7
call fcn.00413492
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00413492
lea esi, [ebp - 0x18]
call fcn.00418496
jmp 0x41e502
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00403709
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x28]
call fcn.0041f53a
xor eax, eax
call fcn.0042bfba
ret 0xc