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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516d0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ecx + 0x18]
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov al, byte [ebx + 0x14]
mov byte [ecx + 0x14], al
mov eax, dword [ebx + 0x18]
mov dword [edi], eax
push 0x5c
mov dword [ebp + 8], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x28], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], 8
mov dword [edi + 0x1c], eax
mov esi, dword [ebp - 0x10]
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], 0
mov dword [ebp - 4], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 3
lea edi, [esi + 0x44]
mov eax, dword [ebx + 0x44]
mov dword [edi], eax
push 0xc
mov dword [ebp + 8], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 5
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x48]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x48], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x50], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x54], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x60], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x64]
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], eax
lea eax, [ebx + 0x68]
push eax
call fcn.00466160
lea eax, [ebx + 0xb8]
lea ecx, [esi + 0xb8]
push eax
call fcn.00466160
lea eax, [ebx + 0x108]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x108]
push eax
call fcn.004d72f0
lea eax, [ebx + 0x128]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x128]
push eax
call fcn.004d72f0
lea eax, [ebx + 0x148]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x148]
push eax
call fcn.004d72f0
mov byte [ebp - 4], 0xb
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 0
push 0x20
call fcn.004e5c9b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x168], eax
mov ecx, dword [ebx + 0x168]
mov dword [esi + 0x168], ecx
mov dword [ebx + 0x168], eax
mov ecx, dword [esi + 0x16c]
mov eax, dword [ebx + 0x16c]
mov dword [esi + 0x16c], eax
mov dword [ebx + 0x16c], ecx
mov edx, dword [ebx + 0x178]
mov ecx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x170]
mov dword [ebx + 0x178], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x170], 0
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], ecx
mov dword [esi + 0x178], edx
mov edx, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x180]
mov eax, dword [ebx + 0x17c]
mov dword [ebx + 0x184], 0
mov dword [ebx + 0x180], 0
mov dword [ebx + 0x17c], 0
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], ecx
mov dword [esi + 0x184], edx
mov eax, dword [ebx + 0x188]
lea edi, [esi + 0x188]
mov dword [edi], eax
push 0x14
mov byte [ebp - 4], 0xe
mov dword [ebp + 8], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x10
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x18c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x190]
mov dword [ebx + 0x18c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x194]
mov dword [ebx + 0x190], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x198]
mov dword [ebx + 0x194], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x19c]
mov dword [ebx + 0x198], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x1a0]
mov dword [ebx + 0x19c], ecx
mov dword [ebx + 0x1a0], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1a4]
mov dword [ebx + 0x1a4], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x1a8]
mov edi, esi
add edi, 0x1a8
mov byte [ebp - 4], 0x11
push 0x10
mov dword [ebp + 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x13
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x1ac]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1b0]
mov dword [ebx + 0x1ac], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x1b4]
mov dword [ebx + 0x1b0], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1b8]
mov dword [ebx + 0x1b4], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x1bc]
mov dword [ebx + 0x1b8], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x1c0]
mov dword [ebx + 0x1bc], ecx
mov dword [ebx + 0x1c0], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c4]
mov dword [ebx + 0x1c4], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x1c8]
mov edi, esi
add edi, 0x1c8
mov byte [ebp - 4], 0x14
push 0x18
mov dword [ebp + 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x16
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x1cc]
mov dword [edi + 4], eax
mov dword [ebx + 0x1cc], ecx
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x1d0]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebx + 0x1d0], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1d8]
mov dword [ebx + 0x1d4], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x1dc]
mov dword [ebx + 0x1d8], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x1e0]
mov dword [ebx + 0x1dc], ecx
mov dword [ebx + 0x1e0], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1e4]
mov dword [ebx + 0x1e4], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x1e8]
mov edi, esi
add edi, 0x1e8
mov byte [ebp - 4], 0x17
push 0x10
mov dword [ebp + 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x19
call fcn.00401830
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x1ec]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1f0]
mov dword [ebx + 0x1ec], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x1f4]
mov dword [ebx + 0x1f0], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1f8]
mov dword [ebx + 0x1f4], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebx + 0x1f8], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x200]
mov dword [ebx + 0x1fc], ecx
mov dword [ebx + 0x200], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x204]
mov dword [ebx + 0x204], 8
mov dword [edi + 0x1c], eax
push 0x30
mov byte [ebp - 4], 0x1a
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 0
call fcn.004e5c9b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x208], eax
mov ecx, dword [ebx + 0x208]
mov dword [esi + 0x208], ecx
mov dword [ebx + 0x208], eax
mov ecx, dword [esi + 0x20c]
mov eax, dword [ebx + 0x20c]
mov dword [esi + 0x20c], eax
mov dword [ebx + 0x20c], ecx
push 0x30
mov byte [ebp - 4], 0x1b
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
call fcn.004e5c9b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x210], eax
mov ecx, dword [ebx + 0x210]
mov dword [esi + 0x210], ecx
mov dword [ebx + 0x210], eax
mov ecx, dword [esi + 0x214]
mov eax, dword [ebx + 0x214]
mov dword [esi + 0x214], eax
mov dword [ebx + 0x214], ecx
push 0x14
mov byte [ebp - 4], 0x1c
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
call fcn.004e5c9b
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x218], eax
mov ecx, dword [ebx + 0x218]
mov dword [esi + 0x218], ecx
mov dword [ebx + 0x218], eax
mov ecx, dword [esi + 0x21c]
mov eax, dword [ebx + 0x21c]
mov dword [esi + 0x21c], eax
mov eax, esi
pop edi
mov dword [ebx + 0x21c], ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4