Function at 0x415820
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x494866
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x440]
push esi
mov dword [esp + 0x42c], eax
mov eax, dword [esp + 0x440]
push edi
mov esi, ecx
push 0x4a5168
lea ecx, [esp + 0xe0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCP71.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 0x4a5168
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x440], 1
call dword [sym.imp.MSVCP71.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 str.UpdateDog_
add esi, 0x38
lea ecx, [esp + 0x8c]
push esi
push ecx
mov byte [esp + 0x448], 2
call fcn.00402280
push 0x4bf3e4
push eax
lea edx, [esp + 0x1e8]
push edx
mov byte [esp + 0x454], 3
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 0x88]
mov byte [esp + 0x43c], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov word [esp + 0x228], 0
mov ecx, 0x81
lea edi, [esp + 0x22a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x1ec], 8
mov eax, dword [esp + 0x1d8]
jae 0x41591c
lea eax, [esp + 0x1d8]
push eax
push 0x104
lea eax, [esp + 0x230]
push eax
push str.error_code
push str.LanguageCode
push str.UpdateSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x228]
push ecx
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP71.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 edx, [esp + 0x210]
push edx
mov byte [esp + 0x444], 6
call fcn.00432770
add esp, 8
lea ecx, [esp + 0xc0]
mov byte [esp + 0x43c], 8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x228]
push str.error_code
push eax
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4159ab
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x1b8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0
lea ecx, [esp + 0x1bc]
push ecx
push ebx
mov byte [esp + 0x448], 9
call fcn.00426b70
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4159f9
mov esi, dword [esp + 0x10]
lea edx, [esp + 0xdc]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP71.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 dword [esp + 0x14], 1
jmp 0x415fd3
lea ecx, [esp + 0x114]
call fcn.004103f0
cmp dword [esp + 0x1d0], 0x10
mov eax, dword [esp + 0x1bc]
mov byte [esp + 0x43c], 0xa
jae 0x415a25
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x118]
call fcn.00438bf0
push str.root
lea ecx, [esp + 0x118]
call fcn.004379f0
test al, al
je 0x415f8e
lea ecx, [esp + 0x1f0]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.default_language
lea ecx, [esp + 0x118]
mov byte [esp + 0x440], 0xb
call fcn.00437a50
test al, al
je 0x415ad4
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x118]
call fcn.0040e490
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x440], 0xc
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x180]
mov byte [esp + 0x43c], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x164]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x168], 0
mov dword [esp + 0x170], ecx
mov al, byte [esp + 0xf]
test al, al
je 0x415af1
lea edx, [esp + 0x1f0]
push edx
lea ecx, [esp + 0x210]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push str.language
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
je 0x415f71
mov esi, dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov bl, 0xe
push 0x4a3574
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x11c]
call fcn.004127f0
lea ecx, [esp + 0x180]
push ecx
lea edx, [esp + 0x1f4]
push edx
mov byte [esp + 0x444], 0xd
call esi
add esp, 8
test al, al
je 0x415d30
lea ecx, [esp + 0x114]
call fcn.00436b30
push str.features
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
je 0x415d24
lea ecx, [esp + 0x114]
call fcn.00436b30
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.feature
lea ecx, [esp + 0x118]
mov byte [esp + 0x440], bl
call fcn.00437a50
test al, al
je 0x415cac
mov edi, edi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x118]
call fcn.0040e490
push 0x4a355c
push eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x448], 0xf
call fcn.00402080
add esp, 0xc
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x440], 0x10
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x43c], 0xf
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004324a0
add esp, 8
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x440], 0x11
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00432690
add esp, 8
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x440], 0x12
call dword [0x49e778]
lea ecx, [esp + 0x34]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.feature
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
jne 0x415bb0
mov eax, dword [esp + 0xf0]
dec eax
push eax
push 0x4a02f0
lea ecx, [esp + 0xe4]
call dword [sym.imp.MSVCP71.dll_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_const]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1a8]
call dword [sym.imp.MSVCP71.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_]
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x440], 0x13
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
call fcn.004373d0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x43c], 0xd
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x114]
call fcn.004373d0
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 0x210]
push eax
call esi
add esp, 8
test al, al
je 0x415d7b
lea ecx, [esp + 0x114]
mov byte [esp + 0xe], 1
call fcn.00436b30
push str.features
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
lea ecx, [esp + 0x114]
jne 0x415dae
call fcn.004373d0
lea ecx, [esp + 0x180]
mov byte [esp + 0x43c], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.language
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
jne 0x415b12
jmp 0x415f71
call fcn.00436b30
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 0x14
push str.feature
lea ecx, [esp + 0x118]
mov byte [esp + 0x440], bl
call fcn.00437a50
test al, al
je 0x415ed8
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x118]
call fcn.0040e490
push 0x4a355c
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x448], 0x15
call fcn.00402080
add esp, 0xc
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x440], 0x16
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x43c], 0x15
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004324a0
add esp, 8
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x440], 0x17
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00432690
add esp, 8
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x440], 0x18
call dword [0x49e778]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.feature
lea ecx, [esp + 0x118]
call fcn.00437a50
test al, al
jne 0x415de2
mov ecx, dword [esp + 0xf0]
dec ecx
push ecx
push 0x4a02f0
lea ecx, [esp + 0xe4]
call dword [sym.imp.MSVCP71.dll_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_const]
push eax
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP71.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_]
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x440], 0x19
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x43c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
call fcn.004373d0
lea ecx, [esp + 0x114]
call fcn.004373d0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x43c], 0xd
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x180]
mov byte [esp + 0x43c], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x43c], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0xe]
test al, al
jne 0x415fa3
lea eax, [esp + 0x19c]
push eax
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.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__]
lea ecx, [esp + 0x114]
mov dword [esp + 0x14], 1
mov byte [esp + 0x43c], 9
call fcn.00410490
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x43c], 8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x43c], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x43c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x19c]
mov byte [esp + 0x43c], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x43c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x434]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x428]
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x434
ret 8