Function at 0x510e87
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x6c6753
call fcn.00692bd4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call fcn.00436670
xor edi, edi
lea eax, [ebp - 0x10]
push eax
push 0xf
mov dword [esi], 0x6ddf38
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov ecx, dword [0x732128]
mov ebx, pe_nt_image_headers32
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.0043c95d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004349ab
push 0xf
push ebx
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call dword [0x6d03dc]
mov ecx, dword [0x732128]
push edi
push edi
push edi
push 3
call fcn.0043cb73
mov ecx, dword [ebp - 0x10]
push eax
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00435366
call fcn.0043bce8
mov ecx, eax
call fcn.0043beae
push dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x14], ecx
call fcn.00439b46
push dword [ebp - 0x14]
mov ecx, dword [0x732100]
call fcn.0043aa67
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00436bf6
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x510f7a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x10], edi
mov ecx, dword [0x732128]
lea eax, [ebp - 0x10]
push eax
push 0xaa
push ebx
call fcn.0043c95d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004349ab
mov dword [ebp - 0x14], edi
push 0x2b
push ebx
push 0x26
push edi
lea eax, [ebp - 0x28]
push eax
call dword [0x6d03dc]
mov ecx, dword [0x732128]
push edi
push edi
push edi
push 3
call fcn.0043cb73
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00435366
add dword [ebp - 0x14], 5
cmp dword [ebp - 0x14], 0xa5
jl 0x510f9b
push 0x34
push ebx
push 0x2a
push edi
lea eax, [ebp - 0x28]
push eax
call dword [0x6d03dc]
mov ecx, dword [0x732128]
push edi
push edi
push edi
push 3
call fcn.0043cb73
mov ecx, dword [ebp - 0x10]
push eax
push 0xa0
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00435366
mov ecx, dword [ebp - 0x10]
push 1
push 0xc0000000
push 0xff946b42
push 1
push 0xfc
push 0x14
push 2
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
push 1
push 0x80000000
push 0xff959595
push 0x11
push 0x4b
push 0x2c
push 0x64
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
push 1
push 0x80000000
push 0xff959595
push 0x11
push 0x4b
push 0x42
push 0x64
call fcn.004352bf
call fcn.0043bce8
mov ecx, eax
call fcn.0043beae
push dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x14], ecx
call fcn.00439b46
push dword [ebp - 0x14]
mov ecx, dword [0x732100]
call fcn.0043aa67
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00436c0b
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x5110a4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x10], edi
push ebx
mov ecx, esi
call fcn.004234ee
push 0xb6
mov ecx, esi
call fcn.0042350a
call fcn.0042270c
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2c], eax
call fcn.0042270c
mov eax, dword [eax + 0x10]
sub eax, dword [esi + 0x4c]
push 1
cdq
sub eax, edx
sar eax, 1
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.00436bd8
mov ecx, esi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x178], edi
call fcn.005107d0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x73dc1c], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret