Function at 0x4a56d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50182b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4a5764
push 0x30
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x38], 0
je 0x4a5757
push 0
push 0
push 0x46293e59
push 0x39a08cea
push 0x46293e59
push 0x39a08cea
mov ecx, edi
call fcn.004d5c00
push 0
push 0
push 0xc6293e59
push 0x39a08cea
push 0xc6293e59
push 0x39a08cea
lea ecx, [edi + 0x18]
call fcn.004d5c00
jmp 0x4a5759
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x1c], edi
mov edi, dword [esi + 0x1c]
push 0
push 0
push 0x46293e59
push 0x39a08cea
push 0x46293e59
push 0x39a08cea
mov ecx, edi
call fcn.004d6080
push 0
push 0
push 0xc6293e59
push 0x39a08cea
push 0xc6293e59
push 0x39a08cea
lea ecx, [edi + 0x18]
call fcn.004d6080
mov eax, dword [esi + 8]
test eax, eax
je 0x4a57fc
mov ebx, dword [esi + 0x1c]
lea edi, [eax + 0x10]
push edi
mov ecx, ebx
call fcn.004466d0
add edi, 0x18
mov ecx, ebx
push edi
call fcn.004466d0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4a5959
mov esi, dword [esi + 0x1c]
lea edi, [eax + 0x10]
push edi
mov ecx, esi
call fcn.004466d0
add edi, 0x18
mov ecx, esi
push edi
call fcn.004466d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call fcn.004d5c00
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
add edx, 0x10
fld qword [edx]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x4a5850
fld qword [edx]
fstp qword [ecx]
fld qword [edx + 8]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 1
je 0x4a5863
fld qword [edx + 8]
fstp qword [ecx + 8]
fld qword [edx + 0x10]
fcomp qword [ecx + 0x10]
fnstsw ax
test ah, 1
je 0x4a5876
fld qword [edx + 0x10]
fstp qword [ecx + 0x10]
fld qword [edx]
fcomp qword [ecx + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4a5887
fld qword [edx]
fstp qword [ecx + 0x18]
fld qword [edx + 8]
fcomp qword [ecx + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4a589a
fld qword [edx + 8]
fstp qword [ecx + 0x20]
fld qword [edx + 0x10]
fcomp qword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x4a58ad
fld qword [edx + 0x10]
fstp qword [ecx + 0x28]
add edx, 0x18
push edx
call fcn.004466d0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a594b
mov ecx, dword [esi + 0x1c]
lea edx, [eax + 0x10]
fld qword [edx]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x4a58d7
fld qword [edx]
fstp qword [ecx]
fld qword [edx + 8]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 1
je 0x4a58ea
fld qword [edx + 8]
fstp qword [ecx + 8]
fld qword [edx + 0x10]
fcomp qword [ecx + 0x10]
fnstsw ax
test ah, 1
je 0x4a58fd
fld qword [edx + 0x10]
fstp qword [ecx + 0x10]
fld qword [edx]
fcomp qword [ecx + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4a590e
fld qword [edx]
fstp qword [ecx + 0x18]
fld qword [edx + 8]
fcomp qword [ecx + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4a5921
fld qword [edx + 8]
fstp qword [ecx + 0x20]
fld qword [edx + 0x10]
fcomp qword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x4a5934
fld qword [edx + 0x10]
fstp qword [ecx + 0x28]
add edx, 0x18
push edx
call fcn.004466d0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a594b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a5959
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret