Function at 0x47b220
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4eb4d2
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], 0x4ef478
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 [0x564440], ebx
jne 0x47b2c4
mov dword [0x564440], ebp
mov dword [ebp], ebx
mov eax, dword [0x564440]
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebx
mov edx, dword [0x56443c]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x56443c], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47b2ec
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [0x564440]
push ebx
push ecx
mov ecx, edi
call fcn.0047d770
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 [0x564438], ebx
jne 0x47b363
mov dword [0x564438], ebp
mov dword [ebp], ebx
mov ecx, dword [0x564438]
mov dword [esp + 0x14], ebx
mov dword [ecx + 8], ebx
mov edx, dword [0x564434]
lea ecx, [esp + 0x1c]
inc edx
mov dword [0x564434], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47b38b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [0x564438]
push ebx
push edx
mov ecx, edi
call fcn.0047d770
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 0x539478
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 0x47b3f1
mov ecx, eax
call fcn.004842e0
jmp 0x47b3f3
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 0x47b41b
mov ecx, eax
call fcn.004821d0
jmp 0x47b41d
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