Function at 0x4e1845
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x54a006
call fcn.0054565c
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x15
ja 0x4e1a69
stosd dword es:[edi], eax
xor byte [edi - 0x3f39d2e5], cl
out dx, eax
mov bh, 0x51
fstp qword [edx - 0x4907d70c]
mov byte [0x8b85e95a], al
fucomp st(0)
xor al, 0xb7
call 0x9e2e79e4
in al, dx
fsub qword [esi]
jmp 0x4e186d
invalid
call fcn.0051d0ea
test al, al
jne 0x4e1a7a
xor eax, eax
inc eax
jmp 0x4e1c8f
call fcn.00519fc2
mov edi, eax
mov esi, edx
call fcn.00519d9f
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push ebx
push str.CPU_hardware_threads:
push esi
push edi
mov edx, str.size:
call fcn.004dfd59
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, 0xffffffff
cmove edi, ebx
cmp eax, 0xffffffff
mov ecx, 0x1000000
cmove eax, ecx
mov dword [ebp + 0xc], eax
xor ecx, ecx
push 8
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp + 8], edi
neg ecx
or ecx, eax
push ecx
call fcn.0041beb3
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x40], esi
mov ebx, dword [ebp - 0x18]
and dword [ebp - 4], 0
push str._n_nSize
push ebx
call fcn.00436543
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
test edi, edi
je 0x4e1b21
lea edi, [eax + 1]
push edi
push str.__5d
push ebx
call fcn.00436543
mov eax, dword [ebp - 0x24]
add esp, 0xc
and dword [esi + eax*8], 0
and dword [esi + eax*8 + 4], 0
mov eax, edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp eax, edi
jb 0x4e1af7
push 0x55da28
push ebx
call fcn.00436543
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x30], 0
pop ecx
xorps xmm0, xmm0
pop ecx
movlpd qword [ebp - 0x3c], xmm0
jbe 0x4e1c84
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
push 0xa
pop eax
mov dword [ebp - 0x28], eax
mov ecx, eax
mov dword [ebp - 0x14], 1
shl dword [ebp - 0x14], cl
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], ecx
ja 0x4e1c1d
push eax
push str._2d:
push ebx
call fcn.00436543
and dword [ebp - 0x20], 0
add esp, 0xc
test edi, edi
je 0x4e1bec
call fcn.004bb96e
test al, al
jne 0x4e1c9e
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
inc eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.0051e364
mov edi, eax
pop ecx
test edi, edi
jne 0x4e1c86
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov ecx, edi
mov eax, ebx
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push 5
pop edx
call fcn.004e0caa
mov eax, dword [ebp - 0x20]
pop ecx
add dword [esi + eax*8], edi
mov edi, dword [ebp + 8]
pop ecx
adc dword [esi + eax*8 + 4], ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
cmp eax, edi
jb 0x4e1b85
mov ebx, dword [ebp - 0x18]
push 0x5586d4
push ebx
call fcn.00436543
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
pop ecx
add edx, 1
pop ecx
mov ecx, dword [ebp - 0x1c]
adc ecx, 0
inc eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
cmp eax, 0x20
jl 0x4e1b56
jmp 0x4e1c20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x30]
jb 0x4e1b50
mov eax, edx
or eax, ecx
je 0x4e1c84
push str._nAvg:
push ebx
call fcn.00436543
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp + 8], edi
jbe 0x4e1c77
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [esi + edi*8 + 4]
push dword [esi + edi*8]
call fcn.004213d0
shrd eax, edx, 0x14
shr edx, 0x14
push edx
push eax
push 5
pop edx
mov ecx, ebx
call fcn.004e0caa
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp + 8]
jb 0x4e1c4a
push 0x5586d4
push ebx
call fcn.00436543
pop ecx
pop ecx
xor edi, edi
push esi
call fcn.00418a9a
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov edi, 0x80004004
jmp 0x4e1c86