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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5172c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0x707
mov dword [edi + 0x18], 0x1f000c
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0x707
mov dword [edi + 0x28], 0x1f000c
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 0x707
mov dword [edi + 0x38], 0x1f000c
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 0x707
mov dword [edi + 0x48], 0x1f000c
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
lea esi, [edi + 0x60]
mov byte [ebp - 4], 6
push 0x1c
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00443e65
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x68]
mov byte [ebp - 4], 7
push 0x18
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00443e65
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0x415630
push 0x415690
push 2
push 0xc
lea eax, [edi + 0xa0]
mov byte [ebp - 4], 8
push eax
call fcn.00444525
mov byte [ebp - 4], 9
xor ecx, ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
test eax, eax
je 0x4d0021
mov ecx, dword [ebp + 0xc]
mov edx, eax
lock inc dword [eax + 8]
mov dword [edi + 0xc], ecx
or ebx, 0xffffffff
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], edx
test ecx, ecx
je 0x4d003f
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x4d003f
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
call fcn.00443e65
mov esi, eax
add esp, 4
mov eax, dword [edi + 0x10]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x18], esi
test eax, eax
je 0x4d0062
mov edx, dword [edi + 0xc]
mov ecx, eax
lock inc dword [eax + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
test ecx, ecx
je 0x4d007c
mov dword [esi], edx
mov dword [esi + 4], ecx
lock inc dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
test ecx, ecx
je 0x4d0094
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x4d0094
mov eax, dword [ecx]
call dword [eax + 4]
movsd xmm0, qword [0x530d98]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x58], esi
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x88], 0
movsd qword [edi + 0x98], xmm0
mov dword [edi + 0x5c], 0
movsd qword [edi + 0x80], xmm0
mov byte [edi + 8], 1
mov word [edi + 0x54], 0
mov byte [edi + 0xb8], 0
test ecx, ecx
je 0x4d0115
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x4d0115
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc