Function at 0x1400039d0
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 - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400b31d8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r9
mov esi, r8d
mov rdi, rcx
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x31], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x27], eax
movups xmm0, xmmword [str.0123456789abcdef]
movups xmmword [rbp - 1], xmm0
movzx eax, byte [0x14009ab58]
mov byte [rbp + 0xf], al
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], bl
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [rbx + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140003a62
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140003aea
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140003a8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140003add
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140003acd
mov dword [rbp - 0x35], 0x14
mov byte [rbp - 0x37], 0
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x35]
lea r8, [rbp + 0x17]
mov edx, 2
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x140003b2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140003b25
inc rdx
mov rcx, qword [rbp - 0x21]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003b20
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c0e
call fcn.140056740
xor eax, eax
jmp 0x140003bf4
cmp dword [rbp - 0x35], 0
jbe 0x140003b7e
mov eax, ebx
movzx ecx, byte [rbp + rax + 0x17]
mov eax, ecx
shr rax, 4
movzx eax, byte [rbp + rax - 1]
mov byte [rbp - 0x39], al
and ecx, 0xf
movzx eax, byte [rbp + rcx - 1]
mov byte [rbp - 0x38], al
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003b60
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.140009910
inc ebx
cmp ebx, dword [rbp - 0x35]
jb 0x140003b32
lea rax, [rbp - 0x21]
cmp r14, rax
je 0x140003ba1
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x11]
mov rcx, r14
call fcn.1400097b0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140003bef
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c0e
call fcn.140056740
mov eax, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140056720
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140065768
int3