Function at 0x4e5288
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e59f2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4e5a0c
xor eax, eax
call fcn.0048352c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00487250
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call fcn.00485990
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00486fb4
mov edx, 0xd
call fcn.00481a50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00486fb4
mov edx, 0x4e5a34
call fcn.00481a60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call fcn.004867f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call fcn.004872d8
xor ecx, ecx
push ebp
push 0x4e5372
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call fcn.00487930
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4e5a44
mov eax, ebx
mov edx, dword [0x50dc50]
call fcn.0048806c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e538f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00483a50
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00486764
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00486b48
mov eax, dword [ebp - 4]
push eax
push 0x4e695c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00486f44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00483bb0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov ecx, 0x78
mov edx, 0x14
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004870f4
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, 0x10
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00486374
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.0048397c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00486fb4
movzx edx, byte [0x4e5a54]
call fcn.00481a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.00489514
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00486374
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.0048397c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004866cc
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004870f4
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486fb4
mov edx, 0x12
call fcn.00481a50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486fb4
movzx edx, byte [0x4e5a54]
call fcn.00481a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004839f4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486718
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004866cc
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486764
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, 0x28
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004867a8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
mov dword [edx + 0x2e], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004839f4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00486718
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004867a8
add esi, eax
add esi, 8
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004866cc
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486764
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x1a
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00486fb4
movzx edx, byte [0x4e5a54]
call fcn.00481a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004839f4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00486718
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004867a8
add esi, eax
add esi, 5
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004866cc
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00486764
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x1a
call fcn.00486b48
mov eax, dword [ebp - 4]
push eax
push 0x4e6dc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00486f44
mov eax, dword [ebp - 4]
push eax
push 0x4e6de0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00485960
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4e6e74
call fcn.00489954
mov dl, 1
mov eax, dword [0x49cf74]
call fcn.0049f614
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00486764
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4e6ca8
mov edx, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x4e6cfc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 2
call fcn.00483aa4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, 0x8000000f
call fcn.004867f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004870f4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, 0x2b
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004870d8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004867a8
pop ecx
sub ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00483aa4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00486764
mov edx, eax
add edx, 2
mov ecx, 2
mov eax, ebx
call fcn.00486b48
xor ecx, ecx
or edx, 0xffffffff
mov eax, ebx
call fcn.004895d8
mov eax, ebx
call fcn.0048632c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004837e8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0x78
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004867a8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004867a8
sub ebx, eax
sub ebx, 8
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004870f4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00486764
pop edx
sub edx, eax
sub edx, 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
pop ecx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4e6c1c
call fcn.00484c24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00489954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.004837e8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov eax, ebx
mov ecx, 0x1b
mov edx, 0xb4
call fcn.00486b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004866cc
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00486764
sub ebx, eax
sub ebx, 0x10
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00486718
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
pop edx
call fcn.004895d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x474], edx
mov dword [eax + 0x470], 0x4e6a2c
mov dl, 1
call fcn.00485c60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00486fb4
movzx edx, byte [0x4e5a54]
call fcn.00481a88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00484c24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00489954
push 0x4e5a64
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4e5ad4
mov edx, 0x4e5af4
mov ebx, dword [eax]
call dword [ebx + 0x80]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00407ecc
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0047c01c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00407ecc
push 0x4e5b10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4e5b84
mov edx, 0x4e5af4
mov ebx, dword [eax]
call dword [ebx + 0x80]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407ecc
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0047c01c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407ecc
push 0x4e5ba8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, 0x4e5c44
mov edx, 0x4e5af4
mov ebx, dword [eax]
call dword [ebx + 0x80]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00407ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e59f9
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407b4c
ret