Function at 0x428a50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44e24f
push eax
mov eax, 0x20040
mov dword fs:[0], esp
call fcn.004473e0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
xor esi, esi
mov ecx, 0x7fff
xor eax, eax
lea edi, [esp + 0x52]
mov word [esp + 0x50], si
rep stosd dword es:[edi], eax
push 0x4d63fc
lea eax, [esp + 0x54]
push 0xfffe
push eax
push 0x4d6e34
push str.HomePage
push str.option
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x7c
xor ebp, ebp
cmp word [esp + 0x50], ax
jne 0x428aec
cmp word [esp + 0x52], ax
jne 0x428aec
lea ecx, [esp + 0x54]
push 0x4678ec
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x428b15
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x428b15
jmp 0x428b10
lea eax, [esp + 0x50]
push 0x4678ec
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x428b15
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x428b15
mov ebp, 1
lea edx, [esp + 0x50]
mov ecx, ebx
push edx
call fcn.004289b0
mov ebx, eax
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x4678e4
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x4678e4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, 1
mov dword [esp + 0x34], 0
test al, bl
mov dword [esp + 0x20058], eax
je 0x428b72
mov dword [esp + 0x34], eax
push 0x4d63fc
push 0
push str.UseSimple
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x4d63fc
neg edi
push 0
push str.BlnPageDefTab
sbb edi, edi
push str.option
neg edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test ebp, ebp
mov dword [esp + 0x3c], eax
jne 0x428da0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x428c40
test edi, edi
je 0x428c0f
test eax, eax
jne 0x428be7
push 0x4678ac
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x4678ac
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
jmp 0x428e6b
cmp eax, 1
jne 0x428e6b
push 0x4678a4
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x4678a4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
jmp 0x428e6b
push 0x46789c
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
mov ecx, dword [esp + 0x18]
push edi
push 0x46789c
push ecx
jmp 0x428e58
test bl, 4
je 0x428d39
push 0x467894
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428c84
mov edx, dword [esp + 0x18]
push edi
push 0x467894
push edx
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
test bl, 8
je 0x428cc4
push 0x46788c
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428cc4
mov eax, dword [esp + 0x18]
push edi
push 0x46788c
push eax
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
test bl, 0x10
je 0x428d04
push 0x467884
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428d04
mov ecx, dword [esp + 0x18]
push edi
push 0x467884
push ecx
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
test bl, 0x20
je 0x428e6b
push 0x46787c
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
push edi
push 0x46787c
jmp 0x428e53
test bl, 2
je 0x428d6f
push 0x4678e4
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
mov eax, dword [esp + 0x18]
push edi
push 0x4678e4
push eax
jmp 0x428e58
push 0x467874
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
mov ecx, dword [esp + 0x18]
push edi
push 0x467874
push ecx
jmp 0x428e58
mov eax, dword [esp + 0x34]
and ebx, 4
test eax, eax
jne 0x428dd8
test ebx, ebx
jne 0x428e06
push 0x46786c
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
push edi
push 0x46786c
jmp 0x428e53
test ebx, ebx
jne 0x428e30
push 0x467864
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
mov eax, dword [esp + 0x18]
push edi
push 0x467864
push eax
jmp 0x428e58
push 0x46785c
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
mov ecx, dword [esp + 0x18]
push edi
push 0x46785c
push ecx
jmp 0x428e58
push 0x467854
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428e6b
push edi
push 0x467854
mov edx, dword [esp + 0x20]
push edx
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4d63fc
push 1
push str.BlnPageState
push str.option
call edi
push 0x4d63fc
push 1
push 0x467818
push str.option
mov ebx, eax
call edi
mov edi, eax
mov al, byte [esp + 0x13]
xor ebp, ebp
lea ecx, [esp + 0x24]
push ebp
mov byte [esp + 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x4637b0
call esi
add esp, 4
lea ecx, [esp + 0x24]
push eax
push 0x4637b0
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
cmp edi, ebp
mov byte [esp + 0x20058], 2
jne 0x428f02
push 0x4637b0
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x24]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428fa2
push edi
push 0x4637b0
jmp 0x428f8a
cmp ebx, ebp
jne 0x428f30
push 0x4637b4
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x24]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428fa2
mov edx, dword [esp + 0x28]
push edi
push 0x4637b4
push edx
jmp 0x428f8f
mov eax, dword [esp + 0x3c]
cmp eax, 1
jne 0x428f63
push 0x467814
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x24]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428fa2
mov eax, dword [esp + 0x28]
push edi
push 0x467814
push eax
jmp 0x428f8f
cmp eax, ebp
jne 0x428fa2
push 0x467810
call esi
add esp, 4
mov edi, eax
lea ecx, [esp + 0x24]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x428fa2
push edi
push 0x467810
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00408b50
add esp, 0xc
lea ecx, [esp + 0x24]
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov dl, byte [esp + 0x14]
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push ecx
push ebp
push edx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 0x46777c
mov byte [esp + 0x2005c], 3
call esi
add esp, 4
lea ecx, [esp + 0x40]
push eax
push 0x46777c
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push ecx
push ebp
push edx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov ebx, dword [esp + 0x44]
cmp ebx, ebp
jne 0x429015
mov ebx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov edi, dword [esp + 0x20060]
mov al, byte [esp + 0x13]
push ebp
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push ebx
call esi
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x429059
mov eax, dword [edi + 4]
push esi
push ebx
push eax
call fcn.00408b50
add esp, 0xc
mov ecx, edi
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov dword [esp + 0x38], 1
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x2005c], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x42909b
mov al, byte [ecx - 1]
test al, al
je 0x42908f
cmp al, 0xff
je 0x42908f
dec al
mov byte [ecx - 1], al
jmp 0x42909b
add ecx, 0xfffffffe
push ecx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
cmp ecx, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
je 0x4290cd
mov al, byte [ecx - 1]
test al, al
je 0x4290c1
cmp al, 0xff
je 0x4290c1
dec al
mov byte [ecx - 1], al
jmp 0x4290cd
add ecx, 0xfffffffe
push ecx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x20050]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2004c
ret 4