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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x720fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x58], esi
mov dword [esi], fcn.006abc40
mov dword [esi + 4], 0x736ddc
mov dword [esi + 8], 1
mov dword [ebp - 4], 0
lea ebx, [esi + 0x28]
mov dword [esi], 0x73c01c
mov dword [esi + 4], 0x7378e0
mov dword [esi + 0xc], 0x73c0fc
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov word [esi + 0x24], 0
mov dword [ebp - 0x34], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.006afd10
mov dword [ebx], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
lea edi, [esi + 0x64]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ebx, [esi + 0x70]
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.006afd10
mov dword [ebx], eax
lea ebx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.006afd10
mov dword [ebx], eax
lea ebx, [esi + 0x80]
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.006afd10
mov dword [ebx], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 8
mov word [esi + 0x88], 0
cmp eax, edi
je 0x6c6501
mov eax, dword [edi]
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
je 0x6c6501
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x6c64f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6c66b7
mov eax, edx
push ecx
push eax
call fcn.006e45a1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.006afd10
mov ecx, eax
lea edx, [esi + 0x28]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
cmp eax, edx
je 0x6c6536
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x3c]
call fcn.006afc80
push 0x10
push dword [ebp - 0x3c]
call fcn.006e45a1
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.006afd10
mov ecx, eax
lea edx, [esi + 0x70]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ecx
cmp eax, edx
je 0x6c6580
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x44]
call fcn.006afc80
push 0x10
push dword [ebp - 0x44]
call fcn.006e45a1
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.006afd10
mov ecx, eax
lea edx, [esi + 0x78]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
cmp eax, edx
je 0x6c65ca
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x4c]
call fcn.006afc80
push 0x10
push dword [ebp - 0x4c]
call fcn.006e45a1
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.006afd10
mov ecx, eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], ecx
cmp eax, ebx
je 0x6c6611
mov eax, dword [ebx]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x54]
call fcn.006afc80
push 0x10
push dword [ebp - 0x54]
call fcn.006e45a1
add esp, 8
lea eax, [ebp - 0x24]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x737228
lea eax, [ebp - 0x24]
mov dword [ebp - 0x30], 0xc
push 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push 0
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6c6690
push 0x737228
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [esi + 0x30], eax
jmp 0x6c6699
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
ret
call fcn.00702432
int3