Function at 0x140001b50
Capabilities:
Accept command line arguments
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
sub rsp, 0xc0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rdx
cmp ecx, 5
je 0x140001b8c
mov rdx, qword [rdx]
lea rcx, str.___n
call fcn.140001010
mov eax, 1
jmp 0x14000204c
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rdi
mov rdi, qword [rdx + 8]
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rsi, qword [rbx + 0x18]
mov r13, 0xffffffffffffffff
mov rbp, qword [rbx + 0x20]
mov r15d, eax
mov rbx, r13
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001be7
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.140002398
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov r12, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r13
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140001c20
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.140002398
mov r8, rbx
mov rdx, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r13
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140001c55
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.140002398
mov r8, rbx
mov rdx, rbp
mov rcx, rax
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r8d, r15d
lea rcx, str._n_n____s:_d_n
mov rdx, rdi
call fcn.140001010
mov r9, r14
lea rcx, [rsp + 0x50]
mov r8d, r15d
mov rdx, r12
call fcn.140001210
movups xmm0, xmmword [rax]
movq r14, xmm0
movups xmmword [rsp + 0x88], xmm0
test r14, r14
jne 0x140001cd5
lea rcx, str.____n
call fcn.140001010
mov eax, r13d
jmp 0x140002014
mov r8d, r15d
lea rcx, str._n__s:_d_n
mov rdx, rdi
call fcn.140001010
mov r9, rsi
lea rcx, [rsp + 0x60]
mov r8d, r15d
mov rdx, r12
call fcn.140001210
movups xmm0, xmmword [rax]
movq rbx, xmm0
movups xmmword [rsp + 0x40], xmm0
test rbx, rbx
jne 0x140001d14
lea eax, [rbx - 2]
jmp 0x140002014
mov rdx, r14
lea rcx, str._n__p_n
call fcn.140001010
mov rdx, rbx
lea rcx, str._n__p_n
call fcn.140001010
mov eax, dword [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov r9d, 0x18
mov dword [rsp + 0x70], eax
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140001d78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___u__n
call fcn.140001010
jmp 0x140001e98
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140001db8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___u__n
call fcn.140001010
jmp 0x140001e98
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140001dee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___u__n
call fcn.140001010
jmp 0x140001e98
mov r8, qword [rsp + 0x80]
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140001e30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___u__n
call fcn.140001010
jmp 0x140001e98
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140001e6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___u__n
call fcn.140001010
jmp 0x140001e98
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor r15d, r15d
lea r8, str.whatEver
mov dword [rsp + 0x28], r15d
mov r9d, r13d
xor edx, edx
mov qword [rsp + 0x20], r15
mov ecx, 0xfde9
mov qword [0x1400066f0], r8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
lea edx, [r15 + 2]
add ecx, 1
mov ebx, eax
cmovb rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8, qword [0x1400066f0]
mov r9d, r13d
xor edx, edx
mov dword [rsp + 0x28], ebx
mov ecx, 0xfde9
mov qword [0x1400066e8], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x1400066e8]
lea rdx, [0x1400066dc]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x1400066dc]
mov esi, r15d
mov qword [0x1400066e0], rax
lea ebx, [rcx*8]
test ecx, ecx
jle 0x140001f72
mov edi, r15d
mov r8, qword [rdi + rax]
mov r9d, r13d
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
mov ecx, 0xfde9
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc esi
lea rdi, [rdi + 8]
add ebx, eax
cmp esi, dword [0x1400066dc]
jge 0x140001f72
mov rax, qword [0x1400066e0]
jmp 0x140001f31
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
movsxd rdx, dword [0x1400066dc]
mov ebp, r15d
mov qword [0x1400066d0], rax
lea ecx, [rdx*8]
sub ebx, ecx
lea rsi, [rax + rdx*8]
test edx, edx
jle 0x140002000
mov rdi, r15
nop dword [rax]
nop word [rax + rax]
mov r8, qword [0x1400066e0]
mov r9d, r13d
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
mov ecx, 0xfde9
mov dword [rsp + 0x28], ebx
mov r8, qword [rdi + r8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, qword [0x1400066d0]
lea rdi, [rdi + 8]
sub ebx, eax
inc ebp
mov qword [rdi + rdx - 8], rsi
movsxd rdx, eax
add rsi, rdx
cmp ebp, dword [0x1400066dc]
jl 0x140001fb0
mov rcx, r14
mov dword [0x1400066d8], 1
call fcn.1400019d0
xor eax, eax
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140002330
add rsp, 0xc0
pop rbx
ret