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

Disassembly:
push 0xffffffffffffffff
push 0x54a18a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xb0]
call fcn.0044b480
mov eax, dword [0x5ab980]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xec], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], 0x559c1c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov eax, dword [esi + 0x38]
mov byte [esp + 0xec], 3
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov ecx, dword [eax + 0x9b8]
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x3988], ecx
mov edx, dword [eax + 0x9bc]
mov dword [esi + 0x3990], ebx
mov dword [esi + 0x3998], ebx
mov dword [esi + 0x398c], edx
mov dword [esi + 0x3994], ebx
mov dword [esi + 0x399c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x70], eax
add eax, 0x2710
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], eax
mov dword [esi + 0x39a0], ebx
mov dword [esi + 0x39a4], ebx
mov eax, dword [ebp]
push ebx
push ecx
mov ecx, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], 1
call dword [eax]
mov edx, dword [esi + 0x38]
push 1
add edx, 0x930
lea ecx, [esp + 0xb4]
push edx
call fcn.0044b500
cmp eax, ebx
je 0x4a29ff
lea ecx, [esp + 0xb0]
mov dword [eax + 0xc0], ebx
call fcn.0044b560
cmp eax, ebx
jne 0x4a29e9
mov eax, dword [esi + 0x38]
push 1
add eax, 0x930
lea ecx, [esp + 0xb4]
push eax
call fcn.0044b500
mov edi, eax
cmp edi, ebx
je 0x4a2e33
mov ecx, dword [edi + 8]
and ecx, 0xf
cmp cl, 2
jne 0x4a2e1d
lea edx, [esp + 0x80]
mov ecx, edi
push edx
call fcn.00441fe0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 4
call fcn.00512a1d
lea ecx, [esp + 0x80]
mov byte [esp + 0xec], 3
call fcn.005128e4
mov eax, dword [esi + 0x398c]
mov ecx, dword [esi + 0x3988]
cmp eax, ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
ja 0x4a2a86
cmp ecx, ebx
jbe 0x4a2a9f
fild qword [esi + 0x3990]
fild qword [esp + 0x84]
fdivp st(1)
fmul qword [0x55cbf0]
fstp qword [esp + 0x68]
test byte [edi + 0xb8], 0x30
je 0x4a2aae
mov dword [esp + 0x1c], ebx
jmp 0x4a2ad1
cmp dword [esp + 0x1c], ebx
je 0x4a2ac4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x1c]
jbe 0x4a2bd5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x64
mov dword [esp + 0x1c], eax
fld qword [esp + 0x68]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], 0x46494c45
call fcn.004fa6b4
mov dword [esp + 0x40], eax
mov al, byte [edi + 0xb8]
test al, 0x30
je 0x4a2b62
lea eax, [esp + 0x78]
mov ecx, edi
push eax
call fcn.00441ca0
mov ebp, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xec], 5
push ecx
mov ecx, edi
call fcn.00442480
mov edx, dword [ebp]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x44]
push str._s:__s
push ecx
mov byte [esp + 0xfc], 6
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x74]
mov byte [esp + 0xec], 5
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 3
call fcn.005128e4
mov ebp, dword [esp + 0xf4]
jmp 0x4a2b91
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call fcn.00442480
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xf0], 7
call fcn.00512a1d
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 3
call fcn.005128e4
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
call fcn.00512659
call fcn.0041f7a0
add esp, 8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
call fcn.00512a1d
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, ebp
call dword [edx]
test eax, eax
jne 0x4a2ebb
mov eax, dword [edi + 0xb8]
test al, 0x30
jne 0x4a2bff
test eax, 0x40000
jne 0x4a2bff
lea ecx, [esp + 0x10]
push ebx
push ecx
push edi
push 4
lea ecx, [esi + 0x3ba4]
call fcn.004bf7c0
jmp 0x4a2e1d
mov edx, dword [edi + 0x58]
mov ecx, dword [esi + 0x3990]
mov eax, dword [edi + 0x5c]
add ecx, edx
mov dword [esi + 0x3990], ecx
mov ecx, dword [esi + 0x3994]
adc ecx, eax
mov dword [esi + 0x3994], ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00512a1d
push 0x5b0738
lea ecx, [esp + 0x64]
call fcn.00512952
lea edx, [esp + 0x7c]
mov ecx, edi
push edx
mov byte [esp + 0xf0], 0xa
call fcn.00441e60
lea ecx, [esp + 0x60]
push ebp
push ecx
push eax
push edi
mov ecx, esi
mov byte [esp + 0xfc], 0xb
call fcn.0049db30
lea ecx, [esp + 0x7c]
mov ebp, eax
mov byte [esp + 0xec], 0xa
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0xec], 3
call fcn.005128e4
cmp ebp, ebx
jg 0x4a2cd4
cmp ebp, 0xfffffc19
jle 0x4a2ed9
mov edx, dword [esi + 0x3bc0]
lea eax, [esp + 0x3c]
push edx
push 0x569e
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], 0x7761726e
call fcn.0050e6da
mov ecx, dword [esp + 0x100]
add esp, 0xc
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx]
jmp 0x4a2ce8
lea ecx, [esp + 0x14]
push ebx
push ecx
push edi
push 0x10
lea ecx, [esi + 0x3ba4]
call fcn.004bf7c0
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x5c]
mov edi, dword [esi + 0x3998]
add edi, edx
mov dword [esi + 0x3998], edi
mov edx, dword [esi + 0x399c]
adc edx, eax
mov dword [esi + 0x399c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x5c]
jbe 0x4a2e16
cmp dword [esi + 0x399c], ebx
ja 0x4a2d2e
cmp dword [esi + 0x3998], ebx
jbe 0x4a2e16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x70]
mov ecx, eax
sub ecx, edx
mov eax, 0x10624dd3
mul ecx
fild qword [esi + 0x3998]
mov edi, edx
mov dword [esp + 0xa0], ebx
shr edi, 6
mov dword [esp + 0x9c], edi
mov edx, dword [esi + 0x3988]
fild qword [esp + 0x9c]
mov ebp, dword [esi + 0x3990]
mov eax, dword [esi + 0x398c]
mov ecx, dword [esi + 0x3994]
sub edx, ebp
fdivp st(1)
sbb eax, ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esi + 0x397c], edi
fild qword [esp + 0x8c]
fdiv st(1)
fstp qword [esp + 0x94]
call fcn.004fa6b4
fld qword [esp + 0x94]
mov ebp, eax
mov dword [esp + 0x24], ebx
mov dword [esi + 0x3980], ebp
mov dword [esp + 0x4c], 0x53544154
mov dword [esp + 0xa4], edi
call fcn.004fa6b4
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xf4]
lea eax, [esp + 0x20]
push ebx
mov edx, dword [ecx]
push eax
mov dword [esp + 0xb4], ebp
call dword [edx]
test eax, eax
jne 0x4a2f48
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7d0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], eax
mov ebp, dword [esp + 0xf4]
lea ecx, [esp + 0xb0]
call fcn.0044b560
mov edi, eax
cmp edi, ebx
jne 0x4a2a20
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 0x11
call fcn.005128e4
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 0x10
call fcn.005128e4
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 1
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0xffffffff
call fcn.005128e4
mov eax, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 9
call fcn.005128e4
mov byte [esp + 0xec], 8
jmp 0x4a2f61
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 0xd
call fcn.005128e4
lea ecx, [esp + 0x38]
mov byte [esp + 0xec], 0xc
call fcn.005128e4
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 1
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0xffffffff
call fcn.005128e4
mov eax, ebp
jmp 0x4a2ea0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 0xf
call fcn.005128e4
mov byte [esp + 0xec], 0xe
lea ecx, [esp + 0x38]
call fcn.005128e4
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 1
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], bl
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0xffffffff
call fcn.005128e4
mov eax, 0xfffffc19
jmp 0x4a2ea0