Function at 0x4dcc30
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov esi, esp
mov dword [esi + 0x120], ebp
lea edi, [esi + 0x128]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4252f0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ecx, [esi + 0x26]
mov word [ecx], ax
lea edx, [esi + 0x24]
mov word [edx], ax
lea ebx, [esi + 0x28]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x40]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
push edx
push ecx
push eax
push dword [ebp + 0x14]
push ebx
call fcn.004dd6d0
add esp, 0x14
xor edx, edx
lea ecx, [esi + 4]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov dword [ecx], edx
xor eax, eax
cmp byte [ecx + 0xb], 0
sets al
neg eax
or eax, 0xa
mov dword [edi + 8], edx
push edx
push eax
call fcn.0046a9d0
lea ecx, [esi + 4]
xor ebx, ebx
push ebx
call fcn.0045c4d0
lea ecx, [esi + 0x1c]
mov dword [esi + 0x14], eax
mov dword [ecx], eax
lea edi, [esi + 0x80]
push 0xa0
push 0xff
push edi
call fcn.004acae0
add esp, 0xc
lea eax, [esi + 0x18]
mov dword [eax], edi
lea eax, [esi + 0x34]
mov dword [eax], ebx
lea eax, [esi + 2]
mov byte [eax], 1
lea eax, [esi + 3]
mov byte [eax], 0x45
jmp 0x4dcdd0
lea edi, [esi + 4]
mov ecx, edi
call fcn.004683b0
cmp byte [esi + 0xf], 0
mov dword [esi + 0x10], eax
js 0x4dcd35
mov ecx, edi
call fcn.004683b0
jmp 0x4dcd49
mov eax, dword [esi + 8]
jmp 0x4dcd49
cmp byte [esi + 0xf], 0
jns 0x4dcd19
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
lea edi, [esi + 4]
add eax, eax
mov ecx, edi
push 0
push eax
call fcn.0046a9d0
mov eax, dword [esi + 0xc]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0xf], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 4]
push 0
push eax
call fcn.0046a9d0
lea ecx, [esi + 4]
push 0
call fcn.0045c4d0
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x10]
add ecx, eax
mov dword [esi + 0x1c], ecx
jmp 0x4dce00
mov word [esi + 0x22], dx
mov word [esi + 0x10], cx
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x130], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x130], 0
mov ecx, edi
call ebx
movzx ecx, word [esi + 0x10]
movzx edx, word [esi + 0x22]
jmp 0x4dce1a
mov eax, dword [esi + 8]
jmp 0x4dcdf5
add eax, 2
mov dword [edi + 0xc], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004d3e50
test al, al
jne 0x4dce96
mov edi, dword [esi + 0x1c]
cmp byte [esi + 0xf], 0
js 0x4dcdc5
lea ecx, [esi + 4]
call fcn.004683b0
add eax, dword [esi + 0x14]
cmp edi, eax
je 0x4dcd3a
movzx ecx, word [esi + 0x24]
movzx edx, word [esi + 0x26]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4dcd8e
movzx eax, word [eax]
movzx ecx, cx
movzx edx, dx
movzx eax, ax
lea edi, [esi + 0x40]
push edi
lea edi, [esi + 0x34]
push edi
lea edi, [esi + 0x18]
push edi
lea edi, [esi + 0x80]
push edi
lea edi, [esi + 0x28]
push edi
push ecx
push edx
lea ecx, [esi + 0x1c]
push ecx
push dword [esi + 0x14]
lea ecx, [esi + 3]
push ecx
lea ecx, [esi + 2]
push ecx
push eax
call fcn.004dd840
add esp, 0x30
test eax, eax
jne 0x4dce96
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
jne 0x4dcdca
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x130], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x130], 0
mov ecx, edi
call ebx
jmp 0x4dcdd0
mov eax, dword [esi + 0x2c]
jmp 0x4dcea4
cmp byte [esi + 0x33], 0
js 0x4dce91
lea ecx, [esi + 0x28]
call fcn.004683b0
test eax, eax
je 0x4dcece
cmp byte [esi + 2], 0
je 0x4dcece
mov eax, dword [esi + 0x18]
mov ecx, eax
lea edx, [esi + 0x80]
sub ecx, edx
cmp ecx, 0x9f
jg 0x4dcece
mov ecx, dword [esi + 0x34]
lea edx, [eax + 4]
mov dword [esi + 0x18], edx
mov dword [eax], ecx
push dword [ebp + 0x18]
push dword [esi + 0x1c]
push dword [esi + 0x14]
call fcn.004250d0
add esp, 0xc
fstp qword [esi + 0x38]
movq xmm0, qword [esi + 0x38]
mov eax, dword [ebp + 0x1c]
movq qword [eax], xmm0
push dword [ebp + 0x18]
push dword [esi + 0x18]
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x28]
push eax
call fcn.004e3690
add esp, 0x10
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004d3e50
test al, al
je 0x4dcf1d
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0xf], 0
jns 0x4dcf36
push dword [esi + 4]
call fcn.004a8b10
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4dcf47
push dword [esi + 0x28]
call fcn.004a8b10
add esp, 4
mov eax, dword [esi + 0x128]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18