Function at 0x408f50
Capabilities:
Check for time delay via queryperformancecounter
Hash data using sha1

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a42e0
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x108
push esi
push edi
mov edi, ecx
call fcn.0040a020
test al, al
jne 0x408fb9
mov byte [ebp - 0x11], 0x1f
call fcn.004031c0
push 0
push eax
mov eax, dword [ebx + 0xc]
push 0
push 0
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebx + 0x10]
mov word [ecx + 4], ax
lea eax, [ebp - 0x11]
jmp 0x409274
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
dec eax
movzx esi, byte [edi + 0x333]
inc edx
cmp esi, eax
jne 0x40924f
lea ecx, [edi + 0x233]
sub esi, 4
jb 0x408ff1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x408ff6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x408fe0
cmp esi, 0xfffffffc
je 0x409033
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40924f
cmp esi, 0xfffffffd
je 0x409033
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40924f
cmp esi, 0xfffffffe
je 0x409033
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40924f
cmp esi, 0xffffffff
je 0x409033
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x40924f
mov eax, dword [ebx + 8]
mov dword [eax + 0x7ee], 5
cmp byte [edi + 0x98c], 0
jne 0x40905a
push 0
push 0
push eax
mov ecx, edi
call fcn.004092b0
jmp 0x409291
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov ax, word [ebx + 0x10]
mov word [ebp - 0x18], ax
mov dword [ebp - method.CSHA1.virtual_0], vtable.CSHA1.0
mov dword [ebp - 0x114], 0x67452301
mov dword [ebp - 0x110], 0xefcdab89
mov dword [ebp - 0x10c], 0x98badcfe
mov dword [ebp - 0x108], 0x10325476
mov dword [ebp - 0x104], 0xc3d2e1f0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 0
cmp byte [0x5e6940], 0
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [ebp - 0x60], 0xf
jne 0x4090e0
push 0x5e6944
call esi
mov byte [0x5e6940], 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.004796a0
push dword [0x5e6948]
push dword [0x5e6944]
push edx
push eax
call fcn.004a1970
cmp dword [edi + 0x98d], eax
jae 0x40911e
mov ecx, edi
call fcn.00409be0
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x114], 0x67452301
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x110], 0xefcdab89
mov dword [ebp - 0x10c], 0x98badcfe
mov dword [ebp - 0x108], 0x10325476
mov dword [ebp - 0x104], 0xc3d2e1f0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
call fcn.004190a0
push 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x118]
call fcn.004190a0
push 0x14
lea eax, [edi + 0x991]
push eax
lea ecx, [ebp - 0x118]
call fcn.004190a0
lea ecx, [ebp - 0x118]
call fcn.00419160
cmp byte [0x5e6940], 0
movups xmm0, xmmword [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x4f], eax
mov eax, dword [edi + 0x836]
movups xmmword [ebp - 0x5f], xmm0
mov dword [ebp - 0x4b], eax
movups xmm0, xmmword [edi + 0x856]
movups xmmword [ebp - 0x47], xmm0
movups xmm0, xmmword [edi + 0x866]
movups xmmword [ebp - 0x37], xmm0
jne 0x4091ef
push 0x5e6944
call esi
mov byte [0x5e6940], 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.004796a0
push dword [0x5e6948]
push dword [0x5e6944]
push edx
push eax
call fcn.004a1970
push 0
push eax
mov eax, dword [ebp - 0x1c]
push 0
push 0
sub esp, 8
mov ecx, esp
push 0
mov dword [ecx], eax
mov ax, word [ebp - 0x18]
push 6
push 0
mov word [ecx + 4], ax
lea eax, [ebp - 0x60]
push 0x1c8
push eax
mov ecx, edi
call fcn.0040a710
jmp 0x409291
mov byte [ebp - 0x12], 0x25
call fcn.004031c0
push 0
push eax
mov eax, dword [ebx + 0xc]
push 0
push 0
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebx + 0x10]
mov word [ecx + 4], ax
lea eax, [ebp - 0x12]
push 0
push 8
push 0
push 8
push eax
mov ecx, edi
call fcn.0040a710
mov eax, dword [ebx + 8]
mov dword [eax + 0x7ee], 2
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14