Function at 0x4ed630
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565fc5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5d0074]
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 ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], ebx
xor eax, eax
mov dword [ebx + 4], 0x57fe50
mov dword [ebx], 0x5920a0
mov dword [ebx + 4], 0x59208c
mov dword [ebx + 8], 1
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 7
mov word [ebx + 0xc], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0x57dd44
mov dword [ebx + 0x34], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x38], 0x57dd44
mov dword [ebx + 0x3c], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x40], 0x57dd44
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 3
mov dword [ebx + 0x48], 0x57dd44
mov dword [ebx + 0x4c], 0
mov byte [ebp - 4], 4
lea esi, [ebx + 0x50]
mov dword [ebp - 0x44], esi
push 8
mov dword [ebp - 0x48], esi
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.00520c21
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 7
lea edi, [ebx + 0x64]
mov dword [ebp - 0x48], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
push 0
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00427190
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 0xb
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00408cd0
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
xor eax, eax
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 7
mov word [ebx + 0xb8], ax
mov byte [ebp - 4], 0xe
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], 7
mov word [ebx + 0xd0], ax
mov byte [ebp - 4], 0xf
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], 7
mov word [ebx + 0xe8], ax
mov byte [ebp - 4], 0x10
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], 7
mov word [ebx + 0x100], ax
mov byte [ebp - 4], 0x11
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x12c], 7
mov word [ebx + 0x118], ax
mov byte [ebp - 4], 0x12
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x144], 7
mov word [ebx + 0x130], ax
mov byte [ebp - 4], 0x13
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], 7
mov word [ebx + 0x148], ax
mov byte [ebp - 4], 0x14
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], 7
mov word [ebx + 0x160], ax
mov byte [ebp - 4], 0x15
mov word [ebx + 0x178], ax
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x188], eax
xor eax, eax
mov byte [ebx + 0x18c], 0
mov dword [ebx + 0x1a0], 0
mov dword [ebx + 0x1a4], 7
mov word [ebx + 0x190], ax
mov byte [ebp - 4], 0x16
mov dword [ebx + 0x1b8], eax
mov dword [ebx + 0x1bc], 7
mov word [ebx + 0x1a8], ax
mov byte [ebp - 4], 0x17
mov dword [ebx + 0x1d0], eax
mov dword [ebx + 0x1d4], 7
mov word [ebx + 0x1c0], ax
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebx + 0x1d8], al
mov dword [ebx + 0x1dc], eax
mov dword [ebx + 0x1e0], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
push 8
push str._mdl_evt
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.004079c0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e8330
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.00407c80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call edi
mov dword [ebp - 0x44], eax
cmp eax, dword [ebx + 0x34]
je 0x4ed9f2
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x34], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
call fcn.00407c80
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.004079c0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e8330
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x28]
call fcn.00407c80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
push 0
call edi
mov edi, eax
cmp edi, dword [ebx + 0x3c]
je 0x4eda71
mov eax, dword [ebx + 0x38]
lea ecx, [ebx + 0x38]
call dword [eax + 4]
mov dword [ebx + 0x3c], edi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
call fcn.00407c80
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.004079c0
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e8330
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
call fcn.00407c80
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 edi, eax
cmp edi, dword [ebx + 0x44]
je 0x4edaf4
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x40]
call dword [eax + 4]
mov dword [ebx + 0x44], edi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
call fcn.00407c80
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.004079c0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004e8330
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x28]
call fcn.00407c80
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 edi, eax
cmp edi, dword [ebx + 0x4c]
je 0x4edb77
mov eax, dword [ebx + 0x48]
lea ecx, [ebx + 0x48]
call dword [eax + 4]
mov dword [ebx + 0x4c], edi
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4edb85
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x40]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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.00520c02
mov esp, ebp
pop ebp
ret 8