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

Disassembly:
push 0xffffffffffffffff
push 0x56812b
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 0x40f9a6
mov ecx, dword [esp + 0xd0]
push ecx
mov ecx, eax
call fcn.00412a10
jmp 0x40f9a8
xor eax, eax
mov ecx, eax
cmp eax, ebx
mov byte [esp + 0xc8], 2
mov dword [esp + 0x30], ecx
jne 0x40f9c8
push 0x8007000e
call fcn.00565a92
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov byte [esp + 0xc8], 4
je 0x40f9dd
call fcn.00412aa0
mov esi, eax
jmp 0x40f9df
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 0x40fa35
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 0x40fa3f
mov ebp, esi
cmp ebp, ebx
jbe 0x40fa91
cmp ebp, ecx
jne 0x40fa91
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x40fa54
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 0x40fa91
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 0x40fa73
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 0x40fad1
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 0x40fad1
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x40faaf
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 0x40fadf
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 0x40fb62
mov al, byte [esi + edi]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, 0x5e5ce0
mov byte [esp + 0x30], al
call fcn.00413e70
mov eax, dword [0x5e5ce4]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x40fb45
lea eax, [esp + 0x13]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], 0
call fcn.00413ee0
lea edx, [esp + 0x90]
push eax
push edx
mov ecx, 0x5e5ce0
call fcn.00413d80
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 0x40fae9
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.0040d0c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, ebx
je 0x40fbe2
mov edx, ecx
sub edx, eax
sar edx, 4
cmp edx, 3
jae 0x40fc13
push ecx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 7
call fcn.00414600
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 0x410343
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.0040d0c0
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.0040d0c0
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 0x40fd93
mov ebx, ebp
inc esi
add ebp, 0x10
mov dword [esp + 0x2c], ebx
cmp dword [ebx + 8], esi
jae 0x40fcc6
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 0x40fcd3
mov ebx, edi
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fd06
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 0x40fd93
test ebx, ebx
jbe 0x40fd54
cmp ebx, eax
jne 0x40fd54
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fd1a
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 0x40fd54
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 0x40fd38
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 0x40fd93
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 0x40fd93
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fd72
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 0x40feb9
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x40fdd0
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 0x40fde1
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40fe10
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 0x40fe9d
test ebx, ebx
jbe 0x40fe5e
cmp ebx, eax
jne 0x40fe5e
mov eax, dword [edi + 4]
test eax, eax
jne 0x40fe24
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 0x40fe5e
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 0x40fe42
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 0x40fe9d
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 0x40fe9d
mov edi, dword [edi + 4]
test edi, edi
jne 0x40fe7c
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 0x40ffc3
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x40fef6
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 0x40ff07
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x40ff36
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 0x40ffc3
test ebx, ebx
jbe 0x40ff84
cmp ebx, eax
jne 0x40ff84
mov eax, dword [edi + 4]
test eax, eax
jne 0x40ff4a
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 0x40ff84
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 0x40ff68
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 0x40ffc3
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 0x40ffc3
mov edi, dword [edi + 4]
test edi, edi
jne 0x40ffa2
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 0x4100cd
mov edi, ebp
inc esi
add ebp, 0x10
cmp dword [edi + 8], esi
jae 0x410000
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 0x410011
mov ebx, ecx
lea edx, [esp + 0x14]
cmp edx, edi
jne 0x410040
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 0x4100cd
test ebx, ebx
jbe 0x41008e
cmp ebx, eax
jne 0x41008e
mov eax, dword [edi + 4]
test eax, eax
jne 0x410054
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 0x41008e
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 0x410072
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 0x4100cd
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 0x4100cd
mov edi, dword [edi + 4]
test edi, edi
jne 0x4100ac
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 0x410103
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 0x410137
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 0x41016b
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 0x41019f
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 0x4101d3
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 0x410207
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 0x4103e8
mov edx, dword [esp + 0x40]
sub edx, eax
sar edx, 4
cmp edx, 0xc
jbe 0x4103e8
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 0x4103d1
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 0x4103d1
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x80]
push 4
push ecx
call fcn.0040dbe0
add esp, 0x10
test al, al
jne 0x4103d1
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.00414600
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.004133c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 7
call fcn.004133c0
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.00412980
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 0x4104ab
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.004133c0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 8
call fcn.004133c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 7
call fcn.004133c0
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.00412980
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