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

Disassembly:
push 0xffffffffffffffff
push 0x552bfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x20], ecx
add ecx, 0x54
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x7c], ecx
call dword [eax + 4]
mov cl, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x4c], cl
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0xc4], 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 + 0x94]
mov byte [esp + 0xc4], 1
mov byte [esp + 0x94], 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 + 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_char_const___unsigned_int_]
push 0xc
mov byte [esp + 0xc4], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0xc0], 3
je 0x40eed6
mov ecx, dword [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.00412730
jmp 0x40eed8
xor eax, eax
mov ecx, eax
cmp eax, ebx
mov byte [esp + 0xc0], 2
mov dword [esp + 0x34], ecx
jne 0x40eef8
push 0x8007000e
call fcn.005505fa
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov byte [esp + 0xc0], 4
je 0x40ef0d
call fcn.004127c0
mov ebp, eax
jmp 0x40ef0f
xor ebp, ebp
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], 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 + 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_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 + 0x98]
mov byte [esp + 0xc0], 5
mov esi, eax
mov edi, dword [ecx]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jae 0x40ef74
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, dword [esp + 0x88]
mov ebp, ecx
sub ebp, esi
cmp edi, ebp
jae 0x40ef7e
mov ebp, edi
cmp ebp, ebx
jbe 0x40efdc
cmp ebp, ecx
jne 0x40efdc
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x40ef96
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 0x40efdc
push 1
lea ecx, [esp + 0x50]
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 + 0x84]
cmp eax, ebx
jne 0x40efb8
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 + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40f01e
push 1
push ebp
lea ecx, [esp + 0x54]
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 0x40f01e
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x40effd
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 + 0x50]
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 + 0x50]
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 + 0x50]
cmp esi, ebx
jne 0x40f02c
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 + 0x54]
xor edi, edi
cmp eax, ebx
jbe 0x40f0ae
mov al, byte [edi + esi]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x5cb070
mov byte [esp + 0x34], al
call fcn.00413ab0
mov eax, dword [0x5cb074]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x40f091
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], bl
call fcn.00413b20
lea edx, [esp + 0xb0]
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 + 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__::append_unsigned_int__char_]
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jb 0x40f036
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 + 0xa4]
mov byte [esp + 0xc4], 6
mov byte [esp + 0xa4], 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 + 0x40], ebx
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x94]
push 0x2f
push eax
mov ecx, esi
mov byte [esp + 0xcc], 8
call fcn.0040cf80
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
cmp eax, ebx
je 0x40f134
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 3
jae 0x40f1f0
push ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 7
call fcn.00414100
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 1
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xc4], 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 + 0xc4], 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 + 0x84]
mov byte [esp + 0xc4], 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 + 0x34]
call fcn.004126a0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xc4], 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 + 0x50]
mov byte [esp + 0xc4], 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 + 0x7c]
mov dword [esp + 0xc0], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
jmp 0x40f6d8
mov cl, byte [esp + 0x13]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
lea edx, [esp + 0x6c]
add eax, 0x10
push edx
push 0x3a
push eax
mov ecx, esi
mov byte [esp + 0xcc], 9
call fcn.0040cf80
mov al, byte [esp + 0x13]
mov dword [esp + 0x60], ebx
mov byte [esp + 0x5c], al
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x5c]
push ecx
add edx, 0x20
push 0x26
push edx
mov ecx, esi
mov byte [esp + 0xcc], 0xa
call fcn.0040cf80
mov ecx, dword [esp + 0x60]
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 0x40f371
mov ecx, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x14], ecx
cmp dword [ecx + 8], esi
jae 0x40f294
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, esi
cmp edi, eax
mov dword [esp + 0x18], eax
jae 0x40f2a9
mov dword [esp + 0x18], edi
mov eax, edi
lea edi, [esp + 0x1c]
cmp edi, ecx
jne 0x40f2d8
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 0x40f371
cmp eax, ebx
jbe 0x40f32b
cmp eax, edx
jne 0x40f32b
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x40f2ed
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 0x40f32b
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 + 0x14]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40f30f
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 0x40f371
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 0x40f371
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40f34c
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 + 0x18]
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 + 0x30], eax
je 0x40f4af
mov edi, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x14], edi
cmp dword [edi + 8], esi
jae 0x40f3b0
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x30]
mov edi, eax
sub edi, esi
cmp ecx, edi
mov dword [esp + 0x18], edi
jae 0x40f3c9
mov dword [esp + 0x18], ecx
mov edi, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
cmp edx, ecx
jne 0x40f3fb
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 0x40f493
cmp edi, ebx
jbe 0x40f44d
cmp edi, eax
jne 0x40f44d
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40f40f
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 0x40f44d
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 + 0x14]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40f431
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 0x40f493
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 0x40f493
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40f46e
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 + 0x18]
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 + 0xac]
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 0x40f4e3
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 0x40f517
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 0x40f54b
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_]
lea edx, [esp + 0x1c]
push 1
push edx
lea eax, [esp + 0x40]
push 4
push eax
mov dword [esp + 0x48], ebx
call fcn.0040daa0
add esp, 0x10
test al, al
jne 0x40f56d
mov dword [esp + 0x38], ebx
push 1
lea ecx, [esp + 0x17]
push ebx
push ecx
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 edx, 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 [edx]
cmp ecx, eax
je 0x40f5a1
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 eax, [esp + 0x17]
push ebx
push eax
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 0x40f5d0
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 + 0x64]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xc8], 9
call fcn.00414100
mov ecx, dword [esp + 0x60]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
push edx
push eax
mov dword [esp + 0x70], ebx
mov byte [esp + 0xc8], 8
call fcn.00414100
mov ecx, dword [esp + 0x70]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 7
call fcn.004130b0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xc4], 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 + 0xc4], 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 + 0x84]
mov byte [esp + 0xc4], 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 + 0x34]
call fcn.004126a0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xc4], 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 + 0x50]
mov byte [esp + 0xc4], 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 + 0x7c]
mov dword [esp + 0xc0], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 4