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

Disassembly:
push 0xffffffffffffffff
push 0x552b79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x58], ecx
add ecx, 0x54
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x64], ecx
call dword [eax + 4]
mov cl, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x44], cl
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0xc0], ebx
mov byte [esp + 0x30], 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_]
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
mov byte [esp + 0x98], dl
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, str.qstp:__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.qstp:__
lea ecx, [esp + 0x9c]
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 0xc
mov byte [esp + 0xc0], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebx
mov byte [esp + 0xbc], 3
je 0x40e5e9
mov ecx, dword [esp + 0xc4]
push ecx
mov ecx, eax
call fcn.00412730
jmp 0x40e5eb
xor eax, eax
mov ecx, eax
cmp eax, ebx
mov byte [esp + 0xbc], 2
mov dword [esp + 0x30], ecx
jne 0x40e60b
push 0x8007000e
call fcn.005505fa
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov byte [esp + 0xbc], 4
je 0x40e620
call fcn.004127c0
mov ebp, eax
jmp 0x40e622
xor ebp, ebp
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x70], dl
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
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x74]
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_]
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 eax, dword [esp + 0x9c]
mov byte [esp + 0xbc], 5
mov esi, eax
mov edi, dword [ecx]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jae 0x40e678
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, dword [esp + 0x74]
mov ebp, ecx
sub ebp, esi
cmp edi, ebp
jae 0x40e682
mov ebp, edi
cmp ebp, ebx
jbe 0x40e6d4
cmp ebp, ecx
jne 0x40e6d4
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x40e697
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]
cmp byte [eax - 1], 0xfe
jae 0x40e6d4
push 1
lea ecx, [esp + 0x48]
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 eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x40e6b6
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]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40e713
push 1
push ebp
lea ecx, [esp + 0x4c]
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 0x40e713
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x40e6f2
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]
mov edi, dword [esp + 0x48]
mov ecx, ebp
mov edx, ecx
add esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
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 + 0x48]
cmp esi, ebx
jne 0x40e721
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]
mov eax, dword [esp + 0x4c]
xor edi, edi
cmp eax, ebx
jbe 0x40e7a3
mov al, byte [edi + esi]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, 0x5cb070
mov byte [esp + 0x34], al
call fcn.00413ab0
mov eax, dword [0x5cb074]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x40e786
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], bl
call fcn.00413b20
lea edx, [esp + 0x8c]
push eax
push edx
mov ecx, 0x5cb070
call fcn.004139c0
mov eax, dword [eax]
mov al, byte [eax + 0xd]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
push 1
lea ecx, [esp + 0x9c]
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__::append_unsigned_int__char_]
mov eax, dword [esp + 0x4c]
inc edi
cmp edi, eax
jb 0x40e72b
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
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 al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc0], 6
mov byte [esp + 0xa8], 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 cl, byte [esp + 0x13]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x68]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x98]
push 0x2f
push eax
mov ecx, esi
mov byte [esp + 0xc8], 8
call fcn.0040cf80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ebx
je 0x40e829
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 3
jae 0x40e8e2
push ecx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 7
call fcn.00414100
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push 1
mov dword [esp + 0x44], ebx
mov byte [esp + 0xc0], 6
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 + 0x20]
mov byte [esp + 0xc0], 5
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 + 0x70]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x30]
call fcn.004126a0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
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 + 0x48]
mov byte [esp + 0xc0], 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_]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
jmp 0x40ede8
mov cl, byte [esp + 0x13]
mov dword [esp + 0x80], ebx
mov byte [esp + 0x7c], cl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea edx, [esp + 0x7c]
add eax, 0x10
push edx
push 0x3a
push eax
mov ecx, esi
mov byte [esp + 0xc8], 9
call fcn.0040cf80
mov al, byte [esp + 0x13]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x54], al
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push ecx
add edx, 0x20
push 0x26
push edx
mov ecx, esi
mov byte [esp + 0xc8], 0xa
call fcn.0040cf80
mov ecx, dword [esp + 0x58]
push 1
lea eax, [esp + 0x17]
push ebx
push eax
mov ebp, ecx
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 esi, eax
mov edi, dword [ecx]
cmp edi, esi
je 0x40ea6c
mov ecx, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x18], ecx
cmp dword [ecx + 8], esi
jae 0x40e98f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, esi
cmp edi, eax
mov dword [esp + 0x14], eax
jae 0x40e9a4
mov dword [esp + 0x14], edi
mov eax, edi
lea edi, [esp + 0x1c]
cmp edi, ecx
jne 0x40e9d3
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add eax, esi
mov ecx, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x24]
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__::erase_unsigned_int__unsigned_int_]
push esi
push ebx
lea ecx, [esp + 0x24]
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__::erase_unsigned_int__unsigned_int_]
jmp 0x40ea6c
cmp eax, ebx
jbe 0x40ea26
cmp eax, edx
jne 0x40ea26
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x40e9e8
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 byte [ecx - 1], 0xfe
jae 0x40ea26
push 1
lea ecx, [esp + 0x20]
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 + 0x18]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40ea0a
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]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40ea6c
push 1
push eax
lea ecx, [esp + 0x24]
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 0x40ea6c
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40ea47
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]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
add esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x20]
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_]
push 1
lea edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax]
cmp eax, esi
mov dword [esp + 0x8c], eax
je 0x40ebb0
mov edi, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x18], edi
cmp dword [edi + 8], esi
jae 0x40eaae
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x8c]
mov edi, eax
sub edi, esi
cmp ecx, edi
mov dword [esp + 0x14], edi
jae 0x40eaca
mov dword [esp + 0x14], ecx
mov edi, ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp edx, ecx
jne 0x40eafc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add edi, esi
mov ecx, dword [eax]
push ecx
push edi
lea ecx, [esp + 0x24]
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__::erase_unsigned_int__unsigned_int_]
push esi
push ebx
lea ecx, [esp + 0x24]
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__::erase_unsigned_int__unsigned_int_]
jmp 0x40eb94
cmp edi, ebx
jbe 0x40eb4e
cmp edi, eax
jne 0x40eb4e
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40eb10
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]
cmp byte [eax - 1], 0xfe
jae 0x40eb4e
push 1
lea ecx, [esp + 0x20]
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 + 0x18]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40eb32
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]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40eb94
push 1
push edi
lea ecx, [esp + 0x24]
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 0x40eb94
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40eb6f
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]
mov ecx, edi
mov edi, dword [esp + 0x20]
add esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
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 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, [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esp + 0xb0]
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 edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp ecx, eax
je 0x40ebe4
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x28]
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 edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp ecx, eax
je 0x40ec18
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x28]
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 edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp ecx, eax
je 0x40ec4c
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x28]
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 edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp ecx, eax
je 0x40ec80
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x28]
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 edx, [esp + 0x17]
push ebx
push edx
mov ecx, ebp
mov byte [esp + 0x1f], 0x3d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
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 ecx, dword [ecx]
cmp ecx, eax
je 0x40ecaf
inc eax
push ecx
push eax
push ebp
lea ecx, [esp + 0x28]
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_]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x1c]
push 1
push eax
lea esi, [edx + 0x4c]
push 4
push esi
mov dword [esi], ebx
call fcn.0040daa0
add esp, 0x10
test al, al
jne 0x40ecd0
mov dword [esi], ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov esi, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 9
call fcn.00414100
mov eax, dword [esp + 0x58]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xc4], 8
call fcn.00414100
mov eax, dword [esp + 0x80]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0xbc], 7
call fcn.004130b0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc0], 6
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 + 0x20]
mov byte [esp + 0xc0], 5
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 + 0x70]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x30]
call fcn.004126a0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
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 + 0x48]
mov byte [esp + 0xc0], 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_]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4