Function at 0x426070
Capabilities:
Check for time delay via gettickcount
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x501817
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x200]
mov ebp, dword [esp + 0x1f4]
mov edi, dword [esp + 0x1fc]
mov dword [esp + 0x24], eax
mov eax, dword [0x53d9d8]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
cmp eax, ebx
jne 0x42610d
push 0x18
call fcn.004c688d
add esp, 4
cmp eax, ebx
je 0x426100
or ecx, 0xffffffff
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], 1
mov dword [eax + 0x14], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x426102
xor eax, eax
mov dword [0x53d9d8], eax
cmp eax, ebx
jne 0x42610d
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 1
push 1
add eax, 4
push eax
call esi
cmp eax, 1
je 0x42614c
call fcn.00419320
push ebx
push 1
add eax, 4
push eax
call esi
mov esi, 3
mov al, byte [ebp + 0xa4]
test al, al
jne 0x426147
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 1
jne 0x426135
mov cl, byte [ebp + 0xa4]
test cl, cl
jne 0x42615d
xor al, al
jmp 0x426553
push 0x5375d4
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
xor edx, edx
mov esi, 7
push 0x516254
lea ecx, [esp + 0x44]
mov dword [esp + 0x200], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
call fcn.00426db0
mov dword [esp + 0x1ec], ebx
xor eax, eax
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x24]
mov word [esp + 0x5c], ax
mov eax, esi
mov dword [esp + 0x6c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4261b5
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00426db0
mov byte [esp + 0x1ec], 1
mov esi, 0xf
mov eax, 0x518b78
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4261f6
sub eax, ecx
push eax
push 0x518b78
lea ecx, [esp + 0x7c]
call fcn.004092b0
mov byte [esp + 0x1ec], 2
mov eax, edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x426230
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0x98]
call fcn.004092b0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x1ec], 3
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebp + 0x64]
push esi
call edi
lea ecx, [esp + 0x38]
push ecx
lea eax, [ebp + 0x2c]
call fcn.00426b10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp + 0x98], bl
je 0x4262a9
mov edx, dword [ebp + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esi, [ebp + 0x7c]
push esi
call edi
lea eax, [esp + 0x38]
add ebp, 0x48
push eax
mov eax, ebp
call fcn.00426b10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], bl
mov eax, dword [esp + 0x18]
add eax, 0x7c
push eax
call edi
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
imul eax, eax, 0x84
add eax, esi
xor edi, edi
cmp esi, eax
je 0x4263de
mov eax, dword [ebp + 4]
imul eax, eax, 0x84
add eax, esi
mov edi, edi
mov ecx, dword [esp + 0x1f8]
cmp dword [esi], ecx
je 0x42631b
add esi, 0x84
inc edi
cmp esi, eax
jne 0x426300
jmp 0x4263de
mov eax, dword [esi + 0x74]
mov byte [esp + 0x16], 1
cmp eax, 3
je 0x426378
cmp eax, 0x10
je 0x426378
cmp eax, 1
jne 0x426348
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x426348
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x78]
push edx
push ecx
call eax
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x7c]
cmp eax, 0x493e0
jb 0x4263de
mov edx, dword [esp + 0x1f8]
mov eax, dword [0x53be30]
push edx
push ebx
push 0x600
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4263de
cmp eax, 3
sete byte [esp + 0x15]
cmp edi, ebx
mov byte [esp + 0x17], 1
jl 0x4263ce
cmp edi, dword [ebp + 4]
jge 0x4263ce
mov eax, dword [ebp]
mov ecx, edi
imul ecx, ecx, 0x84
lea esi, [ecx + eax]
call fcn.00425ea0
mov eax, dword [ebp + 4]
lea edx, [eax - 1]
cmp edi, edx
je 0x4263cb
sub eax, edi
imul eax, eax, 0x84
lea ecx, [eax - 0x84]
push ecx
lea edx, [esi + 0x84]
push edx
push eax
push esi
call fcn.004c6a1f
add esp, 0x10
dec dword [ebp + 4]
mov eax, dword [esp + 0x18]
add eax, 0xac
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x18]
add eax, 0x7c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esp + 0x17], bl
jne 0x42640e
cmp byte [esp + 0x16], bl
je 0x42640e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4262d1
cmp byte [esp + 0x15], bl
je 0x426546
mov esi, dword [esp + 0x24]
push 1
push 0x10000000
push 1
push esi
call fcn.0043f880
add esp, 0x10
lea ecx, [esp + 0xbc]
call fcn.004349d0
mov eax, esi
lea edx, [esp + 0xbc]
call fcn.00434c20
push str..exe
lea eax, [esp + 0xc0]
call fcn.004334f0
push eax
call fcn.004c3add
add esp, 8
test eax, eax
je 0x426517
cmp byte [0x53ca39], bl
jne 0x426483
mov byte [0x53ca39], 1
call fcn.00436910
mov byte [0x53ca3a], al
cmp byte [0x53ca3a], bl
je 0x426517
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x426494
sub eax, edx
push str..exe
sar eax, 1
push esi
call fcn.00436870
add esp, 8
test eax, eax
jne 0x426517
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
push str.S:_ML__NW___LW_
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x426517
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x42650c
mov eax, dword [esp + 0x20]
push eax
push ebx
push ebx
push ebx
push 0x10
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0xbc], vtable.t_str.0
cmp byte [esp + 0x1d8], bl
jne 0x426546
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0xc8]
cmp eax, edx
je 0x426546
push eax
call fcn.004c31b0
add esp, 4
lea esi, [esp + 0x38]
call fcn.00425ea0
mov al, byte [esp + 0x15]
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1cc]
xor ecx, esp
call fcn.004c31a1
add esp, 0x1dc
ret 0x10