Function at 0x14002b570
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rdi, rdx
mov qword [rbp - 0x71], rdx
xor r14d, r14d
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r14
mov rax, r8
cmp qword [r8 + 0x18], 7
jbe 0x14002b5b8
mov rax, qword [r8]
lea rbx, [r8 + 0x10]
mov qword [rbx], r14
mov word [rax], r14w
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14002b77e
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14002b61b
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14002b77e
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002b628
mov rdx, qword [rdi]
mov r8d, dword [rdi + 0x10]
add r8d, r8d
xor r9d, r9d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14002b767
mov dword [rbp - 0x59], 0x14
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x17]
mov edx, 2
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14002b767
mov r10d, dword [rbp - 0x59]
cmp r10d, 0x14
ja 0x14002b767
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
mov word [rbp + 7], ax
mov r9d, r14d
test r10d, r10d
je 0x14002b6e6
lea r11, [rbp + 0x17]
lea r15, str.0123456789abcdef
nop dword [rax]
movzx r8d, byte [r11]
lea edx, [r9 + r9]
mov eax, r8d
shr rax, 4
movzx eax, word [r15 + rax*2]
mov word [rbp + rdx*2 - 0x49], ax
and r8d, 0xf
lea ecx, [rdx + 1]
movzx eax, word [r15 + r8*2]
mov word [rbp + rcx*2 - 0x49], ax
inc r9d
lea r11, [r11 + 1]
cmp r9d, r10d
jb 0x14002b6b0
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rax, [rbp - 0x49]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14002b710
mov rax, qword [rsi + 0x18]
cmp rdx, rax
ja 0x14002b749
cmp rax, 7
jbe 0x14002b72c
mov rsi, qword [rsi]
mov qword [rbx], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.14019d040
mov word [rbx + rsi], r14w
jmp 0x14002b75b
lea r9, [rbp - 0x49]
movzx r8d, byte [rbp - 0x79]
mov rcx, rsi
call fcn.14000abb0
nop
mov rcx, rdi
call fcn.14000b550
mov al, 1
jmp 0x14002b788
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
mov rcx, rdi
call fcn.14000b550
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140162ed0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret