Function at 0x57f310
Capabilities:
Check for time delay via gettickcount
Generate random numbers via rtlgenrandom
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5faba4]
xorps xmm0, xmm0
push esi
mov dword [ebp - 0xb0], eax
mov eax, 0x3e8
push edi
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x90], 0x6a09e667
mov dword [ebp - 0x8c], 0xbb67ae85
mov dword [ebp - 0x88], 0x3c6ef372
mov dword [ebp - 0x84], 0xa54ff53a
mov dword [ebp - 0x80], 0x510e527f
mov dword [ebp - 0x7c], 0x9b05688c
mov dword [ebp - 0x78], 0x1f83d9ab
mov dword [ebp - 0x74], 0x5be0cd19
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0xa8]
mov edi, 4
mov edx, ecx
mov dword [ebp - 0xb8], eax
and edx, 0x3f
lea eax, [ebp - 0xb8]
add ecx, edi
mov dword [ebp - 0xb4], eax
mov esi, 0x40
mov dword [ebp - 0xa8], ecx
adc dword [ebp - 0xa4], 0
sub esi, edx
cmp esi, edi
jbe 0x57f3eb
mov eax, dword [ebp - 0xb8]
mov dword [ebp + edx - 0x70], eax
jmp 0x57f45c
test edx, edx
je 0x57f42c
push esi
lea eax, [ebp - 0xb8]
sub edi, esi
push eax
lea eax, [ebp - 0x70]
add eax, edx
push eax
call fcn.0058aed0
add esp, 0xc
lea eax, [ebp - 0xb8]
add eax, esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb4], eax
push 1
call dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
mov esi, edi
lea ecx, [ebp - 0x90]
shr esi, 6
mov edx, eax
push esi
call dword [ebp - 0xb0]
and edi, 0x3f
je 0x57f45c
shl esi, 6
lea eax, [ebp - 0x70]
add esi, dword [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0058aed0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0xa8]
mov edi, 4
mov edx, ecx
mov dword [ebp - 0xb8], eax
and edx, 0x3f
lea eax, [ebp - 0xb8]
add ecx, edi
mov dword [ebp - 0xb4], eax
mov esi, 0x40
mov dword [ebp - 0xa8], ecx
adc dword [ebp - 0xa4], 0
sub esi, edx
cmp esi, edi
jbe 0x57f4aa
mov eax, dword [ebp - 0xb8]
mov dword [ebp + edx - 0x70], eax
jmp 0x57f51b
test edx, edx
je 0x57f4eb
push esi
lea eax, [ebp - 0xb8]
sub edi, esi
push eax
lea eax, [ebp - 0x70]
add eax, edx
push eax
call fcn.0058aed0
add esp, 0xc
lea eax, [ebp - 0xb8]
add eax, esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb4], eax
push 1
call dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
mov esi, edi
lea ecx, [ebp - 0x90]
shr esi, 6
mov edx, eax
push esi
call dword [ebp - 0xb0]
and edi, 0x3f
je 0x57f51b
shl esi, 6
lea eax, [ebp - 0x70]
add esi, dword [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0058aed0
add esp, 0xc
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x57f620
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x57f612
push 0x20
lea ecx, [ebp - 0x30]
push ecx
call eax
test al, al
je 0x57f612
lea eax, [ebp - 0x30]
mov dword [ebp - 0xbc], 0x64
mov dword [ebp - 0xb4], eax
mov edi, 0x20
mov eax, dword [ebp - 0xa8]
mov esi, 0x40
mov ecx, eax
and ecx, 0x3f
add eax, edi
mov dword [ebp - 0xa8], eax
adc dword [ebp - 0xa4], 0
sub esi, ecx
cmp esi, edi
jbe 0x57f5a9
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp + ecx - 0x70], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ebp + ecx - 0x60], xmm0
jmp 0x57f612
test ecx, ecx
je 0x57f5de
push esi
lea eax, [ebp - 0x30]
sub edi, esi
push eax
lea eax, [ebp - 0x70]
add eax, ecx
push eax
call fcn.0058aed0
add esp, 0xc
lea eax, [ebp - 0x30]
add eax, esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb4], eax
push 1
call dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x90]
mov esi, edi
shr esi, 6
push esi
call dword [ebp - 0xb0]
and edi, 0x3f
je 0x57f612
shl esi, 6
lea eax, [ebp - 0x70]
add esi, dword [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0058aed0
add esp, 0xc
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x57f6f0
lea eax, [ebp - 0xc8]
mov edi, 8
mov dword [ebp - 0xb4], eax
mov esi, 0x40
mov eax, dword [ebp - 0xa8]
mov edx, eax
and edx, 0x3f
add eax, edi
mov dword [ebp - 0xa8], eax
adc dword [ebp - 0xa4], 0
sub esi, edx
cmp esi, edi
jbe 0x57f681
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + edx - 0x70], eax
mov dword [ebp + edx - 0x6c], ecx
jmp 0x57f6f0
test edx, edx
je 0x57f6bc
push esi
lea eax, [ebp - 0xc8]
sub edi, esi
push eax
lea eax, [ebp - 0x70]
add eax, edx
push eax
call fcn.0058aed0
add esp, 0xc
lea eax, [ebp - 0xc8]
add eax, esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb4], eax
push 1
call dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x90]
mov esi, edi
shr esi, 6
push esi
call dword [ebp - 0xb0]
and edi, 0x3f
je 0x57f6f0
shl esi, 6
lea eax, [ebp - 0x70]
add esi, dword [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0058aed0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xa8]
mov edi, 4
mov edx, ecx
mov dword [ebp - 0xb8], eax
and edx, 0x3f
lea eax, [ebp - 0xb8]
add ecx, edi
mov dword [ebp - 0xb4], eax
mov esi, 0x40
mov dword [ebp - 0xa8], ecx
adc dword [ebp - 0xa4], 0
sub esi, edx
cmp esi, edi
jbe 0x57f73e
mov eax, dword [ebp - 0xb8]
mov dword [ebp + edx - 0x70], eax
jmp 0x57f7af
test edx, edx
je 0x57f77f
push esi
lea eax, [ebp - 0xb8]
sub edi, esi
push eax
lea eax, [ebp - 0x70]
add eax, edx
push eax
call fcn.0058aed0
add esp, 0xc
lea eax, [ebp - 0xb8]
add eax, esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xb4], eax
push 1
call dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
mov esi, edi
lea ecx, [ebp - 0x90]
shr esi, 6
mov edx, eax
push esi
call dword [ebp - 0xb0]
and edi, 0x3f
je 0x57f7af
shl esi, 6
lea eax, [ebp - 0x70]
add esi, dword [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0058aed0
add esp, 0xc
mov esi, 0x64
nop dword [eax]
nop dword [eax + eax]
mov edx, 0x5fabc0
lea ecx, [ebp - 0xb0]
call fcn.00464c60
movaps xmm0, xmmword [0x5fabc0]
mov eax, dword [0x5faba4]
movaps xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x5fabd0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x90], 0x6a09e667
mov dword [ebp - 0x8c], 0xbb67ae85
mov dword [ebp - 0x88], 0x3c6ef372
mov dword [ebp - 0x84], 0xa54ff53a
mov dword [ebp - 0x80], 0x510e527f
mov dword [ebp - 0x7c], 0x9b05688c
mov dword [ebp - 0x78], 0x1f83d9ab
mov dword [ebp - 0x74], 0x5be0cd19
mov dword [ebp - 0xa8], 0x20
mov dword [ebp - 0xa4], 0
movaps xmmword [ebp - 0x60], xmm0
sub esi, 1
jne 0x57f7c0
sub dword [ebp - 0xbc], 1
jne 0x57f620
mov edx, 0x5fabc0
lea ecx, [ebp - 0xb0]
call fcn.00464c60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x5fabe0], 0
pop esi
call fcn.00587d99
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret