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

Disassembly:
push 0xffffffffffffffff
push 0x56809c
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 0x40f096
mov ecx, dword [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.00412a10
jmp 0x40f098
xor eax, eax
mov ecx, eax
cmp eax, ebx
mov byte [esp + 0xc0], 2
mov dword [esp + 0x34], ecx
jne 0x40f0b8
push 0x8007000e
call fcn.00565a92
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov byte [esp + 0xc0], 4
je 0x40f0cd
call fcn.00412aa0
mov ebp, eax
jmp 0x40f0cf
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 0x40f134
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 0x40f13e
mov ebp, edi
cmp ebp, ebx
jbe 0x40f19c
cmp ebp, ecx
jne 0x40f19c
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x40f156
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 0x40f19c
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 0x40f178
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 0x40f1de
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 0x40f1de
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x40f1bd
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 0x40f1ec
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 0x40f26e
mov al, byte [edi + esi]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x5e5ce0
mov byte [esp + 0x34], al
call fcn.00413e70
mov eax, dword [0x5e5ce4]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x40f251
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], bl
call fcn.00413ee0
lea edx, [esp + 0xb0]
push eax
push edx
mov ecx, 0x5e5ce0
call fcn.00413d80
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 0x40f1f6
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.0040d0c0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
cmp eax, ebx
je 0x40f2f4
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 3
jae 0x40f3b0
push ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 7
call fcn.00414600
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.00412980
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 0x40f898
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.0040d0c0
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.0040d0c0
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 0x40f531
mov ecx, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x14], ecx
cmp dword [ecx + 8], esi
jae 0x40f454
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 0x40f469
mov dword [esp + 0x18], edi
mov eax, edi
lea edi, [esp + 0x1c]
cmp edi, ecx
jne 0x40f498
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 0x40f531
cmp eax, ebx
jbe 0x40f4eb
cmp eax, edx
jne 0x40f4eb
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x40f4ad
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 0x40f4eb
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 0x40f4cf
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 0x40f531
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 0x40f531
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40f50c
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 0x40f66f
mov edi, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x14], edi
cmp dword [edi + 8], esi
jae 0x40f570
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 0x40f589
mov dword [esp + 0x18], ecx
mov edi, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
cmp edx, ecx
jne 0x40f5bb
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 0x40f653
cmp edi, ebx
jbe 0x40f60d
cmp edi, eax
jne 0x40f60d
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40f5cf
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 0x40f60d
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 0x40f5f1
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 0x40f653
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 0x40f653
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40f62e
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 0x40f6a3
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 0x40f6d7
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 0x40f70b
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.0040dbe0
add esp, 0x10
test al, al
jne 0x40f72d
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 0x40f761
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 0x40f790
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.00414600
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.00414600
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.004133c0
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.00412980
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