Function at 0x1400010d0
Capabilities:
Encrypt or decrypt data via bcrypt
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x50], 0xc0000001
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x58], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140003310]
lea rcx, [rsp + 0x78]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14000117b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error:_BCryptOpenAlgorithmProvider_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400011d3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error:_BCryptSetProperty_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14000123a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error:_BCryptGenerateSymmetricKey_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rsp + 0x48], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400012c4
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error:_BCryptEncrypt__get_size__n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x60]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001319
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x1400033f0]
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rsp + 0x48], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400013a7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error:_BCryptEncrypt_n
mov rcx, rax
call fcn.140001060
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x80]
mov dword [rax], ecx
cmp qword [rsp + 0x70], 0
je 0x1400013dc
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
nop
cmp qword [rsp + 0x78], 0
je 0x1400013f2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140001de0
add rsp, 0x98
ret