Function at 0x140001440
Capabilities:
Get disk information
Get system information on windows
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x50], edi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x130]
lea rcx, [0x140007458]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140001502
mov edx, dword [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400019b0
mov r15d, 6
jmp 0x14000154d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov ecx, 0x20
call fcn.140005370
mov qword [rbp - 0x20], rax
movdqa xmm0, xmmword [0x140007910]
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [str.Unknown_Disk_Serial]
movups xmmword [rax], xmm0
movzx ecx, word [0x140007470]
mov word [rax + 0x10], cx
movzx ecx, byte [0x140007472]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], dil
mov r15d, 2
lea rcx, [rbp]
call fcn.1400011d0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x7c]
lea rcx, [rbp - 0x40]
call fcn.1400019b0
or r15d, 0x18
lea r8, [rbp]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140001c10
mov rsi, rax
lea r9, [rbp - 0x40]
mov r13, qword [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, r13
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
mov r12, qword [rbp - 0x30]
cmp r12, rax
ja 0x1400015dd
lea rax, [r12 + rcx]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1400015c4
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, r12
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + rbx], 0
jmp 0x1400015f4
mov qword [rsp + 0x20], r12
mov rdx, r12
mov rcx, rsi
call fcn.140001d70
mov rsi, rax
mov r13, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
or r15d, 0x20
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140001666
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001660
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053ac
nop
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x50], 0x10
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
or r15d, 0x40
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001788
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000177b
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
xor r9d, r9d
mov r8d, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001771
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov edx, 2
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140001771
cmp dword [rsp + 0x50], 0
jbe 0x140001771
nop dword [rax]
mov eax, edi
movzx r8d, byte [rsp + rax + 0x58]
lea rdx, str._02X
lea rcx, [rbp - 0x78]
call fcn.140001b50
lea rax, [rbp - 0x78]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001753
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.140001930
inc edi
cmp edi, dword [rsp + 0x50]
jb 0x140001730
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400017c6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053ac
movdqa xmm0, xmmword [0x140007900]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, qword [rbp - 0x28]
cmp rax, 0xf
jbe 0x140001816
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14000180d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000180d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400053ac
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140001855
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000184f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000184f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053ac
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140001893
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000188e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053ac
mov rax, r14
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140005350
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret