Function at 0x451740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebb20
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6780cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [eax + eax*2]
mov eax, dword [ebx + 0x301c]
shl edi, 5
push dword [edi + eax + 0x24]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x28]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x2c]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x30]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x38]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x34]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x58]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x3c]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x40]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x44]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
xor esi, esi
add esp, 0x28
cmp dword [eax + edi], esi
jbe 0x451880
mov ecx, dword [edi + eax + 0x48]
test ecx, ecx
je 0x451834
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x451834
push ecx
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
add esp, 4
mov edx, dword [edi + eax + 0x4c]
mov ecx, eax
test edx, edx
je 0x451854
mov edx, dword [edx + esi*4]
test edx, edx
je 0x451854
push edx
call fcn.0046768e
mov ecx, dword [ebx + 0x301c]
add esp, 4
mov eax, ecx
cmp esi, dword [edi + ecx + 0xc]
jae 0x45187a
mov edx, dword [edi + ecx + 0x50]
test edx, edx
je 0x45187a
mov edx, dword [edx + esi*4]
test edx, edx
je 0x45187a
push edx
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
add esp, 4
inc esi
cmp esi, dword [edi + eax]
jb 0x451816
mov ecx, dword [edi + eax + 0x48]
test ecx, ecx
je 0x4518c2
push fcn.0044df60
push dword [ecx - 4]
lea esi, [ecx - 4]
mov dword [ebp - 4], 0
push 4
push ecx
call fcn.005a6171
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.005a6163
mov eax, dword [ebx + 0x301c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + eax + 0x4c]
test ecx, ecx
je 0x451904
push fcn.0044df60
push dword [ecx - 4]
lea esi, [ecx - 4]
mov dword [ebp - 4], 1
push 4
push ecx
call fcn.005a6171
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.005a6163
mov eax, dword [ebx + 0x301c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + eax + 0x50]
test eax, eax
je 0x451939
push fcn.0044df60
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push 4
push eax
call fcn.005a6171
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.005a6163
add esp, 8
mov eax, dword [ebx + 0x301c]
push dword [edi + eax + 0x54]
call fcn.0046768e
mov eax, dword [ebx + 0x301c]
add esp, 4
add eax, edi
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov byte [eax + 0x20], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4