Function at 0x46a9b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x47953a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 0x20]
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
lea esi, [ebp + 4]
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 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_]
lea ecx, [esp + 0x11]
mov dword [esp + 0x28], ebx
push ecx
lea ecx, [esi + 0x14]
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__]
lea edx, [esp + 0x12]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x2c], 1
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__]
lea eax, [esp + 0x13]
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x2c], 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__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
push ecx
lea ecx, [esi + 0x4c]
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__]
lea edx, [esp + 0x15]
lea ecx, [esi + 0x5c]
push edx
mov byte [esp + 0x2c], 4
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__]
lea eax, [esp + 0x16]
lea ecx, [esi + 0x70]
push eax
mov byte [esp + 0x2c], 5
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__]
lea ecx, [esp + 0x17]
mov byte [esp + 0x28], 6
push ecx
lea ecx, [esi + 0x80]
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 edi, 0x48c05c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x28], 7
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x48c05c
mov ecx, esi
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_char_const___unsigned_int_]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x48], ebx
mov dl, byte [esp + 0x30]
lea ecx, [ebp + 0x94]
mov dword [esp + 0x28], 8
push ebx
mov byte [ecx], 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_]
mov al, byte [esp + 0x30]
mov byte [esp + 0x28], 9
lea ecx, [ebp + 0xa4]
push ebx
mov byte [ecx], 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 dl, byte [esp + 0x30]
lea ecx, [ebp + 0xb4]
mov byte [esp + 0x28], 0xa
push ebx
mov byte [ecx], 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_]
mov al, byte [esp + 0x30]
lea ecx, [ebp + 0xc4]
mov byte [esp + 0x28], 0xb
push ebx
mov byte [ecx], 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_]
lea ecx, [ebp + 0xd4]
mov byte [esp + 0x28], 0xc
call fcn.0040aa40
mov dl, byte [esp + 0x30]
lea edi, [ebp + 0x110]
mov byte [esp + 0x28], 0xd
push ebx
lea ecx, [edi + 8]
mov dword [esp + 0x20], edi
mov byte [ecx], 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_]
mov esi, 1
mov byte [esp + 0x28], 0xe
mov dword [edi], 0xffffffff
mov dword [edi + 4], ebx
mov dword [edi + 0x18], esi
mov al, byte [esp + 0x30]
lea edi, [ebp + 0x13c]
mov byte [esp + 0x28], 0xf
push ebx
lea ecx, [edi + 8]
mov dword [esp + 0x20], edi
mov byte [ecx], 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 byte [esp + 0x28], 0x10
mov dword [edi], 0xffffffff
mov dword [edi + 4], ebx
mov dword [edi + 0x18], esi
mov dl, byte [esp + 0x30]
lea edi, [ebp + 0x168]
mov byte [esp + 0x28], 0x11
push ebx
lea ecx, [edi + 8]
mov dword [esp + 0x20], edi
mov byte [ecx], 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_]
mov byte [esp + 0x28], 0x12
mov dword [edi], 0xffffffff
mov dword [edi + 4], ebx
mov dword [edi + 0x18], esi
lea edi, [ebp + 0x194]
lea eax, [esp + 0x17]
mov byte [esp + 0x28], 0x13
push eax
lea ecx, [edi + 8]
mov dword [esp + 0x20], edi
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 byte [esp + 0x28], 0x14
mov dword [edi], 0xffffffff
mov dword [edi + 4], ebx
mov dword [edi + 0x18], esi
mov cl, byte [esp + 0x30]
mov byte [esp + 0x28], 0x15
lea esi, [ebp + 0x1c0]
mov byte [esi], cl
push ebx
mov ecx, esi
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 + 0x30]
lea ecx, [ebp + 0x1d0]
mov byte [esp + 0x28], 0x16
push ebx
mov byte [ecx], 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_]
mov al, byte [esp + 0x30]
lea ecx, [ebp + 0x224]
mov byte [esp + 0x28], 0x17
push ebx
mov byte [ecx], 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 ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x28], 0x18
mov dword [ebp + 0x208], ecx
or ecx, 0xffffffff
mov edi, str.Text
xor eax, eax
mov dword [ebp], 0x47e064
mov dword [ebp + 0x20c], edx
mov dword [ebp + 0x210], ebx
mov dword [ebp + 0x21c], ebx
mov dword [ebp + 0x220], ebx
mov dword [ebp + 0x214], ebx
mov dword [ebp + 0x218], ebx
mov dword [ebp + 0x234], ecx
mov dword [ebp + 0x238], ecx
mov dword [ebp + 0x244], ebx
mov dword [ebp + 0x23c], 2
mov dword [ebp + 0x24c], 1
mov dword [ebp + 0x1e0], ebx
mov dword [ebp + 0x1e4], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Text
mov ecx, esi
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_char_const___unsigned_int_]
mov edi, str.0_KB_S
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp + 0x1d0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46acf9
mov eax, dword [esi + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
mov esi, str.0_KB_S
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [ebp + 0x1d0]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ecx, dword [esp + 0x20]
pop edi
mov dword [ebp + 0x248], ebx
mov dword [ebp + 0x240], 1
mov dword [ebp + 0x104], ebx
mov dword [ebp + 0xfc], ebx
mov dword [ebp + 0x100], ebx
mov dword [ebp + 0x108], ebx
mov dword [ebp + 0x10c], ebx
mov dword [ebp + 0x250], 0x7d
mov dword [ebp + 0x254], 0x4e
mov eax, ebp
pop esi
mov dword [esp + 0x20], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8