Function at 0x140020eec
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14005b8e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov ebx, dword [rdx + 0x10]
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x140020f4f
mov r8, qword [rdx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
movsxd r15, eax
mov rcx, r15
call fcn.140035c70
mov r14, rax
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140020f92
mov r8, qword [rdi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], r12b
jne 0x140020fd1
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000dcd8
nop
mov rcx, r14
call fcn.140034b18
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
xor edx, edx
mov r8d, 0x82
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x80], 0x6a09e667
mov dword [rbp - 0x7c], 0xbb67ae85
mov dword [rbp - 0x78], 0x3c6ef372
mov dword [rbp - 0x74], 0xa54ff53a
mov dword [rbp - 0x70], 0x510e527f
mov dword [rbp - 0x6c], 0x9b05688c
mov dword [rbp - 0x68], 0x1f83d9ab
mov qword [rbp - 0x64], 0x5be0cd19
mov dword [rbp - 0x5c], r12d
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8d, 0x24
lea rcx, [rbp - 0x80]
call fcn.1400311e0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.140031300
mov r9d, r12d
lea r10, [rbp - 0x10]
lea r11, str.0123456789ABCDEF
movzx r8d, byte [r10]
lea edx, [r9 + r9]
mov eax, r8d
shr rax, 4
movzx eax, word [r11 + rax*2]
mov word [rbp + rdx*2 + 0x10], ax
and r8d, 0xf
lea ecx, [rdx + 1]
movzx eax, word [r11 + r8*2]
mov word [rbp + rcx*2 + 0x10], ax
inc r9d
inc r10
cmp r9d, 0x20
jb 0x140021093
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.14000c6b4
mov dword [rsp + 0x40], 1
cmp qword [rsi + 0x18], 8
jb 0x1400210ec
mov r15, qword [rsi]
mov rcx, r15
jmp 0x1400210f2
mov rcx, rsi
mov r15, rsi
mov rax, qword [rsi + 0x10]
lea rbx, [rcx + rax*2]
mov r14, rsi
jb 0x140021102
mov r14, qword [rsi]
cmp r14, rbx
je 0x140021128
sub r15, r14
movzx ecx, word [r14]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towlower]
nop dword [rax + rax]
mov word [r15 + r14], ax
add r14, 2
cmp r14, rbx
jne 0x14002110a
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140021140
inc rdx
mov rcx, qword [rsp + 0x60]
call fcn.14000f8e8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r12b
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14002116d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
call fcn.14000f8e8
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov rax, rsi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140034af0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret