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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140075238]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x30], 0x14
mov rsi, r8
mov word [rbp + 0x20], ax
mov rdi, rdx
mov dword [rsp + 0x20], 0xf0000020
mov rbx, rcx
xor r8d, r8d
lea r9d, [rax + 1]
xor edx, edx
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor r14d, r14d
test eax, eax
je 0x140015b1f
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140015b12
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140015b07
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], r14d
lea edx, [r14 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140015b07
mov r9d, r14d
lea r8, [rbp - 0x24]
lea r10d, [r14 + 0x57]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsp + r9 + 0x50]
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
mov word [r8 - 0xc], ax
cmp cl, 0xa
movzx edx, byte [rsp + r9 + 0x51]
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0xa], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x52]
cmp cl, 0xa
mov word [r8 - 8], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 6], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x53]
cmp cl, 0xa
mov word [r8 - 4], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 2], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x54]
cmp cl, 0xa
mov word [r8], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 + 2], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x55]
cmp cl, 0xa
mov word [r8 + 4], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 + 6], ax
movzx eax, dl
lea r8, [r8 + 0x28]
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
mov word [r8 - 0x20], ax
cmp cl, 0xa
movzx edx, byte [rsp + r9 + 0x56]
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0x1e], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x57]
cmp cl, 0xa
mov word [r8 - 0x1c], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0x1a], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x58]
cmp cl, 0xa
mov word [r8 - 0x18], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0x16], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
movzx edx, byte [rsp + r9 + 0x59]
cmp cl, 0xa
mov word [r8 - 0x14], ax
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0x12], ax
movzx eax, dl
shr al, 4
movzx ecx, al
mov eax, 0x30
cmp cl, 0xa
cmovae ax, r10w
and dl, 0xf
add ax, cx
movzx ecx, dl
mov word [r8 - 0x10], ax
cmp cl, 0xa
mov eax, 0x30
cmovae ax, r10w
add ax, cx
mov word [r8 - 0xe], ax
add r9, 0xa
cmp r9, 0x14
jl 0x140015880
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rbx + 0x10], r14
lea rax, [rbp - 0x30]
mov qword [rbx + 0x18], 7
mov r8, 0xffffffffffffffff
mov word [rbx], r14w
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140015b40
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14000b3c0
mov rax, rbx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14002d580
add rsp, 0x140
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret