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

Disassembly:
push 0xffffffffffffffff
push 0x4a8f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
lea eax, [esp + 0x20]
push edi
mov esi, ecx
push eax
call fcn.00476fc8
add esp, 4
push 0x4d10bc
lea ecx, [esp + 0x24]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x3c], ebp
call fcn.0050d60c
lea edx, [esi + 0x9b4]
mov byte [esp + 0x30], 1
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0050d6a2
push 0x4d1c58
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x3c], 2
call fcn.0050d60c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 6
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 5
call fcn.0050d468
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 4
call fcn.0050d468
lea ecx, [esp + 0xc]
call fcn.0050d46e
mov ecx, dword [esi + 0xb0]
mov eax, 0x96
cmp ecx, eax
mov byte [esp + 0x30], 7
jbe 0x49f62b
mov dword [esi + 0xb0], eax
mov dword [esi + 0xa94], 1
mov eax, dword [0x4de8b0]
mov ecx, 0x12c
cmp dword [eax + 0xf00], ecx
jbe 0x49f658
mov dword [eax + 0xf00], ecx
mov edx, dword [0x4de8b0]
mov dword [edx + 0xe94], 1
mov eax, dword [0x4de8b0]
mov edx, dword [eax + 0xf04]
mov ecx, 0x64
cmp edx, ecx
jbe 0x49f66d
mov dword [eax + 0xf04], ecx
mov eax, dword [esi + 0x78]
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0047b178
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.0050d810
mov edi, dword [eax + 0x14]
push ebp
lea ecx, [esp + 0x18]
add edi, 0x76c
call fcn.0050d810
mov eax, dword [eax + 0x14]
add eax, 0x76c
cmp edi, eax
jne 0x49f6e4
push ebp
lea ecx, [esp + 0x1c]
call fcn.0050d810
mov edi, dword [eax + 0x10]
push ebp
lea ecx, [esp + 0x18]
inc edi
call fcn.0050d810
mov eax, dword [eax + 0x10]
inc eax
cmp edi, eax
jne 0x49f6e4
push ebp
lea ecx, [esp + 0x1c]
call fcn.0050d810
mov edi, dword [eax + 0xc]
push ebp
lea ecx, [esp + 0x18]
call fcn.0050d810
cmp edi, dword [eax + 0xc]
je 0x49f721
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xa94], ebp
mov eax, dword [0x4de8b0]
mov edi, 0x4de210
mov dword [eax + 0xf00], ebp
mov ecx, dword [0x4de8b0]
xor eax, eax
mov dword [ecx + 0xe94], ebp
mov edx, dword [0x4de8b0]
mov ecx, 0xe
mov dword [edx + 0xf04], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xb0]
lea ecx, [esp + 0xc]
push eax
push 0x4ce1a8
push ecx
call fcn.0050d5e2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [fcn.004b4098]
add esp, 0xc
push edx
push eax
push 0x4d1cb4
push 0x4d1c3c
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0x4ce1a8
push ecx
mov dword [esi + 0x78], eax
call fcn.0050d5e2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
push edx
push eax
push 0x4d1c48
push 0x4d1c3c
call edi
mov ecx, dword [0x4de8b0]
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0xf00]
push edx
push 0x4ce1a8
push eax
call fcn.0050d5e2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
push ecx
push edx
push 0x4d1ca8
push 0x4d1c3c
call edi
mov eax, dword [0x4de8b0]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0xf04]
push ecx
push 0x4ce1a8
push edx
call fcn.0050d5e2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 0xc
push eax
push ecx
push 0x4d1c9c
push 0x4d1c3c
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 4
call fcn.0050d468
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret