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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140060030]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r13, r8
mov rbx, rdx
mov rsi, rcx
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140005306
mov rax, qword [r8]
xor edi, edi
mov qword [r8 + 0x10], rdi
mov byte [rax], dil
mov rcx, rbx
cmp qword [rdx + 0x18], 8
jb 0x14000531c
mov rcx, qword [rdx]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14000537d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 8
jb 0x14000535c
mov rbx, qword [rbx]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_Error_opening_file___File:___S___ErrorCode:___d__
mov edx, 0xc8
lea rcx, [rsi + 0x18]
call fcn.140008b20
jmp 0x1400054e8
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400053c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_CryptAcquireContext_failed:_ErrorCode:___d__
mov edx, 0xc8
call fcn.140008b20
jmp 0x1400054df
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140005429
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_CryptAcquireContext_failed:_ErrorCode:___d__
mov edx, 0xc8
call fcn.140008b20
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1400054e8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x50]
call fcn.140023720
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400054a9
nop
mov r8d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
test r8d, r8d
je 0x140005523
xor r9d, r9d
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140005514
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140005460
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_ReadFile_failed:_ErrorCode:___d__
mov r9d, eax
mov edx, 0xc8
lea rcx, [rsi + 0x18]
call fcn.140008b20
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140020a00
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_CryptHashData_failed:_ErrorCode:___d__
jmp 0x1400054b6
mov dword [rsp + 0x6c], 0x10
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x68]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400057c4
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], rdi
mov ebx, edi
mov rdx, qword [rbp - 0x78]
cmp dword [rsp + 0x6c], edi
jbe 0x1400055f1
lea r14, str.0123456789abcdef
nop word [rax + rax]
mov eax, ebx
lea rsi, [rbp - 0x68]
add rsi, rax
movzx r8d, byte [rsi]
shr r8, 4
add r8, r14
cmp rdx, rdi
je 0x1400055a8
movzx eax, byte [r8]
mov byte [rdx], al
inc rdx
mov qword [rbp - 0x78], rdx
jmp 0x1400055b9
lea rcx, [rbp - 0x80]
call fcn.140006840
mov rdi, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
movzx r8d, byte [rsi]
and r8d, 0xf
add r8, r14
cmp rdx, rdi
je 0x1400055d8
movzx eax, byte [r8]
mov byte [rdx], al
inc rdx
mov qword [rbp - 0x78], rdx
jmp 0x1400055e9
lea rcx, [rbp - 0x80]
call fcn.140006840
mov rdi, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
inc ebx
cmp ebx, dword [rsp + 0x6c]
jb 0x140005580
mov byte [rsp + 0x40], 0
cmp rdx, rdi
je 0x140005607
mov byte [rdx], 0
inc rdx
mov qword [rbp - 0x78], rdx
jmp 0x140005619
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140006840
mov rdi, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov r14, qword [rbp - 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x140005630
movabs r15, 0x7fffffffffffffff
cmp rsi, r15
ja 0x1400057ed
cmp rsi, 0x10
jae 0x14000567d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 0xf
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140022fd0
mov byte [rsp + rsi + 0x48], 0
mov r15, qword [rsp + 0x60]
jmp 0x1400056ca
mov rax, rsi
or rax, 0xf
cmp rax, r15
ja 0x140005698
mov r15, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r15, rcx
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.140006760
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r15
mov r8, rsi
mov rdx, r14
mov rcx, rax
call fcn.140022fd0
mov byte [rbx + rsi], 0
lea rax, [rsp + 0x48]
cmp r13, rax
je 0x14000572e
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000570f
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14000570a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400057f3
mov rcx, r8
call fcn.140020a20
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r13 + 0x10], xmm1
mov r15d, 0xf
mov byte [rsp + 0x48], 0
cmp r15, 0x10
jb 0x140005768
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057f3
call fcn.140020a20
nop
test r14, r14
je 0x14000579c
sub rdi, r14
mov rax, r14
cmp rdi, 0x1000
jb 0x140005791
add rdi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057e7
mov rdx, rdi
mov rcx, r14
call fcn.140020a20
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400054ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::CalcMD5OfFile__:_CryptGetHashParam_failed:_ErrorCode:___d__
mov edx, 0xc8
call fcn.140008b20
jmp 0x1400054df
call fcn.14002c9f4
nop
call fcn.1400022f0
int3
call fcn.14002c9f4
int3