Function at 0x4ade30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5d349a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x644904]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x58], eax
push edi
mov dword [esp + 0x14], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea eax, [esi + 0x18]
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov word [eax + 2], cx
mov word [eax], cx
mov word [eax + 4], cx
lea ebp, [esi + 0x24]
mov ecx, ebp
mov dword [esp + 0x68], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x40]
mov byte [esp + 0x68], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x5c]
mov byte [esp + 0x68], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edi, [esi + 0x90]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
push 0x5eb0c0
mov ecx, ebp
mov byte [esp + 0x6c], 4
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
push 0x5eb0c0
lea ecx, [esi + 0x5c]
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
push 0x5eb0c0
lea ecx, [esi + 0x40]
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
lea ecx, [esp + 0x18]
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0x80], ebx
mov byte [esi + 0x84], bl
mov byte [esi + 0x8c], bl
mov byte [esi + 0x8d], bl
mov byte [esi + 0x8e], bl
call fcn.004a7880
sub esp, 0x24
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x90], 5
call fcn.004a7a80
push 0xa
mov ecx, esi
call fcn.004add50
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
sub esp, 0x20
mov byte [esp + 0x88], 6
mov dword [esp + 0x30], esp
mov eax, esp
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x60]
mov dword [eax], ecx
push edx
lea ecx, [eax + 4]
call dword [sym.imp.MSVCP71.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__]
push 6
mov ecx, edi
call fcn.004a9d90
lea ecx, [esp + 0x40]
mov dword [esi + 0x88], ebx
mov byte [esi + 0x8f], bl
mov byte [esp + 0x68], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4adfa9
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4adfc6
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c]
mov eax, esi
call fcn.005c8895
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret