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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ccf39
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4ccf52
add esp, 0xfffffff0
call fcn.00404aac
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.00406478
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x4cd192
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004061e8
jne 0x4ccf8c
xor edx, edx
mov eax, edi
call fcn.004ccce4
jmp 0x4cd152
xor eax, eax
mov dword [esi], eax
xor eax, eax
push ebp
push 0x4cd137
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea eax, [ebp - 0x10]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00405938
mov eax, dword [ebp - 0xc]
call fcn.0040c3f4
mov dword [edi + 4], eax
push esi
lea eax, [ebp - 0x14]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x14]
lea eax, [edi + 8]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x18]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x18]
lea eax, [edi + 0xc]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x10]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x20]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x14]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x24]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x18]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00405938
mov eax, dword [ebp - 0x28]
call fcn.0040c3f4
mov byte [edi + 0x1c], al
push esi
lea eax, [ebp - 0x30]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0x20]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x34]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x34]
lea eax, [edi + 0x24]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x38]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x38]
lea eax, [edi + 0x28]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 0x2c]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x40]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x40]
lea eax, [edi + 0x30]
call fcn.00405ef8
push esi
lea eax, [ebp - 0x44]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.00494f60
mov edx, dword [ebp - 0x44]
lea eax, [edi + 0x34]
call fcn.00405ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd152
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd199
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00405ed4
lea eax, [ebp - 0x28]
call fcn.00405684
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00405ed4
lea eax, [ebp - 0xc]
call fcn.00405684
lea eax, [ebp - 4]
call fcn.00405ebc
ret