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

Disassembly:
push 0xffffffffffffffff
push 0x4f6f25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
or ebp, 0xffffffff
push edi
lea ecx, [esp + 0x10c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xac], ebp
mov byte [esp + 0x10c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esi + 8]
mov dword [esp + 0x170], edi
cmp eax, edi
jne 0x4c6fb1
mov dword [esp + 0x30], edi
jmp 0x4c6fbd
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x180]
mov dword [esp + 0x44], edi
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebx, eax
mov dword [esp + 0x2c], ebx
je 0x4c7ab6
jmp 0x4c6fe0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x17c]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov ecx, ebx
sub eax, edx
lea edx, [esp + 0x48]
push eax
push edi
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x174], 1
call fcn.004c6590
cmp ebp, edi
jl 0x4c7367
mov cl, byte [esp + 0x13]
push edi
mov byte [esp + 0x94], cl
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x178]
push ebp
push edi
push esi
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [esp + 0x64]
add ecx, ebp
mov byte [esp + 0x170], 2
mov eax, dword [edx]
lea edx, [esp + 0x140]
push eax
push ecx
push edx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x170], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x90]
push edx
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
sub esi, ecx
cmp esi, edi
jle 0x4c725b
mov al, byte [esp + 0x13]
push edi
lea ecx, [esp + 0xb4]
mov byte [esp + 0xb4], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push ebp
lea ecx, [esp + 0x4c]
push edi
push ecx
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x98]
lea eax, [esi + ebp]
sub edx, ebp
lea ecx, [esp + 0x158]
push edx
push eax
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x17c], 4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x170], 5
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x15c]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x90]
push edx
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
jne 0x4c7244
push esi
lea ecx, [esp + 0xfc]
push ebp
push ecx
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x170], 6
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x58], edi
jne 0x4c71a2
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x58]
push edx
lea edx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.004c6be0
mov ecx, dword [esp + 0xac]
cmp ecx, edi
je 0x4c731d
mov eax, dword [esp + 0x8c]
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x4c731d
and eax, 0xff00
and ecx, 0xff00
cmp eax, edi
je 0x4c71ff
cmp ecx, edi
je 0x4c71ff
cmp eax, ecx
jne 0x4c731d
cmp ebp, edi
jne 0x4c728b
cmp dword [esp + 0x98], edi
jne 0x4c728b
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004c7b10
test al, al
je 0x4c728b
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x174], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4c7a9f
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jg 0x4c72af
jne 0x4c731d
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
cmp eax, edx
jle 0x4c731d
mov ecx, dword [esp + 0x184]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.004c80e0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
sub eax, ecx
xor ecx, ecx
cmp esi, edx
setne cl
mov edx, dword [esp + 0xa0]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe0], ecx
inc ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x138]
push eax
push ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 0xf0], edx
call fcn.004c82a0
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x174], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4c7a65
mov dl, byte [esp + 0x13]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x18], dl
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x178], 7
call fcn.004c7c00
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp edx, edi
jne 0x4c73a6
xor eax, eax
jmp 0x4c73ad
mov eax, ebx
sub eax, edx
sar eax, 3
mov esi, dword [esp + 0x30]
cmp esi, eax
je 0x4c73d2
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.0047e270
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4c74b6
xor eax, eax
cmp esi, edi
jle 0x4c7402
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
lea ecx, [edx + 4]
mov ebp, dword [ecx]
cmp ebp, dword [esi + eax*8 + 4]
jne 0x4c74e7
mov ebp, dword [esp + 0x30]
inc eax
add ecx, 8
cmp eax, ebp
jl 0x4c73e2
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, dword [edx]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4c7555
cmp ecx, edi
jne 0x4c7555
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x178]
push edx
lea eax, [esp + 0x12c]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x118]
mov byte [esp + 0x170], 8
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x48]
push edx
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x128]
push ecx
push edx
mov byte [esp + 0x178], 9
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
mov byte [esp + 0x170], 8
test al, al
push 1
lea ecx, [esp + 0x11c]
je 0x4c7534
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
mov dword [esp + 0x28], edi
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [esp + 0x2c]
jmp 0x4c7a9f
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.0047e270
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
mov dword [esp + 0x28], edi
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
jmp 0x4c7a9f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edx, dword [esp + 0x1c]
cmp esi, edi
mov dword [esp + 0x40], edi
jle 0x4c7a4c
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4c757c
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov ebp, dword [ecx + eax*8 - 4]
mov esi, dword [ecx + eax*8 - 8]
add ebp, esi
jmp 0x4c757e
xor ebp, ebp
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + eax*8]
sub esi, ebp
test eax, eax
jle 0x4c759a
mov ebx, dword [edx + eax*8 - 8]
mov ecx, dword [edx + eax*8 - 4]
add ebx, ecx
jmp 0x4c759c
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov edi, dword [edx + eax*8]
sub edi, ebx
test esi, esi
jle 0x4c777a
test edi, edi
jle 0x4c777a
push esi
lea ecx, [esp + 0x6c]
push ebp
push ecx
mov ecx, dword [esp + 0x184]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push edi
lea edx, [esp + 0x80]
push ebx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x17c], 0xa
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0x178], 0xb
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
jne 0x4c76cb
mov eax, dword [esp + 0x6c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ecx
jne 0x4c7632
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x34]
lea ecx, [esp + 0x3c]
push edx
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.004c6be0
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4c765c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xa8]
push edx
push ecx
mov ecx, dword [esp + 0x20]
push edi
push eax
call fcn.004c6be0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c76f8
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4c76f8
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x4c76f8
and eax, 0xff00
and ecx, 0xff00
test eax, eax
je 0x4c76ab
test ecx, ecx
je 0x4c76ab
cmp eax, ecx
jne 0x4c76f8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4c7794
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jne 0x4c7794
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x174], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4c7776
mov ecx, dword [esp + 0x80]
xor edx, edx
cmp ecx, edx
je 0x4c7725
mov al, byte [ecx - 1]
test al, al
je 0x4c7717
cmp al, 0xff
je 0x4c7717
dec al
mov byte [ecx - 1], al
jmp 0x4c7725
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], edx
cmp ecx, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov byte [esp + 0x170], 7
je 0x4c776a
mov al, byte [ecx - 1]
test al, al
je 0x4c775c
cmp al, 0xff
je 0x4c775c
dec al
mov byte [ecx - 1], al
jmp 0x4c776a
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x4c7561
jmp 0x4c7a46
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esi + ebp]
mov eax, dword [edx]
lea edx, [esp + 0xc0]
push eax
push ecx
mov ecx, dword [esp + 0x180]
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [edi + ebx]
mov byte [esp + 0x170], 0xc
mov ecx, dword [eax]
lea eax, [esp + 0xd0]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xc0]
push ecx
push edx
mov byte [esp + 0x178], 0xd
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
je 0x4c7954
xor ebx, ebx
cmp ebp, ebx
jne 0x4c7889
cmp dword [esp + 0xc8], ebx
jne 0x4c7889
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004c7b10
test al, al
je 0x4c7889
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x174], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x174], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4c7a42
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x8c], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov dword [esp + 0x78], eax
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x68]
mov eax, dword [edx]
mov dword [esp + 0x28], ebp
push eax
push ebx
push ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x70], esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jg 0x4c78e5
jne 0x4c7956
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x4c7956
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x2c]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00439e00
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
xor ecx, ecx
cmp edi, esi
mov edx, dword [esp + 0x34]
setne cl
mov dword [esp + 0xf4], edx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xec], ecx
inc ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0xec]
lea ecx, [esp + 0x150]
push eax
push ecx
mov ecx, dword [esp + 0x190]
call fcn.004c82a0
jmp 0x4c7956
xor ebx, ebx
mov ecx, dword [esp + 0xd4]
cmp ecx, ebx
je 0x4c797f
mov al, byte [ecx - 1]
test al, al
je 0x4c7973
cmp al, 0xff
je 0x4c7973
dec al
mov byte [ecx - 1], al
jmp 0x4c797f
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xd4], ebx
cmp ecx, ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x4c79bd
mov al, byte [ecx - 1]
test al, al
je 0x4c79b1
cmp al, 0xff
je 0x4c79b1
dec al
mov byte [ecx - 1], al
jmp 0x4c79bd
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc4], ebx
cmp ecx, ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
je 0x4c79fb
mov al, byte [ecx - 1]
test al, al
je 0x4c79ef
cmp al, 0xff
je 0x4c79ef
dec al
mov byte [ecx - 1], al
jmp 0x4c79fb
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], ebx
cmp ecx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
je 0x4c7a36
mov al, byte [ecx - 1]
test al, al
je 0x4c7a2a
cmp al, 0xff
je 0x4c7a2a
dec al
mov byte [ecx - 1], al
jmp 0x4c7a36
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
xor edi, edi
push edx
call sub.MFC42.DLL_operatordelete
mov ebx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x170], 0
cmp ecx, edi
je 0x4c7a93
mov al, byte [ecx - 1]
test al, al
je 0x4c7a87
cmp al, 0xff
je 0x4c7a87
dec al
mov byte [ecx - 1], al
jmp 0x4c7a93
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x180]
add ebx, 0x10
mov dword [esp + 0x2c], ebx
cmp ebx, dword [edx + 8]
jne 0x4c6fdc
mov ecx, dword [esp + 0x10c]
cmp ecx, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x4c7af8
mov al, byte [ecx - 1]
test al, al
je 0x4c7aec
cmp al, 0xff
je 0x4c7aec
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret 0x14
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret 0x14