Function at 0x6320cc30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x7c
mov dword [ebp - 0x4c], ecx
mov esi, dword [ebp + 0x14]
test byte [0x6321d03c], 8
jne 0x6320ceb0
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x6320cf68
cmp dword [edi], 0xffffffff
je 0x6320ce58
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 4], esi
mov eax, edi
mov dword [esp], 0
call fcn.6320cb30
mov esi, eax
test eax, eax
je 0x6320cf72
mov eax, dword [edi]
test eax, eax
jne 0x6320cf10
mov eax, dword [ebx + 0x54]
mov dword [eax + 0x18], esi
test byte [0x6321d03c], 8
jne 0x6320ce28
mov eax, dword [ebp + 0xc]
add dword [esi + 4], 1
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
mov eax, esi
call fcn.632052c0
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + 0x30]
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x6320cd1c
test byte [0x6321d03c], 8
jne 0x6320cdf0
cmp dword [edi], 1
mov dword [ebp - 0x40], 0
sbb eax, eax
and eax, 0x20
add eax, 8
cmp dword [edi], 1
sbb ecx, ecx
and ecx, 0x20
or ecx, 0x408
test dword [ebp + 0x10], 0x1000
cmovne eax, ecx
mov ecx, dword [edi]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x54]
sub esp, 4
mov eax, dword [edx + 0x1c]
xor esi, esi
test eax, eax
je 0x6320cddd
test byte [eax + 5], 8
je 0x6320cddd
mov eax, dword [edi]
mov edi, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
add ebx, 0x18
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
and eax, 0x1000
mov dword [ebp - 0x1c], 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_CreateGroup
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + 0x30]
mov esi, dword [eax + 0x1c]
jmp 0x6320ccd6
mov dword [esp + 0xc], str.Inserting_system_group_n
mov dword [esp + 8], str.DP_IF_CreateGroup
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320cca6
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x6320ce90
test byte [0x6321d03c], 1
je 0x6320ce90
mov dword [esp + 0xc], 0x63220444
mov dword [esp + 8], str.DP_GetRemoteNextObjectId
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 0
call fcn.63205bb0
lea esi, [esi]
mov eax, 1
lock xadd dword [0x6321d038], eax
add eax, 1
mov dword [edi], eax
jmp 0x6320cc67
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p_____p__p__p__p_0x_08lx_0x_08lx__u__n
mov dword [esp + 8], str.DP_IF_CreateGroup
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320cc50
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 dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebx + 0x54]
mov dword [eax + 8], esi
sub esp, 0xc
mov dword [eax], 0
mov ecx, dword [edx + 0x18]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
mov dword [edx], eax
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x18]
mov dword [edx + 0xc], eax
jmp 0x6320cca6
mov esi, 0x88770140
jmp 0x6320cddd
mov esi, 0x88770028
jmp 0x6320cddd