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

Disassembly:
push 0xffffffffffffffff
push 0x552c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x6c], ecx
add ecx, 0x54
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
call dword [eax + 4]
mov cl, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x58], cl
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
mov byte [esp + 0x2c], 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 + 0x84]
mov byte [esp + 0xcc], 1
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, 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 + 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_]
push 0xc
mov byte [esp + 0xcc], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0xc8], 3
je 0x40f7c6
mov ecx, dword [esp + 0xd0]
push ecx
mov ecx, eax
call fcn.00412730
jmp 0x40f7c8
xor eax, eax
mov ecx, eax
cmp eax, ebx
mov byte [esp + 0xc8], 2
mov dword [esp + 0x30], ecx
jne 0x40f7e8
push 0x8007000e
call fcn.005505fa
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov byte [esp + 0xc8], 4
je 0x40f7fd
call fcn.004127c0
mov esi, eax
jmp 0x40f7ff
xor esi, esi
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6c], 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, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x70]
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 + 0x88]
mov byte [esp + 0xc8], 5
mov edi, eax
mov esi, dword [ecx]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jae 0x40f855
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, dword [esp + 0x70]
mov ebp, ecx
sub ebp, edi
cmp esi, ebp
jae 0x40f85f
mov ebp, esi
cmp ebp, ebx
jbe 0x40f8b1
cmp ebp, ecx
jne 0x40f8b1
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x40f874
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 0x40f8b1
push 1
lea ecx, [esp + 0x5c]
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 + 0x6c]
cmp eax, ebx
jne 0x40f893
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 + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40f8f1
push 1
push ebp
lea ecx, [esp + 0x60]
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 0x40f8f1
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x40f8cf
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, ebp
lea esi, [eax + edi]
mov edi, dword [esp + 0x5c]
mov edx, ecx
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 + 0x5c]
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 edi, dword [esp + 0x5c]
cmp edi, ebx
jne 0x40f8ff
mov edi, 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 + 0x60]
xor esi, esi
cmp eax, ebx
jbe 0x40f982
mov al, byte [esi + edi]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, 0x5cb070
mov byte [esp + 0x30], al
call fcn.00413ab0
mov eax, dword [0x5cb074]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x40f965
lea eax, [esp + 0x13]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], 0
call fcn.00413b20
lea edx, [esp + 0x90]
push eax
push edx
mov ecx, 0x5cb070
call fcn.004139c0
mov eax, dword [eax]
mov al, byte [eax + 0xd]
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
push 1
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__::append_unsigned_int__char_]
mov eax, dword [esp + 0x60]
inc esi
cmp esi, eax
jb 0x40f909
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], 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 + 0xb4]
mov byte [esp + 0xcc], 6
mov byte [esp + 0xb4], 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 + 0x4c], ebx
mov byte [esp + 0x48], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x84]
push 0x2f
push eax
mov byte [esp + 0xd4], 8
call fcn.0040cf80
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, ebx
je 0x40fa02
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 3
jae 0x40fa33
push ecx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 7
call fcn.00414100
mov eax, dword [esp + 0x4c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
jmp 0x410163
mov cl, byte [esp + 0x13]
mov dword [esp + 0xa4], ebx
mov byte [esp + 0xa0], cl
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov esi, dword [esp + 0x7c]
lea edx, [esp + 0xa0]
push edx
add eax, 0x10
push 0x3a
push eax
mov ecx, esi
mov byte [esp + 0xd4], 9
call fcn.0040cf80
mov al, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x38]
push ecx
add edx, 0x20
push 0x26
push edx
mov ecx, esi
mov byte [esp + 0xd4], 0xa
call fcn.0040cf80
mov ecx, dword [esp + 0x3c]
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 0x40fbb3
mov ebx, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x2c], ebx
cmp dword [ebx + 8], esi
jae 0x40fae6
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [ebx + 8]
mov ebx, eax
sub ebx, esi
cmp edi, ebx
jae 0x40faf3
mov ebx, edi
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fb26
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 ebx, esi
mov ecx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x1c]
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 0
lea ecx, [esp + 0x1c]
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 0x40fbb3
test ebx, ebx
jbe 0x40fb74
cmp ebx, eax
jne 0x40fb74
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fb3a
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 0x40fb74
push 1
lea ecx, [esp + 0x18]
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 [edi + 4]
test eax, eax
jne 0x40fb58
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 + 0x18], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40fbb3
push 1
push ebx
lea ecx, [esp + 0x1c]
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 0x40fbb3
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fb92
mov edi, 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, ebx
add esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
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 + 0x18]
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 eax, [esp + 0x17]
push 0
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 esi, eax
mov eax, dword [ecx]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x40fcd9
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x40fbf0
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
mov ebx, eax
sub ebx, esi
cmp ecx, ebx
jae 0x40fc01
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fc30
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 ebx, esi
mov ecx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x1c]
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 0
lea ecx, [esp + 0x1c]
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 0x40fcbd
test ebx, ebx
jbe 0x40fc7e
cmp ebx, eax
jne 0x40fc7e
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fc44
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 0x40fc7e
push 1
lea ecx, [esp + 0x18]
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 [edi + 4]
test eax, eax
jne 0x40fc62
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 + 0x18], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40fcbd
push 1
push ebx
lea ecx, [esp + 0x1c]
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 0x40fcbd
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fc9c
mov edi, 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, ebx
add esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
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 + 0x18]
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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0xbc]
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 0
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 esi, eax
mov eax, dword [ecx]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x40fde3
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x40fd16
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
mov ebx, eax
sub ebx, esi
cmp ecx, ebx
jae 0x40fd27
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fd56
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 ebx, esi
mov ecx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x1c]
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 0
lea ecx, [esp + 0x1c]
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 0x40fde3
test ebx, ebx
jbe 0x40fda4
cmp ebx, eax
jne 0x40fda4
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fd6a
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 0x40fda4
push 1
lea ecx, [esp + 0x18]
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 [edi + 4]
test eax, eax
jne 0x40fd88
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 + 0x18], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40fde3
push 1
push ebx
lea ecx, [esp + 0x1c]
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 0x40fde3
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fdc2
mov edi, 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, ebx
add esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
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 + 0x18]
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 eax, [esp + 0x17]
push 0
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 esi, eax
mov eax, dword [ecx]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x40feed
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x40fe20
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
mov ebx, eax
sub ebx, esi
cmp ecx, ebx
jae 0x40fe31
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fe60
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 ebx, esi
mov ecx, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x1c]
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 0
lea ecx, [esp + 0x1c]
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 0x40feed
test ebx, ebx
jbe 0x40feae
cmp ebx, eax
jne 0x40feae
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fe74
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 0x40feae
push 1
lea ecx, [esp + 0x18]
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 [edi + 4]
test eax, eax
jne 0x40fe92
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 + 0x18], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40feed
push 1
push ebx
lea ecx, [esp + 0x1c]
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 0x40feed
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fecc
mov edi, 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, ebx
add esi, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
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 + 0x18]
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_]
xor edi, edi
push 1
lea eax, [esp + 0x17]
push edi
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 0x40ff23
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
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 edi
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 0x40ff57
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
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 edi
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 0x40ff8b
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
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 edi
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 0x40ffbf
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
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 edi
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 0x40fff3
mov edx, ebp
add ebp, 0x10
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
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 edi
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 0x410027
inc eax
mov edx, ebp
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
add ebp, 0x10
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 eax, dword [esp + 0x3c]
mov dword [esp + 0x78], edi
cmp eax, edi
je 0x410208
mov edx, dword [esp + 0x40]
sub edx, eax
sar edx, 4
cmp edx, 0xc
jbe 0x410208
mov al, byte [esp + 0x13]
push edi
lea ecx, [esp + 0x94]
mov byte [esp + 0x94], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x17]
push edi
push ecx
mov ecx, ebp
mov byte [esp + 0xd4], 0xb
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 esi, eax
cmp dword [edx], esi
je 0x4101f1
push esi
push edi
push ebp
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
inc esi
mov ecx, dword [eax]
push ecx
push esi
push ebp
lea ecx, [esp + 0x20]
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 + 0x90]
push str.bfhd
push edx
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x4101f1
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x80]
push 4
push ecx
call fcn.0040daa0
add esp, 0x10
test al, al
jne 0x4101f1
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xcc], 0xa
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 edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 9
call fcn.00414100
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0xc8], 8
call fcn.004130b0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 7
call fcn.004130b0
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xcc], 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 + 0x18]
mov byte [esp + 0xcc], 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 + 0x6c]
mov byte [esp + 0xcc], 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 + 0x84]
mov byte [esp + 0xcc], 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 + 0x5c]
mov byte [esp + 0xcc], 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 + 0x34]
mov dword [esp + 0xc8], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
jmp 0x4102cb
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xcc], 0xa
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 esi, dword [esp + 0x78]
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 9
call fcn.004130b0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 8
call fcn.004130b0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 7
call fcn.004130b0
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xcc], 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 + 0x18]
mov byte [esp + 0xcc], 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 + 0x6c]
mov byte [esp + 0xcc], 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 + 0x84]
mov byte [esp + 0xcc], 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 + 0x5c]
mov byte [esp + 0xcc], 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 + 0x34]
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4