Function at 0x4697b0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4d3b02
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], 0x4d7cdc
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 [0x57ea90], ebx
jne 0x469854
mov dword [0x57ea90], ebp
mov dword [ebp], ebx
mov eax, dword [0x57ea90]
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebx
mov edx, dword [0x57ea8c]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x57ea8c], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46987c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [0x57ea90]
push ebx
push ecx
mov ecx, edi
call fcn.0046bbe0
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 [0x57ea88], ebx
jne 0x4698f3
mov dword [0x57ea88], ebp
mov dword [ebp], ebx
mov ecx, dword [0x57ea88]
mov dword [esp + 0x14], ebx
mov dword [ecx + 8], ebx
mov edx, dword [0x57ea84]
lea ecx, [esp + 0x1c]
inc edx
mov dword [0x57ea84], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x46991b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [0x57ea88]
push ebx
push edx
mov ecx, edi
call fcn.0046bbe0
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 0x469981
mov ecx, eax
call fcn.0046fcc0
jmp 0x469983
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 0x4699ab
mov ecx, eax
call fcn.0046df10
jmp 0x4699ad
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