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

Disassembly:
push 0xffffffffffffffff
push 0x4f4265
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 0x4c46f1
mov dword [esp + 0x30], edi
jmp 0x4c46fd
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 0x4c51f6
jmp 0x4c4720
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.004c3cd0
cmp ebp, edi
jl 0x4c4aa7
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 0x4c499b
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 0x4c4984
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 0x4c48e2
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.004c4320
mov ecx, dword [esp + 0xac]
cmp ecx, edi
je 0x4c4a5d
mov eax, dword [esp + 0x8c]
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x4c4a5d
and eax, 0xff00
and ecx, 0xff00
cmp eax, edi
je 0x4c493f
cmp ecx, edi
je 0x4c493f
cmp eax, ecx
jne 0x4c4a5d
cmp ebp, edi
jne 0x4c49cb
cmp dword [esp + 0x98], edi
jne 0x4c49cb
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004c5250
test al, al
je 0x4c49cb
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 0x4c51df
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jg 0x4c49ef
jne 0x4c4a5d
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
cmp eax, edx
jle 0x4c4a5d
mov ecx, dword [esp + 0x184]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.004c5820
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.004c59e0
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 0x4c51a5
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.004c5340
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp edx, edi
jne 0x4c4ae6
xor eax, eax
jmp 0x4c4aed
mov eax, ebx
sub eax, edx
sar eax, 3
mov esi, dword [esp + 0x30]
cmp esi, eax
je 0x4c4b12
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.0048d320
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4c4bf6
xor eax, eax
cmp esi, edi
jle 0x4c4b42
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 0x4c4c27
mov ebp, dword [esp + 0x30]
inc eax
add ecx, 8
cmp eax, ebp
jl 0x4c4b22
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 0x4c4c95
cmp ecx, edi
jne 0x4c4c95
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 0x4c4c74
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 0x4c51df
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.0048d320
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 0x4c51df
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 0x4c518c
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4c4cbc
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 0x4c4cbe
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 0x4c4cda
mov ebx, dword [edx + eax*8 - 8]
mov ecx, dword [edx + eax*8 - 4]
add ebx, ecx
jmp 0x4c4cdc
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov edi, dword [edx + eax*8]
sub edi, ebx
test esi, esi
jle 0x4c4eba
test edi, edi
jle 0x4c4eba
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 0x4c4e0b
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 0x4c4d72
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.004c4320
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4c4d9c
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.004c4320
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c4e38
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4c4e38
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x4c4e38
and eax, 0xff00
and ecx, 0xff00
test eax, eax
je 0x4c4deb
test ecx, ecx
je 0x4c4deb
cmp eax, ecx
jne 0x4c4e38
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4c4ed4
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jne 0x4c4ed4
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 0x4c4eb6
mov ecx, dword [esp + 0x80]
xor edx, edx
cmp ecx, edx
je 0x4c4e65
mov al, byte [ecx - 1]
test al, al
je 0x4c4e57
cmp al, 0xff
je 0x4c4e57
dec al
mov byte [ecx - 1], al
jmp 0x4c4e65
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 0x4c4eaa
mov al, byte [ecx - 1]
test al, al
je 0x4c4e9c
cmp al, 0xff
je 0x4c4e9c
dec al
mov byte [ecx - 1], al
jmp 0x4c4eaa
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 0x4c4ca1
jmp 0x4c5186
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 0x4c5094
xor ebx, ebx
cmp ebp, ebx
jne 0x4c4fc9
cmp dword [esp + 0xc8], ebx
jne 0x4c4fc9
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004c5250
test al, al
je 0x4c4fc9
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 0x4c5182
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 0x4c5025
jne 0x4c5096
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x4c5096
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x2c]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00439bd0
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.004c59e0
jmp 0x4c5096
xor ebx, ebx
mov ecx, dword [esp + 0xd4]
cmp ecx, ebx
je 0x4c50bf
mov al, byte [ecx - 1]
test al, al
je 0x4c50b3
cmp al, 0xff
je 0x4c50b3
dec al
mov byte [ecx - 1], al
jmp 0x4c50bf
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 0x4c50fd
mov al, byte [ecx - 1]
test al, al
je 0x4c50f1
cmp al, 0xff
je 0x4c50f1
dec al
mov byte [ecx - 1], al
jmp 0x4c50fd
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 0x4c513b
mov al, byte [ecx - 1]
test al, al
je 0x4c512f
cmp al, 0xff
je 0x4c512f
dec al
mov byte [ecx - 1], al
jmp 0x4c513b
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 0x4c5176
mov al, byte [ecx - 1]
test al, al
je 0x4c516a
cmp al, 0xff
je 0x4c516a
dec al
mov byte [ecx - 1], al
jmp 0x4c5176
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 0x4c51d3
mov al, byte [ecx - 1]
test al, al
je 0x4c51c7
cmp al, 0xff
je 0x4c51c7
dec al
mov byte [ecx - 1], al
jmp 0x4c51d3
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 0x4c471c
mov ecx, dword [esp + 0x10c]
cmp ecx, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x4c5238
mov al, byte [ecx - 1]
test al, al
je 0x4c522c
cmp al, 0xff
je 0x4c522c
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