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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c5fa
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5d6024]
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 edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
xor eax, eax
mov dword [edi + 4], 0x585ef8
mov dword [edi], 0x598574
mov dword [edi + 4], 0x5985b0
mov dword [edi + 8], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x583c78
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x38], 0x583c78
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0x583c78
mov dword [edi + 0x44], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x48], 0x583c78
mov dword [edi + 0x4c], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x44], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.005214a3
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 7
lea esi, [edi + 0x64]
mov dword [ebp - 0x44], esi
mov dword [esi], 0
push 0x24
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005214a3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00416150
mov byte [ebp - 4], 0xb
mov dword [edi + 0x84], 0
mov byte [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov byte [edi + 0x94], 0
mov dword [edi + 0x98], 0
xor eax, eax
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 7
mov word [edi + 0xb8], ax
mov byte [ebp - 4], 0xc
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], 7
mov word [edi + 0xd0], ax
mov byte [ebp - 4], 0xd
mov dword [edi + 0xf8], eax
mov dword [edi + 0xfc], 7
mov word [edi + 0xe8], ax
mov byte [ebp - 4], 0xe
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], 7
mov word [edi + 0x100], ax
mov byte [ebp - 4], 0xf
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], 7
mov word [edi + 0x118], ax
mov byte [ebp - 4], 0x10
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], 7
mov word [edi + 0x130], ax
mov byte [ebp - 4], 0x11
mov dword [edi + 0x158], eax
mov dword [edi + 0x15c], 7
mov word [edi + 0x148], ax
mov byte [ebp - 4], 0x12
mov dword [edi + 0x170], eax
mov dword [edi + 0x174], 7
mov word [edi + 0x160], ax
mov byte [ebp - 4], 0x13
mov word [edi + 0x178], ax
mov dword [edi + 0x17c], eax
mov dword [edi + 0x180], eax
mov dword [edi + 0x184], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x188], eax
xor eax, eax
mov byte [edi + 0x18c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 7
mov word [edi + 0x190], ax
mov byte [ebp - 4], 0x14
mov dword [edi + 0x1b8], eax
mov dword [edi + 0x1bc], 7
mov word [edi + 0x1a8], ax
mov byte [ebp - 4], 0x15
mov dword [edi + 0x1d0], eax
mov dword [edi + 0x1d4], 7
mov word [edi + 0x1c0], ax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [edi + 0x1d8], al
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1e0], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 8
push str._mdl_evt
lea ecx, [ebp - 0x28]
call fcn.00407c80
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e6b70
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
call fcn.00407f50
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x44], eax
cmp eax, dword [edi + 0x34]
je 0x4ec868
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x30]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x34], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00407f50
push 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str._sho_evt
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407c80
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e6b70
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x28]
call fcn.00407f50
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x44], eax
cmp eax, dword [edi + 0x3c]
je 0x4ec8ef
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x38]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x3c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00407f50
push 9
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str._edlg_evt
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407c80
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e6b70
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
call fcn.00407f50
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x44], eax
cmp eax, dword [edi + 0x44]
je 0x4ec976
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00407f50
push 9
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str._ddlg_evt
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407c80
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e6b70
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x28]
call fcn.00407f50
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, dword [edi + 0x4c]
je 0x4ec9f9
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
call dword [eax + 4]
mov dword [edi + 0x4c], esi
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4eca07
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.00521461
mov esp, ebp
pop ebp
ret 8