Function at 0x419e3c
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a1f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004056bc
mov eax, dword [ebp - 0x28]
call fcn.00405afc
test al, al
jne 0x419e80
mov eax, dword [ebp - 0x28]
call fcn.0041a948
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x419ec7
push 0x64
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x419eb3
cmp eax, 0x2bf20
jbe 0x419ec7
jmp 0x419eb5
jle 0x419ec7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00412500
jmp 0x41a1dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00411de4
cmp eax, 8
jl 0x419e89
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 8
call fcn.00412280
cmp dword [ebp - 0x14], 0
jne 0x419efb
cmp dword [ebp - 0x18], 0
jae 0x419f01
jmp 0x41a1dd
jl 0x41a1dd
xor eax, eax
push ebp
push 0x419ffd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00405aec
test al, al
je 0x419f3a
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dl, 1
mov eax, dword [0x405d4c]
call fcn.00406c74
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
jmp 0x419f57
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dl, 1
mov eax, dword [0x405d4c]
call fcn.00406c74
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004067d4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x419f76
cmp dword [ebp - 0x10], 0
jbe 0x419fe0
jmp 0x419f78
jle 0x419fe0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov cx, 2
mov edx, 0xfffffffc
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov ecx, 4
call fcn.0040695c
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x24]
mov ecx, 4
call fcn.00403f18
mov eax, dword [ebp - 0x2c]
mov edx, 0x41a210
call fcn.004040a0
jne 0x419fd2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub eax, 4
sbb edx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x419fe0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, 8
call fcn.00412278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a032
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004067c0
xor eax, eax
push ebp
push 0x41a1c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x8000
call fcn.0040286c
mov dword [ebp - 8], eax
jmp 0x41a16f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
push edx
push eax
push 0
push 0x8000
call fcn.00411540
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
xor eax, eax
push ebp
push 0x41a168
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41a0c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.00412280
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a0e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a16f
cmp dword [ebp - 0x1c], 0
jne 0x41a101
cmp dword [ebp - 0x20], 0
jbe 0x41a167
jmp 0x41a103
jle 0x41a167
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004067c0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, 4
sbb edx, 0
cmp edx, dword [ebp - 0xc]
jne 0x41a150
cmp eax, dword [ebp - 0x10]
jbe 0x41a167
jmp 0x41a152
jle 0x41a167
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, 0x41a210
mov ecx, 4
call fcn.0040697c
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jne 0x41a181
cmp eax, dword [ebp - 0x18]
jae 0x41a1a3
jmp 0x41a183
jge 0x41a1a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp byte [eax + 5], 0
je 0x41a1a3
mov eax, dword [0x41e0ac]
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp byte [eax + 5], 0
jne 0x41a063
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a1d0
mov eax, dword [ebp - 8]
call fcn.0040289c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403368
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a1ff
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403dd0
ret