Function at 0x466820
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x508164]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x50d878
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x508c2c], 0
je 0x4669ae
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x6a09e667
mov dword [esp + 0x1c], 0xbb67ae85
mov dword [esp + 0x20], 0x3c6ef372
mov dword [esp + 0x24], 0xa54ff53a
mov dword [esp + 0x28], 0x510e527f
mov dword [esp + 0x2c], 0x9b05688c
mov dword [esp + 0x30], 0x1f83d9ab
mov dword [esp + 0x34], 0x5be0cd19
movlpd qword [esp + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
call fcn.004677b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
call fcn.004677b0
add esp, 4
mov ebx, 0x3e8
nop
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x466901
push 8
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.004677b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
call fcn.004677b0
add esp, 4
mov edi, 0x64
mov edx, 0x508c0c
lea ecx, [esp + 0x18]
call fcn.00467870
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x6a09e667
push 0x20
mov edx, 0x508c0c
mov dword [esp + 0x20], 0xbb67ae85
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
movlpd qword [esp + 0x3c], xmm0
call fcn.004677b0
add esp, 4
sub edi, 1
jne 0x466922
sub ebx, 1
jne 0x4668e0
mov edx, 0x508c0c
lea ecx, [esp + 0x18]
call fcn.00467870
mov byte [0x508c2c], bl
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x466ad9
nop dword [eax]
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x6a09e667
push 0x20
mov edx, 0x508c0c
mov dword [esp + 0x20], 0xbb67ae85
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
movlpd qword [esp + 0x3c], xmm0
call fcn.004677b0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, 0x508c0c
call fcn.00467870
xorps xmm0, xmm0
mov dword [esp + 0x18], 0x6a09e667
push 4
lea edx, [esp + 0x10]
mov dword [esp + 0x20], 0xbb67ae85
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x10], 0xf672abd1
call fcn.004677b0
add esp, 4
lea ecx, [esp + 0x18]
mov edx, 0x508c0c
push 0x20
call fcn.004677b0
add esp, 4
lea edx, [esp + 0x84]
lea ecx, [esp + 0x18]
call fcn.00467870
lea edx, [esp + 0x84]
xor ecx, ecx
sub edx, esi
nop dword [eax + eax]
test edi, edi
je 0x466ad9
mov al, byte [edx + esi]
inc ecx
mov byte [esi], al
dec edi
inc esi
cmp ecx, 0x20
jb 0x466ac0
test edi, edi
jne 0x4669c0
push 0x50d878
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 8