Function at 0x140007dce
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbx
adc bl, 0x44
sub rsp, 0xb0
ror bh, 0xdd
cdqe
mov rax, qword [0x140005008]
bswap rbx
rol bl, cl
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
jmp 0x140007dfe
cmp ecx, 5
je 0x140007e16
mov eax, 1
jmp 0x140007e11
jmp 0x140008288
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xa8], rdi
xchg dil, dil
movsx edi, r14w
mov rdi, qword [rdx + 8]
jmp 0x140007e42
mov qword [rsp + 0xa0], r12
jmp 0x140007e6e
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rsi, qword [rbx + 0x18]
jmp 0x140007e94
mov r12, 0xffffffffffffffff
mov rbp, qword [rbx + 0x20]
inc r15b
movsx r15, r13w
bswap r15w
mov r15d, eax
mov bl, r13b
mov rbx, r12
jmp 0x140007eb8
inc rbx
cmp byte [rdi + rbx], 0
jmp 0x140007ec4
jne 0x140007eb8
inc rbx
rdtsc
sal ax, cl
clc
mov eax, 2
bt dx, cx
add dh, cl
mul rbx
movsxd rcx, r14d
cmovo rax, r12
movzx cx, r12b
xchg cl, cl
mov ch, bh
mov rcx, rax
jmp 0x140007ef9
call fcn.140001e1c
mov r8, rbx
cmovne r14w, si
jmp 0x140007f0e
mov rdx, rdi
mov rcx, rax
mov r14, rax
jmp 0x140007f1c
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r12
inc rbx
cmp byte [rsi + rbx], 0
jmp 0x140007f31
jne 0x140007f25
inc rbx
add edx, r8d
clc
sbb al, r9b
mov eax, 2
mul rbx
movsx rcx, r9w
cmovo rax, r12
bswap ecx
mov rcx, rax
jmp 0x140007f5b
call fcn.140001e1c
mov r8, rbx
cmovnp rdx, rbx
mov rdx, rsi
setb cl
mov rcx, rax
jmp 0x140007f75
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rsi, qword [rsp + 0xd0]
mov bh, 0x6a
xchg bh, bh
setle bh
mov rbx, r12
jmp 0x140007f93
nop
jmp 0x140007f99
inc rbx
cmp byte [rbx + rbp], 0
jmp 0x140007fa5
jne 0x140007f99
inc rbx
bt ax, bx
mov eax, 2
mul rbx
bswap rcx
cmovo rax, r12
mov cx, 0x5699
jmp 0x140007fca
mov rcx, rax
jmp 0x140007fd2
call fcn.140001e1c
mov r8, rbx
mov rdx, rbp
setle ch
movsx rcx, sp
bswap cx
mov rcx, rax
jmp 0x140007fef
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r8d, r15d
movzx rdx, dx
movsx ecx, di
movsx rcx, si
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.140001190
mov rbp, qword [rsp + 0xc0]
movups xmm0, xmmword [rax]
movq rdi, xmm0
movups xmmword [rsp + 0x78], xmm0
clc
test rdi, rdi
jmp 0x14000802e
jne 0x140008041
mov eax, r12d
jmp 0x14000803c
jmp 0x140008255
mov r8d, r15d
movsx rcx, di
cdq
lea rcx, [rsp + 0x50]
cdq
not dh
mov rdx, r14
jmp 0x140008059
call fcn.140001190
movups xmm0, xmmword [rax]
movq rbx, xmm0
movups xmmword [rsp + 0x30], xmm0
cmc
cmp spl, r8b
test rbx, rbx
jmp 0x140008077
jne 0x140008085
lea eax, [rbx - 2]
jmp 0x140008255
movups xmm0, xmmword [rsp + 0x78]
or rcx, r12
cmc
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
movsx cx, dl
lea rcx, [rsp + 0x68]
jmp 0x1400080ad
psrldq xmm0, 8
sub edx, edx
jmp 0x1400080b9
movd dword [rsp + 0x60], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140008227
mov rcx, qword [rsp + 0x68]
setle ah
lea rax, [rsp + 0x70]
test spl, 0x75
btc dx, 0x92
add dh, 0xb9
xor r9d, r9d
cdq
cmp bl, r11b
mov qword [rsp + 0x20], rax
movsx edx, si
rol dx, cl
xor r8d, r8d
cdq
jmp 0x140008104
mov edx, 0x800c
jmp 0x14000810e
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jmp 0x14000811b
je 0x140008227
movups xmm0, xmmword [rsp + 0x30]
movzx rdx, ax
cwd
sar dx, cl
mov rcx, qword [rsp + 0x70]
dec rdx
sub r9d, r9d
movsx dx, r15b
cmovns edx, r8d
mov rdx, 0x23760b17
mov rdx, rbx
jmp 0x140008152
psrldq xmm0, 8
movq r8, xmm0
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jmp 0x140008169
je 0x140008227
mov r8, qword [rsp + 0x70]
mov dl, r9b
cmovge dx, si
lea rax, [rsp + 0x78]
add cx, r8w
sar dx, cl
sbb cl, dil
mov rcx, qword [rsp + 0x68]
mov rdx, 0x560f2cf6
and dl, r13b
xor r9d, r9d
cdq
cmovne rdx, r14
xchg edx, edx
mov edx, 0x6610
mov qword [rsp + 0x20], rax
jmp 0x1400081b2
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140008227
mov rcx, qword [rsp + 0x78]
sal ah, 0x22
sub ax, r11w
ror al, 0x3c
lea rax, [rsp + 0x60]
test r10b, 0x73
mov qword [rsp + 0x28], rax
sub r9d, r9d
clc
sub r8d, r8d
stc
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140008227
mov rcx, qword [rsp + 0x68]
xor edx, edx
jmp 0x140008206
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x78]
jmp 0x140008221
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
lea rax, str.lmfao
movzx rcx, r14w
mov rcx, rdi
jmp 0x14000823a
mov qword [0x1400056e0], rax
jmp 0x140008246
call fcn.140007837
xor eax, eax
or dil, r8b
add di, 0x30f5
mov r14, qword [rsp + 0x98]
sal r12w, 0x94
mov r12, qword [rsp + 0xa0]
add r15b, r11b
mov rdi, qword [rsp + 0xa8]
btr r15d, 0xcc
btc r15w, 9
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
clc
cmp r10w, si
xor rcx, rsp
call fcn.140001db0
add rsp, 0xb0
cmovno ebx, r10d
mov rbx, 0x3d480d15
movsx bx, al
pop rbx
jmp 0x1400082b9
ret