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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, 0x3c
call fcn.00409400
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x22
mov dword [ebp - 0x40], eax
mov dl, 1
mov eax, dword [0x41d9ec]
call fcn.00403740
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x717064
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00719d38
dec eax
test eax, eax
jl 0x716bfc
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x30]
call fcn.0071a76c
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
add dword [ebp - 0x34], eax
inc dword [ebp - 0x30]
dec dword [ebp - 0x44]
jne 0x716bdd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x717046
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x30]
call fcn.007199a8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xfc]
lea eax, [edx + eax*4]
mov dword [ebp - 0x24], eax
mov edx, 0x3c
mov eax, dword [ebp - 0x1c]
call fcn.00408080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov word [eax + 4], 8
mov ax, word [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x1c]
mov word [edx + 6], ax
mov eax, dword [ebp - 0x1c]
mov word [eax + 8], 0x614
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 4]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0xc], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0xe], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x10], ax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x34], 0
jle 0x716d72
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 4]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x12], ax
push 0x64
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.00430b3c
push eax
call fcn.00407484
mov ebx, eax
push 0x400
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
push eax
push ebp
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x12]
call fcn.00716af0
pop ecx
push eax
call fcn.00407484
add ebx, eax
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x38], 0
jle 0x716d3c
push ebp
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x12]
call fcn.00716af0
pop ecx
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x716d3c
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
inc word [eax + 0x12]
cmp dword [ebp - 0x38], 0
jg 0x716d12
cmp dword [ebp - 0x38], 0
jge 0x716d67
mov eax, dword [ebp - 0x1c]
dec word [eax + 0x12]
mov eax, dword [ebp - 0x3c]
push eax
push 0x400
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
push eax
call fcn.00407484
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x14], ax
jmp 0x716d8e
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14], 0
jmp 0x716d8e
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0x14]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x12], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0x18]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x14], ax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x38], 0
jle 0x716e50
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x16], ax
push 0x64
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.00430b54
push eax
call fcn.00407484
mov ebx, eax
push pe_nt_image_headers32
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
push eax
push ebp
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x16]
call fcn.00716b34
pop ecx
push eax
call fcn.00407484
add ebx, eax
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x38], 0
jle 0x716e1a
push ebp
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x16]
call fcn.00716b34
pop ecx
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x716e1a
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
inc word [eax + 0x16]
cmp dword [ebp - 0x38], 0
jg 0x716df0
cmp dword [ebp - 0x38], 0
jge 0x716e45
mov eax, dword [ebp - 0x1c]
dec word [eax + 0x16]
mov eax, dword [ebp - 0x3c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
push eax
call fcn.00407484
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x18], ax
jmp 0x716e6c
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x18], 0
jmp 0x716e6c
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x16], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x18], ax
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x1a], 0
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 8]
mov edx, dword [ebp - 0x40]
mov byte [edx], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 4]
mov edx, dword [ebp - 0x40]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x40]
mov byte [eax + 2], 1
mov eax, dword [ebp - 0x40]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
mov edx, dword [ebp - 0x40]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x30]
mov al, byte [eax + 0x779af8]
mov edx, dword [ebp - 0x40]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x31]
mov al, byte [eax + 0x779b04]
mov edx, dword [ebp - 0x40]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x40]
mov byte [eax + 7], 0
mov eax, dword [ebp - 0x40]
mov word [eax + 8], 0
mov eax, dword [ebp - 0x40]
mov word [eax + 0xa], 2
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x40]
mov word [eax + 0x10], 0
mov eax, dword [ebp - 0x40]
mov word [eax + 0x12], 0
mov eax, dword [ebp - 0x40]
mov word [eax + 0x14], 0
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [eax + 0x16], edx
push 0x3c
mov ecx, dword [ebp - 0x1c]
mov dx, 0x5d
mov eax, dword [ebp - 0xc]
call fcn.007148d4
mov eax, dword [ebp - 0x10]
call fcn.00423378
mov word [ebp - 0x2c], 2
mov word [ebp - 0x2a], 1
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2c]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov dl, 1
mov eax, dword [0x42bd0c]
call fcn.00430ee0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x716fed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.00430b54
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.00430b3c
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
push 0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x42bbac]
call fcn.00430bac
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], 0xcc0020
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0xc]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0042dbe8
mov eax, dword [ebp - 0x18]
call fcn.00403770
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x716ff4
mov eax, dword [ebp - 0x14]
call fcn.00403770
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71706b
mov eax, dword [ebp - 0x10]
call fcn.00403770
mov eax, dword [ebp - 0x1c]
call fcn.00402890
ret