Function at 0x13fb830b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1fc0]
mov eax, 0x20c0
call fcn.13fb87300
sub rsp, rax
mov rax, qword [0x13fb933b8]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
movups xmm0, xmmword [0x13fb88540]
movzx eax, byte [0x13fb88550]
xor ebx, ebx
mov r14, rdx
mov qword [rsp + 0x30], rbx
mov rsi, r8
mov dword [rsp + 0x28], 0x8000000
mov r15, rcx
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 1]
mov qword [rsp + 0x48], rbx
xor r9d, r9d
mov byte [rsp + 0x68], al
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r14
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.kernel32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x13fb8315f
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdx, r14
lea rcx, [0x13fb8f5f0]
mov r8d, eax
call fcn.13fb869e0
mov eax, edi
jmp 0x13fb83242
mov rcx, qword [r15]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x13fb831a8
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea rcx, [0x13fb8f630]
call fcn.13fb869e0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xfffffffd
jmp 0x13fb83242
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x2000
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x13fb83215
nop dword [rax]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x13fb83296
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
xor r9d, r9d
call qword [sym.imp.advapi32.dll_CryptHashData]
test eax, eax
je 0x13fb83268
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x2000
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x13fb831d0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea rcx, [0x13fb8f6a8]
call fcn.13fb869e0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xfffffffb
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.13fb87030
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, [0x13fb8f670]
call fcn.13fb869e0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xfffffffc
jmp 0x13fb83242
test eax, eax
je 0x13fb83215
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x50], 0x10
mov edx, 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
test eax, eax
je 0x13fb83322
mov eax, dword [rsp + 0x50]
mov r8d, ebx
test eax, eax
je 0x13fb83313
lea r9, [rsp + 0x70]
mov r10d, eax
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, r8d
mov eax, edx
shr rax, 4
inc r8d
and edx, 0xf
movzx eax, byte [rsp + rax + 0x58]
mov byte [rbp + rcx - 0x80], al
movzx eax, byte [rsp + rdx + 0x58]
mov byte [rbp + r8 - 0x80], al
inc r8d
sub r10, 1
jne 0x13fb832e0
mov eax, r8d
cmp rax, 0x21
jae 0x13fb83373
mov byte [rbp + rax - 0x80], bl
jmp 0x13fb83336
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea rcx, [0x13fb8f6d8]
call fcn.13fb869e0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
lea rax, [rbp - 0x80]
sub rsi, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + rsi]
jne 0x13fb83367
inc rax
test cl, cl
jne 0x13fb83351
mov eax, ebx
jmp 0x13fb83242
sbb ebx, ebx
or ebx, 1
mov eax, ebx
jmp 0x13fb83242
call fcn.13fb8715c
int3