Function at 0x14002163c
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 [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov esi, dword [rdx + 0x10]
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x14002169d
mov r8, qword [rdx]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rsi + 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 r12, eax
mov rcx, r12
call fcn.140034cc0
mov r15, rax
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x1400216df
mov r8, qword [r14]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
lea r9d, [rsi + 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 + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], bl
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], bl
jne 0x140021722
lea rcx, [rsp + 0x60]
cmp rsi, 0xf
ja 0x14002174c
mov qword [rsp + 0x70], rsi
mov r8, rsi
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [rsp + rsi + 0x60], bl
jmp 0x140021758
mov r9, r15
mov rdx, rsi
call fcn.140010554
nop
mov rcx, r15
call fcn.140033a14
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], ebx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8d, 0x24
lea rcx, [rbp - 0x80]
call fcn.1400301e0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.140030300
lea r9, [rbp - 0x10]
lea r10, str.0123456789ABCDEF
movzx r8d, byte [r9]
lea edx, [rbx + rbx]
mov eax, r8d
shr rax, 4
movzx eax, word [r10 + rax*2]
mov word [rbp + rdx*2 + 0x10], ax
and r8d, 0xf
lea ecx, [rdx + 1]
movzx eax, word [r10 + r8*2]
mov word [rbp + rcx*2 + 0x10], ax
inc ebx
inc r9
cmp ebx, 0x20
jb 0x1400217ff
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14000d2b0
mov dword [rsp + 0x40], 1
cmp qword [rdi + 0x18], 8
jb 0x140021855
mov r15, qword [rdi]
mov rcx, r15
jmp 0x14002185b
mov rcx, rdi
mov r15, rdi
mov rax, qword [rdi + 0x10]
lea rbx, [rcx + rax*2]
mov rsi, rdi
jb 0x14002186b
mov rsi, qword [rdi]
cmp rsi, rbx
je 0x140021890
sub r15, rsi
movzx ecx, word [rsi]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towlower]
nop dword [rax + rax]
mov word [r15 + rsi], ax
add rsi, 2
cmp rsi, rbx
jne 0x140021873
lea rcx, [rsp + 0x60]
call fcn.14000d504
nop
mov rcx, r14
call fcn.14000d240
mov rax, rdi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400339f0
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