Function at 0x404af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41bfe4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ebp
call fcn.0040e750
mov dword [esp + 0xa0], 0
call fcn.004044b0
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x404b3c
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 0
push eax
lea ecx, [esp + 0x3c]
call fcn.0040e860
test al, al
jne 0x404bd6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebx + 4]
mov byte [esp + 0xa0], 1
test eax, eax
jne 0x404b6d
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 eax
lea eax, [esp + 0x18]
push 0x424194
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.00401450
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x34], 0x41e504
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], 2
call fcn.00403170
lea ecx, [esp + 0x34]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0040d3c0
xor al, al
jmp 0x405cba
lea ecx, [esp + 0x34]
call fcn.0040d8c0
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x404bf1
mov eax, dword [edi + 0x20]
jmp 0x404bf6
mov eax, 0x425b84
mov esi, 0x42418c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404c1f
test cl, cl
je 0x404c1b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404c1f
add eax, 2
add esi, 2
test cl, cl
jne 0x404bfb
xor eax, eax
jmp 0x404c24
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404c94
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x42418c
lea eax, [esp + 0x18]
push 0x42417c
push eax
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
xor esi, esi
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, ebp
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
cmp eax, esi
mov dword [esp + 0x34], 0x41e504
je 0x40578e
jmp 0x405785
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00401c10
add esp, 8
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp + 0x28]
mov byte [esp + 0xa0], 4
mov edx, dword [edx]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
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 0x424174
mov ecx, edi
call fcn.0040d980
mov esi, eax
test esi, esi
jne 0x404d2b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x424174
lea eax, [esp + 0x18]
push 0x42417c
push eax
mov byte [esp + 0xac], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, ebp
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
jmp 0x404c6b
push 0x42416c
mov ecx, esi
call fcn.0040d980
xor ebx, ebx
cmp eax, ebx
jne 0x404dc6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x42416c
lea edx, [esp + 0x18]
push 0x42417c
push edx
mov byte [esp + 0xac], 6
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, ebp
push ebx
push eax
call fcn.00401450
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x34], 0x41e504
je 0x404daa
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.0040d3c0
xor al, al
jmp 0x405cba
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x404e03
cmp dword [eax + 0x14], 4
jne 0x404e03
cmp dword [eax + 0x24], ebx
je 0x404ddd
mov edx, dword [eax + 0x20]
jmp 0x404de2
mov edx, 0x425b84
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
push ecx
push edx
mov ecx, ebx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
xor ebx, ebx
jmp 0x404e27
mov edi, 0x425b84
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], edx
push ecx
push 0x425b84
mov ecx, edx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
push 0x424160
mov ecx, esi
call fcn.0040d980
cmp eax, ebx
jne 0x404e7d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x424160
lea ecx, [esp + 0x18]
push 0x42417c
push ecx
mov byte [esp + 0xac], 7
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, ebp
push ebx
push edx
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
jmp 0x404d81
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x404ec9
cmp dword [eax + 0x14], 4
jne 0x404ec9
cmp dword [eax + 0x24], ebx
je 0x404e94
mov esi, dword [eax + 0x20]
jmp 0x404e99
mov esi, 0x425b84
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add ebp, 0x48
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404f11
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x404f03
mov ecx, dword [esp + 0x1c]
mov edi, 0x425b84
xor eax, eax
push 1
lea ebp, [ecx + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404f11
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x425b84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ecx, dword [esp + 0x14]
push 0x424158
call fcn.0040d980
xor edi, edi
cmp eax, edi
jne 0x404fb1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x424158
lea eax, [esp + 0x18]
push 0x42417c
push eax
mov byte [esp + 0xac], 8
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
cmp eax, edi
mov dword [esp + 0x34], 0x41e504
je 0x404f95
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.0040d3c0
xor al, al
jmp 0x405cba
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x404fbe
cmp dword [esi + 0x14], 4
je 0x405006
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x424158
lea edx, [esp + 0x18]
push 0x42414c
push edx
mov byte [esp + 0xac], 9
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
jmp 0x404f6c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ebp, dword [ebp + 4]
mov ecx, 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]
cmp ebp, edi
mov byte [esp + 0xa0], 0xa
jne 0x405026
mov ebp, ecx
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
cmp eax, edi
je 0x405033
mov ecx, eax
cmp dword [esi + 0x24], edi
je 0x40503d
mov eax, dword [esi + 0x20]
jmp 0x405042
mov eax, 0x425b84
push ebp
push ecx
push eax
lea eax, [esp + 0x1c]
push 0x424390
push eax
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [esi + 0x58]
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4050a5
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x20]
mov ecx, ebx
push ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x424144
call fcn.0040d980
xor edi, edi
cmp eax, edi
jne 0x405110
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424144
lea eax, [esp + 0x14]
push 0x42417c
push eax
mov byte [esp + 0xac], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
mov eax, dword [eax + 0x18]
cmp eax, edi
je 0x40511d
cmp dword [eax + 0x14], 4
je 0x405163
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424144
lea edx, [esp + 0x14]
push 0x42414c
push edx
mov byte [esp + 0xac], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esi
push edi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
cmp dword [eax + 0x24], edi
je 0x40516d
mov ebp, dword [eax + 0x20]
jmp 0x405172
mov ebp, 0x425b84
mov cl, byte [esp + 0x1b]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4051ca
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0x2f
push eax
lea eax, [esi + 0x28]
lea ecx, [esp + 0x90]
mov bl, 0xd
push eax
push ecx
mov byte [esp + 0xb0], bl
call fcn.00402460
add esp, 0x10
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edi, edi
mov byte [esp + 0xa0], 0xe
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esi + 0x78]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 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 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x14]
push 0x42413c
call fcn.0040d980
cmp eax, edi
jne 0x40528e
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x42413c
lea edx, [esp + 0x14]
push 0x42417c
push edx
mov byte [esp + 0xac], 0xf
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esi
push edi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
mov eax, dword [eax + 0x18]
cmp eax, edi
je 0x40529b
cmp dword [eax + 0x14], 4
je 0x4052e1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x42413c
lea ecx, [esp + 0x14]
push 0x42414c
push ecx
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esi
push edi
push edx
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
cmp dword [eax + 0x24], edi
je 0x4052eb
mov ebp, dword [eax + 0x20]
jmp 0x4052f0
mov ebp, 0x425b84
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x405348
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0x2f
push eax
lea eax, [esi + 0x28]
lea ecx, [esp + 0x90]
mov bl, 0x11
push eax
push ecx
mov byte [esp + 0xb0], bl
call fcn.00402460
add esp, 0x10
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edi, edi
mov byte [esp + 0xa0], 0x12
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esi + 0x88]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 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 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x14]
push 0x424134
call fcn.0040d980
cmp eax, edi
jne 0x40540f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424134
lea edx, [esp + 0x14]
push 0x42417c
push edx
mov byte [esp + 0xac], 0x13
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esi
push edi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
mov eax, dword [eax + 0x18]
cmp eax, edi
je 0x40541c
cmp dword [eax + 0x14], 4
je 0x405462
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424134
lea ecx, [esp + 0x14]
push 0x42414c
push ecx
mov byte [esp + 0xac], 0x14
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esi
push edi
push edx
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
cmp dword [eax + 0x24], edi
je 0x40546c
mov esi, dword [eax + 0x20]
jmp 0x405471
mov esi, 0x425b84
mov al, byte [esp + 0x1b]
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4054c2
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0x2f
push eax
lea ebp, [ebx + 0x28]
lea ecx, [esp + 0x90]
push ebp
push ecx
mov byte [esp + 0xb0], 0x15
call fcn.00402460
add esp, 0x10
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edi, edi
lea esi, [ebx + 0x68]
mov byte [esp + 0xa0], 0x16
mov ecx, dword [edx]
push ecx
push edi
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 0x15
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 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
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 esi
call fcn.00401810
mov ecx, dword [esp + 0x18]
add esp, 4
push 0x42412c
call fcn.0040d980
cmp eax, edi
jne 0x405595
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x42412c
lea edx, [esp + 0x14]
push 0x42417c
push edx
mov byte [esp + 0xac], 0x17
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, ebx
push edi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
mov eax, dword [eax + 0x18]
cmp eax, edi
je 0x4055a2
cmp dword [eax + 0x14], 4
je 0x4055e8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x42412c
lea ecx, [esp + 0x14]
push 0x42414c
push ecx
mov byte [esp + 0xac], 0x18
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebx
push edi
push edx
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404f6c
cmp dword [eax + 0x24], edi
je 0x4055f2
mov esi, dword [eax + 0x20]
jmp 0x4055f7
mov esi, 0x425b84
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40564f
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ecx, eax
push eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x24]
push 0x2f
push eax
lea ecx, [esp + 0x90]
push ebp
push ecx
mov byte [esp + 0xb0], 0x19
call fcn.00402460
add esp, 0x10
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor esi, esi
mov byte [esp + 0xa0], 0x1a
mov ecx, dword [edx]
push ecx
push esi
push eax
lea ecx, [ebx + 0x98]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 0x19
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 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x14]
push 0x424388
call fcn.0040d980
cmp eax, esi
jne 0x405713
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424388
lea edx, [esp + 0x14]
push 0x42417c
push edx
mov byte [esp + 0xac], 0x1b
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, ebx
push esi
push eax
call fcn.00401450
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x10]
jmp 0x404c6b
mov eax, dword [eax + 0x18]
cmp eax, esi
je 0x405724
cmp dword [eax + 0x14], 4
je 0x4057aa
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x424388
lea ecx, [esp + 0x14]
push 0x42414c
push ecx
mov byte [esp + 0xac], 0x1c
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebx
push esi
push edx
call fcn.00401450
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
cmp eax, esi
mov dword [esp + 0x34], 0x41e504
je 0x40578e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.0040d3c0
xor al, al
jmp 0x405cba
cmp dword [eax + 0x24], esi
je 0x4057b4
mov esi, dword [eax + 0x20]
jmp 0x4057b9
mov esi, 0x425b84
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40580c
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push 0x2f
push ecx
lea edx, [esp + 0x90]
mov bl, 0x1d
push ebp
push edx
mov byte [esp + 0xb0], bl
call fcn.00402460
add esp, 0x10
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0xa0], 0x1e
mov edx, dword [ecx]
lea esi, [edi + 0xa8]
push edx
push 0
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 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 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0
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 esi
call fcn.004017b0
add esp, 4
test eax, eax
jne 0x4058da
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esi + 4]
mov byte [esp + 0xa0], 0x1f
test esi, esi
jne 0x4058a8
mov esi, 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 esi
lea eax, [esp + 0x24]
push 0x424374
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, edi
call fcn.00401450
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x14]
push 0x424370
mov ecx, ebp
call fcn.0040d980
test eax, eax
jne 0x4058fb
mov byte [edi + 0xfc], al
mov ebx, 4
jmp 0x405961
mov eax, dword [eax + 0x18]
mov ebx, 4
test eax, eax
je 0x40590c
cmp dword [eax + 0x14], ebx
je 0x405915
mov byte [edi + 0xfc], 0
jmp 0x405961
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x405921
mov eax, dword [eax + 0x20]
jmp 0x405926
mov eax, 0x425b84
mov esi, eax
mov eax, 0x424368
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x405951
test cl, cl
je 0x40594d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x405951
add eax, 2
add esi, 2
test cl, cl
jne 0x40592d
xor eax, eax
jmp 0x405956
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [edi + 0xfc], al
push 0x424360
mov ecx, ebp
call fcn.0040d980
test eax, eax
jne 0x405979
mov byte [edi + 0xfd], al
jmp 0x4059da
mov eax, dword [eax + 0x18]
test eax, eax
je 0x405985
cmp dword [eax + 0x14], ebx
je 0x40598e
mov byte [edi + 0xfd], 0
jmp 0x4059da
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40599a
mov eax, dword [eax + 0x20]
jmp 0x40599f
mov eax, 0x425b84
mov esi, eax
mov eax, 0x424368
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4059ca
test cl, cl
je 0x4059c6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4059ca
add eax, 2
add esi, 2
test cl, cl
jne 0x4059a6
xor eax, eax
jmp 0x4059cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [edi + 0xfd], al
push 0x424358
mov ecx, ebp
call fcn.0040d980
test eax, eax
jne 0x4059f2
mov byte [edi + 0xfe], al
jmp 0x405a53
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4059fe
cmp dword [eax + 0x14], ebx
je 0x405a07
mov byte [edi + 0xfe], 0
jmp 0x405a53
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x405a13
mov eax, dword [eax + 0x20]
jmp 0x405a18
mov eax, 0x425b84
mov esi, eax
mov eax, 0x424368
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x405a43
test cl, cl
je 0x405a3f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x405a43
add eax, 2
add esi, 2
test cl, cl
jne 0x405a1f
xor eax, eax
jmp 0x405a48
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [edi + 0xfe], al
push 0x42434c
mov ecx, ebp
call fcn.0040d980
test eax, eax
jne 0x405a6f
mov dword [edi + 0x124], 1
jmp 0x405aa8
mov eax, dword [eax + 0x18]
test eax, eax
je 0x405a7b
cmp dword [eax + 0x14], ebx
je 0x405a87
mov dword [edi + 0x124], 1
jmp 0x405aa8
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x405a93
mov eax, dword [eax + 0x20]
jmp 0x405a98
mov eax, 0x425b84
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [edi + 0x124], eax
push 0x424344
mov ecx, ebp
call fcn.0040d980
test eax, eax
jne 0x405b1b
mov ecx, dword [esp + 0x1c]
mov edi, 0x424334
lea ebx, [ecx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::max_size_void_const]
cmp eax, ebp
jae 0x405ae0
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x405af2
mov al, byte [ecx - 1]
test al, al
je 0x405af2
cmp al, 0xff
jne 0x405b60
test ebp, ebp
jne 0x405b05
push 1
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x405c75
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x405b96
cmp eax, ebp
jae 0x405ba9
jmp 0x405b96
mov eax, dword [eax + 0x18]
test eax, eax
je 0x405b2b
cmp dword [eax + 0x14], ebx
je 0x405bce
mov eax, dword [esp + 0x1c]
mov edi, 0x424334
or ecx, 0xffffffff
lea ebx, [eax + 0x14]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 0xfffffffd
jbe 0x405b4e
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x405b77
mov al, byte [ecx - 1]
test al, al
je 0x405b77
cmp al, 0xff
je 0x405b77
test ebp, ebp
jne 0x405ba0
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x405c75
test ebp, ebp
jne 0x405b8a
push 1
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x405c75
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x405b96
cmp eax, ebp
jae 0x405ba9
push 1
mov ecx, ebx
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 ebp
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x424334
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
jmp 0x405c71
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x405bda
mov esi, dword [eax + 0x20]
jmp 0x405bdf
mov esi, 0x425b84
mov eax, dword [esp + 0x1c]
mov edi, esi
or ecx, 0xffffffff
lea ebp, [eax + 0x14]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x405bff
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
xor edx, edx
cmp ecx, edx
je 0x405c27
mov al, byte [ecx - 1]
test al, al
je 0x405c27
cmp al, 0xff
je 0x405c27
cmp ebx, edx
jne 0x405c4d
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
jmp 0x405c75
cmp ebx, edx
jne 0x405c37
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x405c75
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x405c43
cmp eax, ebx
jae 0x405c56
push 1
mov ecx, ebp
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
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x34], 0x41e504
mov byte [eax + 0x24], 1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x405ca1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call fcn.0040d3c0
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret