Function at 0x687c91f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x7c
mov dword [ebp - 0x4c], edx
mov esi, dword [ebp + 0x18]
test byte [0x687da03c], 8
jne 0x687c93f0
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x687c9448
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.687c8760
mov dword [ebp - 0x50], eax
test eax, eax
je 0x687c948a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 4], esi
mov edx, dword [ebp + 8]
mov dword [esp], eax
mov eax, edi
call fcn.687c5c10
mov esi, eax
test eax, eax
je 0x687c9480
add dword [eax + 4], 1
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, esi
call fcn.687c3240
mov dword [esp + 8], 0xc
mov dword [esp + 4], 8
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 0x687c9452
mov ecx, dword [ebp - 0x50]
mov dword [eax + 8], esi
mov dword [eax], 0
mov edx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x30]
mov edx, dword [edx + 0x1c]
test edx, edx
je 0x687c92f0
test byte [0x687da03c], 8
jne 0x687c93b8
mov ecx, dword [edi]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call edx
mov eax, dword [ebx + 0x54]
sub esp, 4
mov eax, dword [eax + 0x1c]
xor esi, esi
test eax, eax
je 0x687c93a7
test byte [eax + 5], 8
je 0x687c93a7
mov eax, dword [edi]
lea edx, [ebp - 0x48]
add ebx, 0x18
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [eax + 0xc4]
sub esp, 0x28
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.Calling_SP_CreateGroup_n
mov dword [esp + 8], str.DP_IF_CreateGroupInGroup
mov dword [esp + 4], 0x687da03c
mov dword [esp], 3
call fcn.687c3970
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x30]
mov edx, dword [edx + 0x1c]
jmp 0x687c92ca
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p____0x_08x__p__p__p_0x_08x_0x_08x__u__n
mov dword [esp + 0x1c], eax
mov dword [esp + 8], str.DP_IF_CreateGroupInGroup
mov dword [esp + 4], 0x687da03c
mov dword [esp], 3
call fcn.687c3970
jmp 0x687c9210
mov esi, 0x88770140
jmp 0x687c93a7
test byte [0x687da03c], 1
je 0x687c9480
mov dword [esp + 0xc], str.Memory_leak_n
mov dword [esp + 8], str.DP_IF_CreateGroupInGroup
mov dword [esp + 4], 0x687da03c
mov dword [esp], 0
call fcn.687c3970
nop
mov esi, 0x88770028
jmp 0x687c93a7
mov esi, 0x8877009b
jmp 0x687c93a7