Function at 0x140001c80
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x90
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rcx, qword [rdx + 0x10]
mov rbx, rdx
mov rbp, qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rdi, qword [rbx + 0x18]
mov r15d, eax
cmp byte [rdi], 0x7a
jne 0x140001f30
mov rsi, qword [rbx + 0x20]
cmp byte [rsi], 0x7a
jne 0x140001f30
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp eax, 0x351a
jne 0x140001f30
mov qword [rsp + 0xc0], r12
mov r12, 0xffffffffffffffff
mov rbx, r12
mov qword [rsp + 0xd0], r14
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140001d00
inc rbx
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140002274
mov r8, rbx
mov rdx, rbp
mov rcx, rax
mov r14, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r12
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001d35
inc rbx
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140002274
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbp, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r12
nop word [rax + rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140001d70
inc rbx
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140002274
mov r8, rbx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r9, rbp
lea rcx, [rsp + 0x40]
mov r8d, r15d
mov rdx, r14
call fcn.140001210
movups xmm0, xmmword [rax]
movq rbx, xmm0
movups xmmword [rsp + 0x78], xmm0
test rbx, rbx
jne 0x140001df8
mov eax, r12d
mov r12, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140002210
add rsp, 0x90
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9, rdi
lea rcx, [rsp + 0x50]
mov r8d, r15d
mov rdx, r14
call fcn.140001210
movups xmm0, xmmword [rax]
movq rdi, xmm0
movups xmmword [rsp + 0x30], xmm0
test rdi, rdi
jne 0x140001e22
lea eax, [rdi - 2]
jmp 0x140001dca
movups xmm0, xmmword [rsp + 0x78]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x68]
psrldq xmm0, 8
xor edx, edx
movd dword [rsp + 0x60], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001f13
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
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 0x140001f13
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov rdx, rdi
psrldq xmm0, 8
movq r8, xmm0
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001f13
mov r8, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001f13
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140001f13
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
lea rax, str.lmfaoo
mov rcx, rbx
mov qword [0x1400066c8], rax
call fcn.1400019a0
xor eax, eax
jmp 0x140001dca
mov eax, 1
jmp 0x140001dda