Function at 0x655015a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x65504018], 8
jne 0x655016c8
mov eax, dword [ebx]
cmp dword [0x6550c2a0], eax
je 0x655015e8
mov eax, dword [ebx]
cmp dword [0x6550c2b0], eax
je 0x65501810
mov ebx, 0x80004002
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebx + 4]
cmp dword [0x6550c2a4], eax
jne 0x655015c6
mov eax, dword [ebx + 8]
cmp dword [0x6550c2a8], eax
jne 0x655015c6
mov eax, dword [ebx + 0xc]
cmp dword [0x6550c2ac], eax
jne 0x655015c6
mov eax, dword [esi]
cmp dword [0x65506134], eax
je 0x65501880
mov ebx, 0x80040111
test byte [0x65504018], 1
je 0x655015d9
mov eax, esi
shr eax, 0x10
je 0x65501909
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x6550602c
mov dword [esp + 4], eax
call fcn.655010a0
mov dword [esp + 0x10], eax
mov ebx, 0x80040111
mov dword [esp + 0xc], str._s:_no_class_found._n
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x65504018
mov dword [esp], 0
call fcn.65501160
jmp 0x655015d9
test ebx, ebx
je 0x65501860
mov eax, ebx
shr eax, 0x10
je 0x655017f0
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6550602c
mov dword [esp + 4], eax
call fcn.655010a0
mov edi, eax
test esi, esi
je 0x65501870
mov eax, esi
shr eax, 0x10
je 0x65501848
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x6550602c
mov dword [esp + 4], eax
call fcn.655010a0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], str.__s__s__p__n
mov dword [esp + 8], str.DllGetClassObject
mov dword [esp + 4], 0x65504018
mov dword [esp], 3
call fcn.65501160
jmp 0x655015bc
movzx eax, bx
mov dword [esp], 0x6550601a
mov dword [esp + 4], eax
call fcn.655010a0
mov edi, eax
jmp 0x6550173f
mov eax, dword [ebx + 4]
cmp dword [0x6550c2b4], eax
jne 0x655015d4
mov eax, dword [ebx + 8]
cmp dword [0x6550c2b8], eax
jne 0x655015d4
mov eax, dword [ebx + 0xc]
cmp dword [0x6550c2bc], eax
jne 0x655015d4
jmp 0x65501609
movzx eax, si
mov dword [esp], 0x6550601a
mov dword [esp + 4], eax
call fcn.655010a0
jmp 0x655017b4
mov edi, 0x65506013
jmp 0x6550173f
mov eax, 0x65506013
jmp 0x655017b4
mov eax, dword [esi + 4]
cmp dword [0x65506138], eax
jne 0x65501617
mov eax, dword [esi + 8]
cmp dword [0x6550613c], eax
jne 0x65501617
mov eax, dword [esi + 0xc]
cmp dword [0x65506140], eax
jne 0x65501617
mov dword [esp + 8], 0xc
xor ebx, ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
test eax, eax
je 0x655018ff
mov edx, dword [ebp + 0x10]
mov dword [eax], 0x65506110
mov dword [eax + 4], 1
mov dword [eax + 8], 0x65502350
mov dword [edx], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ebx, 0x8007000e
jmp 0x655015d9
movzx esi, si
mov dword [esp], 0x6550601a
mov dword [esp + 4], esi
call fcn.655010a0
jmp 0x65501692