Function at 0x408d50
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 0x488730
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x108
push esi
push edi
mov edi, ecx
call fcn.00409e30
test al, al
jne 0x408db9
mov byte [ebp - 0x11], 0x1f
call fcn.004030f0
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 0x409074
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
dec eax
movzx esi, byte [edi + 0x333]
inc edx
cmp esi, eax
jne 0x40904f
lea ecx, [edi + 0x233]
sub esi, 4
jb 0x408df1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x408df6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x408de0
cmp esi, 0xfffffffc
je 0x408e33
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x40904f
cmp esi, 0xfffffffd
je 0x408e33
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x40904f
cmp esi, 0xfffffffe
je 0x408e33
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x40904f
cmp esi, 0xffffffff
je 0x408e33
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x40904f
mov eax, dword [ebx + 8]
mov dword [eax + 0x7ee], 5
cmp byte [edi + 0x98c], 0
jne 0x408e5a
push 0
push 0
push eax
mov ecx, edi
call fcn.004090b0
jmp 0x409091
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 [0x5bc6ac], 0
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [ebp - 0x60], 0xf
jne 0x408ee0
push 0x5bc6b0
call esi
mov byte [0x5bc6ac], 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.00461c80
push dword [0x5bc6b4]
push dword [0x5bc6b0]
push edx
push eax
call fcn.00485cd0
cmp dword [edi + 0x98d], eax
jae 0x408f1e
mov ecx, edi
call fcn.004099f0
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.00418fc0
push 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x118]
call fcn.00418fc0
push 0x14
lea eax, [edi + 0x991]
push eax
lea ecx, [ebp - 0x118]
call fcn.00418fc0
lea ecx, [ebp - 0x118]
call fcn.00419080
cmp byte [0x5bc6ac], 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 0x408fef
push 0x5bc6b0
call esi
mov byte [0x5bc6ac], 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.00461c80
push dword [0x5bc6b4]
push dword [0x5bc6b0]
push edx
push eax
call fcn.00485cd0
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.0040a520
jmp 0x409091
mov byte [ebp - 0x12], 0x25
call fcn.004030f0
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.0040a520
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