Function at 0x46fd10
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e0f52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x20], esi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x4e5cec
mov al, byte [esp + 0x13]
push 0xc
mov dword [esp + 0x30], ebx
mov byte [esi + 0x20], al
call sub.MFC42.DLL_operatornew
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x17]
lea edi, [esi + 0x2c]
push 0x18
mov byte [esp + 0x34], 1
mov byte [edi], cl
mov byte [edi + 1], dl
mov byte [edi + 8], bl
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 0x14], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x590a68], ebx
jne 0x46fdb4
mov dword [0x590a68], ebp
mov dword [ebp], ebx
mov eax, dword [0x590a68]
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebx
mov edx, dword [0x590a64]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x590a64], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46fddc
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [0x590a68]
push ebx
push ecx
mov ecx, edi
call fcn.00472150
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea edi, [esi + 0x3c]
push 0x18
mov byte [esp + 0x30], 2
mov byte [edi], dl
mov byte [edi + 1], al
mov byte [edi + 8], bl
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 0x14], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x590a60], ebx
jne 0x46fe53
mov dword [0x590a60], ebp
mov dword [ebp], ebx
mov ecx, dword [0x590a60]
mov dword [esp + 0x14], ebx
mov dword [ecx + 8], ebx
mov edx, dword [0x590a5c]
lea ecx, [esp + 0x1c]
inc edx
mov dword [0x590a5c], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46fe7b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [0x590a60]
push ebx
push edx
mov ecx, edi
call fcn.00472150
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
push ebx
mov eax, 0x2710
push str.MS_Sans_Serif
push 0x50
lea ecx, [esi + 0x10]
mov byte [esp + 0x38], 3
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], 0x2ee0
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_CFont::CreatePointFont
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x2c], 4
je 0x46fee1
mov ecx, eax
call fcn.00478e00
jmp 0x46fee3
xor eax, eax
push 0x10
mov byte [esp + 0x30], 3
mov dword [esi + 0x18], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x2c], 5
je 0x46ff0b
mov ecx, eax
call fcn.00476d40
jmp 0x46ff0d
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x4c], bl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret