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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455be2
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
mov ebp, ecx
push 0x34
call sub.MFC42.DLL_operatornew
xor esi, esi
add esp, 4
cmp eax, esi
je 0x44061d
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov ebx, eax
jmp 0x44061f
xor ebx, ebx
mov eax, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2a8]
push eax
push ecx
mov ecx, ebx
call fcn.00449000
test al, al
je 0x44083f
push edi
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x8c]
push str.Root
lea edx, [esp + 0x90]
push 0x103
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edx, [ebp + 4]
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x8c]
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], esi
mov eax, dword [edx + 8]
push ecx
push 1
push eax
mov ecx, edx
call fcn.00442490
mov ecx, dword [ebp + 0x14]
mov dl, byte [esp + 0x13]
inc ecx
push esi
mov dword [ebp + 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, ebx
call fcn.004491e0
test al, al
je 0x4407ad
mov dword [esp + 0x3c], ebx
jmp 0x4406eb
xor esi, esi
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]
cmp eax, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
jne 0x440718
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.00440860
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, [ebp + 0x2c]
mov byte [esp + 0x2ac], 2
call fcn.00442b30
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00443260
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, ebx
call fcn.00449210
test al, al
jne 0x4406e9
xor esi, esi
mov ecx, dword [esp + 0x2ac]
push 0x103
lea edx, [esp + 0x198]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
mov edx, dword [ebp + 0x24]
add esp, 0xc
lea ecx, [ebp + 0x1c]
lea eax, [esp + 0x194]
push eax
push 1
push edx
mov dword [esp + 0x2a4], ebx
call fcn.004427e0
mov ecx, dword [esp + 0x18]
pop edi
cmp ecx, esi
je 0x44080d
mov al, byte [ecx - 1]
test al, al
je 0x440803
cmp al, 0xff
je 0x440803
dec al
mov byte [ecx - 1], al
jmp 0x44080d
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], esi
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x44083d
mov al, byte [ecx - 1]
test al, al
je 0x440833
cmp al, 0xff
je 0x440833
dec al
mov byte [ecx - 1], al
jmp 0x44083d
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x298]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 8