Function at 0x1400010e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x4f]
sub rsp, 0xe8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [str.0123456789abcdef]
movzx eax, byte [0x140006458]
lea rcx, [rbp - 0x41]
xor r14d, r14d
mov dword [rbp - 0x51], 0x20
xor r8d, r8d
mov qword [rbp - 0x41], r14
xor edx, edx
mov qword [rbp - 0x49], r14
movups xmmword [rbp - 0x69], xmm0
lea r9d, [r14 + 0x18]
mov byte [rbp - 0x59], al
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001354
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rsi
mov esi, r14d
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0xe0], r15
lea r15, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001318
mov edi, r14d
nop dword [rax]
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000136b
mov r9d, edi
mov dword [rsp + 0x20], 0x2f6
lea r8, str._d_d
mov edx, 8
mov rcx, rax
call fcn.140001080
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], r14b
jne 0x1400011f0
mov rcx, qword [rbp - 0x49]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400012c7
mov rcx, qword [rbp - 0x49]
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x39]
mov dword [rsp + 0x20], r14d
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400012c7
mov r11d, dword [rbp - 0x51]
mov r9d, r14d
test r11d, r11d
je 0x140001285
lea r10, [rbp - 0x39]
nop word [rax + rax]
movzx r8d, byte [r10]
lea edx, [r9 + r9]
mov eax, r8d
lea ecx, [rdx + 1]
shr rax, 4
lea r10, [r10 + 1]
and r8d, 0xf
inc r9d
movzx eax, byte [rbp + rax - 0x69]
mov byte [rbp + rdx - 0x19], al
movzx eax, byte [rbp + r8 - 0x69]
mov byte [rbp + rcx - 0x19], al
cmp r9d, r11d
jb 0x140001250
lea eax, [r11 + r11]
cmp eax, 0x41
jae 0x140001377
mov r8, qword [r15 + rsi*8 + 0x8080]
mov byte [rbp + rax - 0x19], r14b
lea rax, [rbp - 0x19]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400012c3
inc rax
test ecx, ecx
jne 0x1400012b0
test edx, edx
je 0x140001310
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp edi, 0xff
jge 0x140001300
mov rcx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
inc edi
cmp edi, 0xff
jle 0x1400011b0
jmp 0x140001318
mov byte [rsi + r15 + 0x9e10], dil
inc rsi
cmp rsi, 0x2f6
jl 0x140001180
mov rcx, qword [rbp - 0x41]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
mov r15, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001420
add rsp, 0xe8
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140001548
int3