Function at 0x414550
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x42323c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov al, byte [esp + 3]
push ebp
push esi
mov esi, ecx
push edi
push 0
mov dword [esp + 0x14], esi
mov byte [esi], 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 + 0xf]
lea edi, [esi + 0x10]
push 0
mov dword [esp + 0x30], 0
mov byte [edi], cl
mov ecx, 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 dl, byte [esp + 0xf]
lea ebp, [esi + 0x20]
push 0
mov ecx, ebp
mov byte [esp + 0x30], 1
mov byte [ebp], 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_]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov byte [esp + 0x30], 2
call fcn.00414770
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 byte [esp + 0x2c], 3
mov edx, dword [ecx]
mov ecx, esi
push edx
push 0
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 + 0x18]
mov byte [esp + 0x2c], 2
test eax, eax
je 0x414607
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4145fe
cmp al, 0xff
je 0x4145fe
dec al
mov byte [ecx], al
jmp 0x414607
push ecx
call fcn.00421c18
add esp, 4
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00414a70
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 byte [esp + 0x2c], 4
mov edx, dword [ecx]
mov ecx, edi
push edx
push 0
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 + 0x18]
mov byte [esp + 0x2c], 2
test eax, eax
je 0x414656
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41464d
cmp al, 0xff
je 0x41464d
dec al
mov byte [ecx], al
jmp 0x414656
push ecx
call fcn.00421c18
add esp, 4
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00414d20
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 byte [esp + 0x2c], 5
mov edx, dword [ecx]
mov ecx, ebp
push edx
push 0
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 + 0x18]
test eax, eax
je 0x4146b2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4146a9
cmp al, 0xff
je 0x4146a9
dec al
pop edi
mov byte [ecx], al
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ecx
call fcn.00421c18
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret