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

Disassembly:
mov eax, 0x6c5f87
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], 0x6dd390
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 [sym.imp.user32.dll_SetRect]
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 0x505da2
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 dword [sym.imp.user32.dll_SetRect]
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 0x505dc3
push 0x34
push ebx
push 0x2a
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_SetRect]
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
push 0xff946b42
push 1
push 0xfc
push 0x14
push 2
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
push 1
push 0xc0000000
push 0xff946b42
push 0x37
push 0x37
push 0x49
push 0xd
call fcn.004352bf
mov ecx, dword [ebp - 0x10]
push 0xff675e46
push 1
push 0x35
push 0x64
push 0xe
call fcn.00434a28
mov ecx, dword [ebp - 0x10]
push 0xff675e46
push 0x35
push 1
push 0x4a
push 0x27
call fcn.00434a28
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 0x505eda
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.005057bf
mov ecx, dword [ebp - 0xc]
mov dword [0x73dab4], esi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret