Function at 0x4c2150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f33
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
push 0x1e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ef5e0
mov edx, eax
add esp, 4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x4c221d
mov dword [edx + 8], 9
lea edi, [edx + 0x2c]
mov dword [edx + 0xc], 6
mov ecx, 0x6d
mov dword [edx + 0x10], 0
or eax, 0xffffffff
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1000
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx], 0xe011cfd0
mov dword [edx + 4], 0xe11ab1a1
rep stosd dword es:[edi], eax
jmp 0x4c221f
xor edx, edx
mov dword [ebp - 4], 0xffffffff
push 0xc
mov dword [esi + 0x18], edx
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x4c2367
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, dword [edi]
mov dword [ebp - 0x18], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x14], eax
cmp eax, 1
jbe 0x4c22d1
mov eax, dword [edi]
add eax, 0x34
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
cmp eax, dword [ebp - 0x18]
je 0x4c22cc
mov edi, dword [ebp - 0x18]
nop word [eax + eax]
mov byte [ebp - 4], 2
lea ecx, [esi + 4]
call fcn.00410d30
add esi, 0x34
mov dword [ebp - 0x20], esi
cmp esi, edi
jne 0x4c22b0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
jmp 0x4c2315
jae 0x4c2318
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x4c22fc
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, edi
call fcn.004c3eb0
jmp 0x4c2318
lfence
push dword [ebp - 0x10]
mov eax, 1
mov ecx, edi
sub eax, dword [ebp - 0x14]
push eax
push dword [edi + 4]
call fcn.004c3de0
mov dword [edi + 4], eax
mov eax, dword [edi]
push 0xa
push str.Root_Entry
mov byte [eax], 1
mov ecx, dword [edi]
add ecx, 4
call fcn.004122a0
mov eax, dword [edi]
mov byte [eax + 0x1c], 1
mov eax, dword [edi]
mov dword [eax + 0x20], 0
mov eax, dword [edi]
mov dword [eax + 0x24], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x28], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x2c], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x30], 0xffffffff
mov byte [ebp - 4], 1
jmp 0x4c2369
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x1c], edi
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x4c23c4
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi], 0x1000
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 5
mov ecx, edi
push 0x80
call fcn.004c1380
mov byte [ebp - 4], 4
jmp 0x4c23c6
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x20], edi
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x4c2421
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi], 0x1000
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 7
mov ecx, edi
push 0x80
call fcn.004c1380
mov byte [ebp - 4], 6
jmp 0x4c2423
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 8
push 0xc
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.004ef5e0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 9
mov eax, 1
mov ecx, dword [esi + 0x18]
mov edx, eax
mov ecx, dword [ecx + 8]
shl edx, cl
mov ecx, dword [esi + 0x20]
mov dword [ecx], edx
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0xc]
shl eax, cl
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc