Function at 0x453590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4631b2
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
mov ebx, ecx
push 0x34
call sub.MFC42.DLL_operatornew
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x4535ca
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], ebp
mov ebp, eax
mov eax, dword [esp + 0x2a4]
mov ecx, ebp
push eax
call fcn.00458fc0
test al, al
je 0x4537e5
push esi
push edi
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x8c]
mov esi, str.Root
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebx + 4]
mov ecx, 6
mov edi, edx
xor esi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], esi
mov eax, dword [edx + 8]
push ecx
push 1
push eax
mov ecx, edx
call fcn.004553d0
mov ecx, dword [ebx + 0x14]
mov dl, byte [esp + 0x13]
inc ecx
push esi
mov dword [ebx + 0x14], ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x54], 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 + 0x13]
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a8], esi
mov byte [esp + 0x18], 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 + 0x14]
mov byte [esp + 0x2a4], 1
push ecx
mov ecx, ebp
call fcn.00459120
test al, al
je 0x453743
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
test eax, eax
mov dword [esp + 0x4c], edx
jne 0x4536b0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00453800
add esp, 8
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x6c]
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__]
mov ecx, 5
lea esi, [esp + 0x3c]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x68]
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [ebx + 0x2c]
mov byte [esp + 0x2ac], 2
call fcn.00455a70
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.004561a0
mov esi, dword [esp + 0x60]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2a8], 1
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 edi, [esi + 0x1c]
mov ecx, 5
lea esi, [esp + 0x3c]
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00459150
test al, al
jne 0x453683
mov edi, dword [esp + 0x2ac]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x194]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x194]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x24]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x1c]
push 1
push eax
mov dword [esp + 0x2a4], ebp
call fcn.00455720
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
je 0x4537b1
mov al, byte [ecx - 1]
test al, al
je 0x4537a7
cmp al, 0xff
je 0x4537a7
dec al
mov byte [ecx - 1], al
jmp 0x4537b1
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
pop edi
cmp ecx, esi
pop esi
je 0x4537e3
mov al, byte [ecx - 1]
test al, al
je 0x4537d9
cmp al, 0xff
je 0x4537d9
dec al
mov byte [ecx - 1], al
jmp 0x4537e3
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x294]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 4