Function at 0x41b770
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x455ad9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov al, byte [esp + 2]
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0xc]
push edi
mov byte [esp + 0x10], 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 cl, byte [esp + 0xa]
push edi
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov dword [esp + 0x98], edi
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 [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 + 0xa0]
mov dword [esp + 0x94], 1
mov eax, dword [edx]
push eax
push edi
push ecx
lea ecx, [esp + 0x18]
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_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0xa4]
mov eax, dword [edx]
push eax
push edi
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edx, [esp + 0xa]
lea ecx, [esp + 0x3c]
push edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea eax, [esp + 0xb]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0x98], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0x94], 3
push ecx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x6c]
push edx
mov byte [esp + 0x98], 4
call fcn.0041bc50
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esi + 0x34]
mov byte [esp + 0x9c], 5
call fcn.0041bd70
lea edx, [esp + 0x30]
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.0041dff0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x94], 3
call fcn.00411da0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 1
call fcn.0041b970
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]
add esi, 0x1c
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x10]
push edi
push eax
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__::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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
lea ecx, [esi + 0x10]
push edx
push edi
push eax
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 + 0x20]
cmp eax, edi
je 0x41b901
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41b8f8
cmp al, 0xff
je 0x41b8f8
dec al
mov byte [ecx], al
jmp 0x41b901
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
cmp ecx, edi
pop edi
pop esi
je 0x41b94a
mov al, byte [ecx - 1]
test al, al
je 0x41b93e
cmp al, 0xff
je 0x41b93e
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
add esp, 0x90
ret 0xc
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
add esp, 0x90
ret 0xc