Function at 0x40c5f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d3562
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
mov edi, 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__]
lea eax, [esp + 0x1c]
push 0x518720
push eax
mov dword [esp + 0x1c], 1
call edi
add esp, 8
test al, al
je 0x40c643
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
jmp 0x40c824
lea ecx, [esp + 0x1c]
push 0x518718
push ecx
call edi
add esp, 8
test al, al
je 0x40c66f
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esi + 0x10]
jmp 0x40c824
lea edx, [esp + 0x1c]
push 0x518710
push edx
call edi
add esp, 8
test al, al
je 0x40c69a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esi + 0x20]
jmp 0x40c824
lea eax, [esp + 0x1c]
push 0x518704
push eax
call edi
add esp, 8
test al, al
je 0x40c6c6
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esi + 0x30]
push edx
push ebx
push eax
jmp 0x40c824
lea ecx, [esp + 0x1c]
push 0x5186f8
push ecx
call edi
add esp, 8
test al, al
je 0x40c6f2
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esi + 0x40]
jmp 0x40c824
lea edx, [esp + 0x1c]
push 0x5186ec
push edx
call edi
add esp, 8
test al, al
je 0x40c71d
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esi + 0x50]
jmp 0x40c824
lea eax, [esp + 0x1c]
push 0x5186e4
push eax
call edi
add esp, 8
test al, al
je 0x40c749
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esi + 0x60]
push edx
push ebx
push eax
jmp 0x40c824
lea ecx, [esp + 0x1c]
push 0x5186d8
push ecx
call edi
add esp, 8
test al, al
je 0x40c775
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esi + 0x70]
jmp 0x40c824
lea edx, [esp + 0x1c]
push 0x5186cc
push edx
call edi
add esp, 8
test al, al
je 0x40c7a3
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esi + 0x80]
jmp 0x40c824
lea eax, [esp + 0x1c]
push 0x5186bc
push eax
call edi
add esp, 8
test al, al
je 0x40c7cf
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esi + 0x90]
push edx
push ebx
push eax
jmp 0x40c824
lea ecx, [esp + 0x1c]
push 0x5186b0
push ecx
call edi
add esp, 8
test al, al
je 0x40c7fb
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esi + 0xa0]
jmp 0x40c824
lea edx, [esp + 0x1c]
push 0x5186a0
push edx
call edi
add esp, 8
test al, al
je 0x40c864
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esi + 0xb0]
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 ecx, [esp + 0x20]
mov byte [esp + 0x18], 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_]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
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, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x20
lea eax, [esp + 0x1c]
push 0x518698
push eax
call edi
add esp, 8
test al, al
je 0x40c890
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esi + 0xc0]
push edx
push ebx
push eax
jmp 0x40c8be
lea ecx, [esp + 0x1c]
push 0x518690
push ecx
call edi
add esp, 8
test al, al
je 0x40c942
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esi + 0xd0]
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 ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x40c8e8
mov al, byte [ecx - 1]
cmp al, bl
je 0x40c8de
cmp al, 0xff
je 0x40c8de
dec al
mov byte [ecx - 1], al
jmp 0x40c8e8
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x40c92c
mov al, byte [ecx - 1]
cmp al, bl
je 0x40c922
cmp al, 0xff
je 0x40c922
dec al
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x20
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x20
mov ecx, dword [esp + 0x20]
xor ebx, ebx
cmp ecx, ebx
je 0x40c968
mov al, byte [ecx - 1]
cmp al, bl
je 0x40c95e
cmp al, 0xff
je 0x40c95e
dec al
mov byte [ecx - 1], al
jmp 0x40c968
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x40c998
mov al, byte [ecx - 1]
cmp al, bl
je 0x40c98e
cmp al, 0xff
je 0x40c98e
dec al
mov byte [ecx - 1], al
jmp 0x40c998
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x20