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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
lea esi, [edi + 0x18]
mov eax, dword [ebx]
push 0x5c
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov al, byte [ebx + 0x14]
mov byte [edi + 0x14], al
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 1
call fcn.00401830
mov eax, dword [ebx + 0x1c]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d64f0
lea eax, [ebx + 0x38]
mov dword [ebp - 4], 2
lea ecx, [edi + 0x38]
push eax
call fcn.00471270
mov eax, dword [ebx + 0x44]
lea esi, [edi + 0x44]
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 4], 5
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x54]
sub eax, dword [ebx + 0x50]
push dword [esi + 4]
sar eax, 2
push eax
call fcn.00401830
mov eax, dword [ebx + 0x48]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d6300
mov eax, dword [ebx + 0x64]
lea ecx, [edi + 0x68]
mov dword [edi + 0x64], eax
lea eax, [ebx + 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.004d7480
lea eax, [ebx + 0xb8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xb8]
push eax
call fcn.004d7480
lea eax, [ebx + 0x108]
mov byte [ebp - 4], 8
lea ecx, [edi + 0x108]
push eax
call fcn.004d73d0
lea eax, [ebx + 0x128]
mov byte [ebp - 4], 9
lea ecx, [edi + 0x128]
push eax
call fcn.004d73d0
lea eax, [ebx + 0x148]
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x148]
push eax
call fcn.004d73d0
lea esi, [edi + 0x168]
mov dword [ebp - 0x34], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebx + 0x168]
mov dword [ebp - 0x38], esi
push eax
push dword [eax]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.004d58c0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
push 0x20
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x24], 0
call fcn.004e5c9b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4d7ed3
mov dword [edx], edx
mov dword [edx + 4], edx
jmp 0x4d7ee6
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [ecx + 4], edx
mov dword [eax], edx
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov dword [esi], edx
lea eax, [ebx + 0x170]
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x170]
push eax
call fcn.00471270
lea eax, [ebx + 0x17c]
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x17c]
push eax
call fcn.00471270
mov eax, dword [ebx + 0x188]
lea esi, [edi + 0x188]
mov dword [esi], eax
push 0x14
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x1a0]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1a4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x198]
sub eax, dword [ebx + 0x194]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 0x12
call fcn.00401830
mov eax, dword [ebx + 0x18c]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d6750
mov eax, dword [ebx + 0x1a8]
lea esi, [edi + 0x1a8]
mov dword [esi], eax
push 0x10
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x1c0]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x1b8]
sub eax, dword [ebx + 0x1b4]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 0x15
call fcn.00401830
mov eax, dword [ebx + 0x1ac]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d6bc0
mov eax, dword [ebx + 0x1c8]
lea esi, [edi + 0x1c8]
mov dword [esi], eax
push 0x18
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x1e0]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1e4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x1d8]
sub eax, dword [ebx + 0x1d4]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 0x18
call fcn.00401830
mov eax, dword [ebx + 0x1cc]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d6db0
mov eax, dword [ebx + 0x1e8]
lea esi, [edi + 0x1e8]
mov dword [esi], eax
push 0x10
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e5c9b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebx + 0x200]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x204]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x1f8]
sub eax, dword [ebx + 0x1f4]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 0x1b
call fcn.00401830
mov eax, dword [ebx + 0x1ec]
mov ecx, esi
push eax
push dword [eax]
call fcn.004d6960
lea ecx, [edi + 0x208]
mov dword [ecx], 0
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
xor edi, edi
mov eax, dword [ebx + 0x208]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edi
mov esi, dword [eax]
cmp esi, eax
je 0x4d8256
mov dword [ebp - 0x28], ecx
push 0x30
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x24], edi
call fcn.004e5c9b
mov ebx, eax
add esp, 4
lea edi, [ebx + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [edi + 0x24], 0
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x1f
test ecx, ecx
je 0x4d81ac
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov esi, dword [esi]
mov edi, 1
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
cmp esi, dword [ebp - 0x14]
je 0x4d822d
lea esp, [esp]
push 0x30
mov dword [ebp - 0x24], 0
call fcn.004e5c9b
mov edi, eax
add esp, 4
lea ecx, [edi + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x20
test edx, edx
je 0x4d8208
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov dword [edi + 0x2c], eax
mov dword [ebx], edi
mov dword [edi + 4], ebx
mov ebx, edi
mov edi, dword [ebp - 0x34]
mov eax, dword [esi]
inc edi
mov esi, eax
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
cmp eax, dword [ebp - 0x14]
jne 0x4d81d0
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
push 0x30
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x24], 0
call fcn.004e5c9b
add esp, 4
test edi, edi
jne 0x4d825e
mov dword [eax], eax
mov dword [eax + 4], eax
jmp 0x4d8268
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
jmp 0x4d8233
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [esi + 4], eax
mov dword [ebx], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov ecx, dword [ebp + 8]
add eax, 0x210
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ecx + 0x210]
mov dword [ebp - 0x18], ecx
mov esi, dword [ecx]
cmp esi, ecx
je 0x4d8388
mov dword [ebp - 0x28], eax
push 1
mov ecx, eax
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x24], edi
call fcn.004e0800
mov ebx, eax
lea edi, [ebx + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [edi + 0x24], 0
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x25
test ecx, ecx
je 0x4d82e1
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov esi, dword [esi]
mov edi, 1
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
cmp esi, dword [ebp - 0x18]
je 0x4d835e
mov ecx, dword [ebp - 0x10]
push 1
mov dword [ebp - 0x24], 0
call fcn.004e0800
mov edi, eax
lea ecx, [edi + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x26
test edx, edx
je 0x4d8339
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov dword [edi + 0x2c], eax
mov dword [ebx], edi
mov dword [edi + 4], ebx
mov ebx, edi
mov edi, dword [ebp - 0x34]
mov eax, dword [esi]
inc edi
mov esi, eax
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
cmp eax, dword [ebp - 0x18]
jne 0x4d8301
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
push 1
mov ecx, eax
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x24], 0
call fcn.004e0800
mov ecx, eax
test edi, edi
jne 0x4d8390
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
jmp 0x4d839a
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
jmp 0x4d8364
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [esi + 4], ecx
mov dword [ebx], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x218
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebx + 0x218]
call fcn.004d7210
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4