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

Disassembly:
mov eax, 0x6c6a32
call fcn.00692bd4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call fcn.00436670
lea eax, [ebp - 0x10]
push eax
push 0xf
xor edi, edi
mov dword [esi], 0x6de2e8
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
mov esi, dword [sym.imp.user32.dll_SetRect]
push 0xf
push ebx
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call esi
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, dword [ebp - 0x18]
call fcn.00436bf6
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x5158ae
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 0xb4
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 esi
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], 0xaf
jl 0x5158cf
push 0x34
push ebx
push 0x2a
push edi
lea eax, [ebp - 0x28]
push eax
call esi
mov ecx, dword [0x732128]
push edi
push edi
push edi
push 3
call fcn.0043cb73
mov ecx, dword [ebp - 0x10]
push eax
push 0xaa
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00435366
mov ecx, dword [ebp - 0x10]
push 1
push 0xc0000000
mov esi, 0xff946b42
push esi
push 1
push 0xfc
push 0x14
push 2
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
push 1
push 0xc0000000
push esi
push 0x50
push 0x50
push 0x49
push 0xc
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
mov esi, 0xff675e46
push esi
push 0x4f
push 1
push 0x4a
push 0x26
call fcn.00434a28
mov ecx, dword [ebp - 0x10]
push esi
push 0x4f
push 1
push 0x4a
push 0x40
call fcn.00434a28
mov ecx, dword [ebp - 0x10]
push esi
push 1
push 0x4f
push 0x64
push 0xd
call fcn.00434a28
mov ecx, dword [ebp - 0x10]
push esi
push 1
push 0x4f
push 0x7e
push 0xd
call fcn.00434a28
call fcn.0043bce8
mov ecx, eax
call fcn.0043beae
push dword [ebp - 0x10]
mov esi, eax
mov ecx, esi
call fcn.00439b46
mov ecx, dword [0x732100]
push esi
call fcn.0043aa67
push esi
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00436c0b
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x5159f8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x10], edi
push ebx
mov ecx, esi
call fcn.004234ee
push 0xc0
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
call fcn.005152d6
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x73dc88], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret