Function at 0x404cd0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x425cb7
push eax
mov eax, 0x1bf4
mov dword fs:[0], esp
call fcn.0041f930
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esp + 0xc04]
mov ecx, dword [esi + 0x6c]
push 0x800
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x405b17
lea edx, [esp + 0xc04]
lea ecx, [esi + 0xc4]
push edx
call sub.MFC42u.DLL_CString::operator
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], 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 cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c10], 0
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 [esi + 0x1ac]
mov ebx, 1
test eax, eax
mov byte [esp + 0x1c0c], bl
jne 0x404d9f
mov edx, 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 ecx, [esp + 0x54]
mov eax, dword [edx]
push eax
push 0
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__::erase_unsigned_int__unsigned_int_]
mov ecx, 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]
mov edx, dword [ecx]
lea ecx, [esp + 0x44]
push edx
push 0
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__::erase_unsigned_int__unsigned_int_]
jmp 0x404f58
lea ecx, [esp + 0x13]
push ecx
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov edx, 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]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c10], 2
mov eax, dword [edx]
mov dword [esp + 0x18], 0x5c
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::rfind_unsigned_short_int_const___unsigned_int__unsigned_int_const]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x404ea0
lea edi, [ebp + 1]
lea ecx, [esp + 0x88]
push edi
push 0
push ecx
lea ecx, [esp + 0x34]
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__::substr_unsigned_int__unsigned_int_]
mov edx, 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]
mov byte [esp + 0x1c0c], 3
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
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 ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c10], 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 eax, dword [esp + 0x30]
cmp edi, eax
jae 0x404e87
sub eax, ebp
lea edx, [esp + 0x88]
dec eax
lea ecx, [esp + 0x28]
push eax
push edi
push edx
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__::substr_unsigned_int__unsigned_int_]
mov ecx, 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]
mov byte [esp + 0x1c0c], 4
mov edx, dword [ecx]
lea ecx, [esp + 0x44]
push edx
push 0
push eax
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 ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c10], 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_]
jmp 0x404f46
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]
mov ecx, dword [eax]
push ecx
push 0
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__::erase_unsigned_int__unsigned_int_]
jmp 0x404f46
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x28]
dec edx
push edx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator___unsigned_int_]
cmp word [eax], 0x3a
jne 0x404f18
lea eax, [esp + 0x28]
push 0x5c
lea ecx, [esp + 0x8c]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_
add esp, 0xc
mov edx, 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]
mov byte [esp + 0x1c0c], 5
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
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 ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c10], 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 edx, 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 ecx, [esp + 0x44]
mov eax, dword [edx]
push eax
push 0
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__::erase_unsigned_int__unsigned_int_]
jmp 0x404f46
mov ecx, 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]
mov edx, dword [ecx]
lea ecx, [esp + 0x54]
push edx
push 0
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__::erase_unsigned_int__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 + 0x28]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0x50]
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 ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c10], bl
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 [esp + 0x58]
test eax, eax
jne 0x404f65
mov eax, 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]
lea ebp, [esi + 0x1b0]
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CString::operator
push str.data_
lea eax, [esp + 0x18]
push ebp
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x1c10], 6
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.lang_
lea ecx, [esp + 0x18]
push ebp
push ecx
call sub.MFC42u.DLL_operator
lea ecx, [esi + 0x1b8]
push eax
mov byte [esp + 0x1c10], 7
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.dict_
lea edx, [esp + 0x18]
push ebp
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x1c10], 8
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.speech_
lea eax, [esp + 0x18]
push ebp
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x1c10], 9
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.appe_
lea ecx, [esp + 0x18]
push ebp
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x1c10], 0xa
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.webe_
lea edx, [esp + 0x18]
push ebp
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x1c10], 0xb
call sub.MFC42u.DLL_CString::operator_1
mov byte [esp + 0x1c0c], bl
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
push str.textseg_
lea eax, [esp + 0x18]
push ebp
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1cc]
mov byte [esp + 0x1c10], 0xc
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.image_
lea ecx, [esp + 0x18]
push ebp
push ecx
call sub.MFC42u.DLL_operator
lea edi, [esi + 0x1d0]
push eax
mov ecx, edi
mov byte [esp + 0x1c10], 0xd
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.icon_
lea edx, [esp + 0x18]
push ebp
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x1c10], 0xe
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.help_
lea eax, [esp + 0x18]
push ebp
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1d8]
mov byte [esp + 0x1c10], 0xf
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.update_
lea ecx, [esp + 0x18]
push ebp
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1dc]
mov byte [esp + 0x1c10], 0x10
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
push str.partner_
lea edx, [esp + 0x18]
push ebp
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x1c10], 0x11
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], bl
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x7c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push str.lingoes.png
lea ecx, [esp + 0x18]
push edi
push ecx
mov byte [esp + 0x1c18], 0x12
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0x1c14], 0x13
call fcn.0040e800
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0c], 0x12
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
call fcn.00410000
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x1c0c], 0x14
test eax, eax
jne 0x405258
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x3e8
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00410040
add esp, 0xc
lea ecx, [esp + 0x18]
push str.system.inc
push ebp
push ecx
call sub.MFC42u.DLL_operator
mov edi, dword [eax]
mov byte [esp + 0x1c0c], 0x15
test edi, edi
je 0x405351
push 0
lea ecx, [esi + 0xd0]
call fcn.00408160
lea edx, [esp + 0x1c]
push edi
push edx
lea ecx, [esi + 0xc8]
mov dword [esp + 0x24], 0
call fcn.00407e70
mov edi, eax
test edi, edi
je 0x405351
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x405351
lea eax, [esp + 0x68]
test eax, eax
je 0x4053ce
lea ecx, [esp + 0x4ec]
call fcn.00411380
lea ecx, [esp + 0x68]
push 0x10
push ecx
lea ecx, [esp + 0x4f4]
mov byte [esp + 0x1c14], 0x16
call fcn.00411540
mov edx, dword [esp + 0x1c]
push edi
push edx
push 0
lea ecx, [esp + 0x4f8]
call fcn.00411400
test eax, eax
mov dword [esp + 0x24], eax
jge 0x40531f
mov eax, dword [esp + 0x1c]
push eax
jmp 0x405335
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40538e
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x4ec]
mov byte [esp + 0x1c0c], 0x15
call fcn.004113f0
xor al, al
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0c], 0x14
sete byte [esp + 0x13]
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x405641
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
jmp 0x405acb
mov edx, dword [esp + 0x1c]
push edi
push edx
push eax
lea ecx, [esp + 0x4f8]
call fcn.00411400
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
add esp, 4
lea ecx, [esp + 0x4ec]
mov byte [esp + 0x1c0c], 0x15
call fcn.004113f0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], 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 [esp + 0x1c]
push 0
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c1c], 0x17
call fcn.00405b40
test al, al
jne 0x40542b
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c0c], 0x15
push ebx
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_]
jmp 0x405351
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x13]
push ecx
push 0x2f
push ebx
lea ecx, [esp + 0xb8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_int__unsigned_short_int__class_std::allocator_unsigned_short_int__const__]
lea edx, [esp + 0x43]
lea ecx, [esp + 0xbc]
push edx
mov byte [esp + 0x1c10], 0x18
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea eax, [esp + 0x3a]
lea ecx, [esp + 0xcc]
push eax
mov byte [esp + 0x1c10], 0x19
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea ecx, [esp + 0x3b]
mov byte [esp + 0x1c0c], 0x1a
push ecx
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor edi, edi
mov byte [esp + 0x1c0c], 0x1b
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x4054c1
mov edx, 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 dword [esp + 0x24], edx
jmp 0x4054c5
mov dword [esp + 0x24], eax
test ecx, ecx
jle 0x4055cf
push ebx
lea eax, [esp + 0x9c]
push edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0xa4], 0xa
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int__unsigned_int_const]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x4054ff
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov eax, ecx
mov edx, dword [esp + 0x24]
sub eax, edi
push eax
lea ecx, [esp + 0x8c]
lea eax, [edx + edi*2]
lea edx, [esp + 0xd0]
push eax
push ecx
lea eax, [esp + 0xc8]
lea edi, [esi + 0xc8]
push edx
push eax
mov ecx, edi
call fcn.00407a50
cmp eax, 2
jne 0x405566
mov ecx, 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 eax, [esp + 0xbc]
mov edx, dword [ecx]
lea ecx, [esp + 0xac]
push edx
push 0
push eax
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 0x2f
push ebx
lea ecx, [esp + 0xb4]
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_int__unsigned_short_int_]
jmp 0x4055bc
cmp eax, 3
jne 0x4055bc
lea ecx, [esp + 0xbc]
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 0xc
lea ecx, [esp + 0xcc]
push 0
push ecx
push eax
lea ecx, [edi + 4]
mov byte [esp + 0x1c18], 0x1c
call fcn.00407f30
push ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1c10], 0x1b
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 edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
lea edi, [edx + 1]
cmp edi, eax
jl 0x4054cd
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c10], 0x1a
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
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1c10], 0x19
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
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1c10], 0x18
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
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1c10], 0x17
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
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c10], 0x15
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 al, bl
jmp 0x405353
xor ecx, ecx
lea edi, [esi + 0xc8]
mov dword [esp + 0x68], ecx
push 0x4301f8
mov dword [esp + 0x70], ecx
push str.Software
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov ecx, edi
call fcn.00407880
test eax, eax
je 0x405687
lea edx, [esp + 0x18]
push 0
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCRT.dll_wcstoul]
add esp, 0xc
push str.Build
push str.Software
mov ecx, edi
mov word [esi + 0x17c], ax
call fcn.00407880
test eax, eax
je 0x4056bc
lea ecx, [esp + 0x18]
push 0
push ecx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCRT.dll_wcstoul]
add esp, 0xc
push 0xffffffffffffffff
push 0
push str.Name
lea edx, [esp + 0xa8]
push str.Software
push edx
mov ecx, edi
mov word [esi + 0x184], ax
call fcn.004021b0
mov eax, dword [eax + 4]
mov byte [esp + 0x1c0c], 0x1f
test eax, eax
jne 0x4056f4
mov eax, 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]
lea ecx, [esi + 0x180]
push eax
call sub.MFC42u.DLL_CString::operator
push ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1c10], 0x14
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 0xffffffffffffffff
push 0
push str.Version
lea eax, [esp + 0xa8]
push str.Software
push eax
mov ecx, edi
call fcn.004021b0
mov eax, dword [eax + 4]
mov byte [esp + 0x1c0c], 0x20
test eax, eax
jne 0x405747
mov eax, 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]
lea ecx, [esi + 0x198]
push eax
call sub.MFC42u.DLL_CString::operator
push ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1c10], 0x14
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 0xffffffffffffffff
push 0
push str.Edition
lea ecx, [esp + 0xa8]
push str.Software
push ecx
mov ecx, edi
call fcn.004021b0
mov eax, dword [eax + 4]
mov byte [esp + 0x1c0c], 0x21
test eax, eax
jne 0x40579a
mov eax, 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]
lea ecx, [esi + 0x194]
push eax
call sub.MFC42u.DLL_CString::operator
push ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1c10], 0x14
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_]
cmp word [esi + 0x17c], 0
je 0x405acb
cmp word [esi + 0x184], 0
je 0x405acb
mov edx, dword [esi + 0x180]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x432310
push edx
call edi
add esp, 8
test eax, eax
je 0x405acb
mov eax, dword [esi + 0x198]
push 0x432310
push eax
call edi
add esp, 8
test eax, eax
je 0x405acb
mov ecx, dword [esi + 0x194]
push 0x432310
push ecx
call edi
add esp, 8
test eax, eax
je 0x405acb
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xde]
mov word [esp + 0xdc], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0xdc]
push edx
push 0
push 0
push 0x1a
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x405884
mov eax, dword [esi + 0x180]
lea edi, [esi + 0x1e4]
push eax
lea eax, [esp + 0xe0]
push eax
push str._s_s_
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x405892
lea edi, [esi + 0x1e4]
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_1
mov edi, dword [edi]
push edi
call fcn.0040fc10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2ea]
mov word [esp + 0x2e8], 0
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x2e4]
stosw word es:[edi], ax
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4058f8
mov eax, dword [esi + 0x180]
lea edx, [esp + 0x2e4]
push eax
lea edi, [esi + 0x1e8]
push edx
push str._s_s_temp_
push edi
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
jmp 0x40592f
push str.temp_
lea eax, [esp + 0x1c]
push ebp
push eax
call sub.MFC42u.DLL_operator
lea edi, [esi + 0x1e8]
push eax
mov ecx, edi
mov byte [esp + 0x1c10], 0x22
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0c], 0x14
call sub.MFC42u.DLL_CString::CString
mov edi, dword [edi]
push edi
call fcn.0040fc10
add esp, 4
lea edi, [esi + 0x1b8]
lea ecx, [esp + 0x18]
push str.lang_en.ini
push edi
push ecx
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push 0
push 2
push 0
push eax
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c1c], 0x23
call fcn.00406500
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0c], 0x14
sete byte [esp + 0x13]
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
jne 0x405acb
push str.config.ini
lea edx, [esp + 0x1c]
push ebp
push edx
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push 0
push ebx
push 0
push eax
lea ecx, [esi + 0xf4]
mov byte [esp + 0x1c1c], 0x24
call fcn.00406500
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0c], 0x14
sete byte [esp + 0x13]
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
jne 0x405acb
push str.user.ini
lea eax, [esp + 0x1c]
push ebp
push eax
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push 0
push ebx
push 0
push eax
lea ecx, [esi + 0x120]
mov byte [esp + 0x1c1c], 0x25
call fcn.00406500
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c0c], 0x14
sete byte [esp + 0x13]
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
jne 0x405acb
push str.ilc_en.ini
lea ecx, [esp + 0x68]
push edi
push ecx
call sub.MFC42u.DLL_operator
mov edx, dword [esp + 0x64]
push 0
push edx
lea ecx, [esi + 0x14c]
mov byte [esp + 0x1c14], 0x26
call fcn.00411f40
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c0c], 0x14
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c0c], 0x12
call fcn.00410030
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c10], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c10], 0
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 + 0x58]
test ecx, ecx
je 0x405ac7
mov al, byte [ecx - 1]
test al, al
je 0x405abb
cmp al, 0xff
je 0x405abb
dec al
mov byte [ecx - 1], al
mov eax, ebx
jmp 0x405b19
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, ebx
jmp 0x405b19
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c0c], 0x12
call fcn.00410030
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c10], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c10], 0
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
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c10], 0xffffffff
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_]
xor eax, eax
mov ecx, dword [esp + 0x1c04]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c00
ret