Function at 0x180006780
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov r14, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x46]
lea rdx, [0x180001550]
movzx r9d, word [rsp + 0x42]
lea rcx, [rsp + 0x50]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
or r12, 0xffffffffffffffff
lea rax, [rsp + 0x50]
mov rbx, r12
xor r15d, r15d
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1800067e0
mov r9d, 0x18
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, 2
test eax, eax
je 0x1800069d9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
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 0x180006854
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1800069d9
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov r8d, ebx
mov rdi, r15
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x18000697f
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0xb8]
mov edx, 4
mov dword [rbp + 0xb0], r15d
lea r8, [rbp + 0xb0]
mov dword [rbp + 0xb8], edx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x18000697f
mov eax, dword [rbp + 0xb0]
test eax, eax
je 0x18000697f
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0xb0]
mov r8, rax
mov dword [rsp + 0x20], r15d
mov edx, esi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x180006971
mov eax, dword [rbp + 0xb0]
xor ecx, ecx
lea edx, [rax*2 + 1]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov cl, 1
mov r13d, r15d
mov rdi, rax
mov byte [rbp + 0xa8], cl
mov eax, dword [rbp + 0xb0]
test eax, eax
je 0x18000696b
mov r15, rbx
movzx r9d, byte [r15]
test cl, cl
mov rcx, rdi
je 0x180006941
mov r8d, r9d
lea rdx, [0x180001080]
call qword [sym.imp.USER32.dll_wsprintfA]
xor cl, cl
mov byte [rbp + 0xa8], cl
jmp 0x180006957
mov r8, rdi
lea rdx, [0x180001088]
call qword [sym.imp.USER32.dll_wsprintfA]
mov cl, byte [rbp + 0xa8]
mov eax, dword [rbp + 0xb0]
inc r13d
inc r15
cmp r13d, eax
jne 0x18000691c
xor r15d, r15d
add eax, eax
mov byte [rax + rdi], r15b
test rbx, rbx
je 0x18000697f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test rdi, rdi
je 0x1800069d9
inc r12
cmp byte [rdi + r12], r15b
jne 0x18000699c
test r12, r12
je 0x1800069d0
mov rdx, rdi
sub rdx, r14
movzx eax, byte [r14]
movzx ecx, byte [r14 + rdx]
sub eax, ecx
jne 0x1800069c4
inc r14
test ecx, ecx
jne 0x1800069b0
mov esi, r15d
test eax, eax
je 0x1800069d0
mov esi, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x1a0]
mov eax, esi
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret