Function at 0x140001970
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
test rdx, rdx
je 0x140001a29
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
ja 0x140001bd6
cmp rdx, 0x1000
jb 0x1400019fe
lea rcx, [rdx + 0x27]
cmp rcx, rdx
jbe 0x140001bd0
call fcn.140002ee0
test rax, rax
je 0x1400019f7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001a09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140002ee0
mov rdi, rax
mov qword [r14], rdi
lea rax, [rsi + rdi]
mov qword [r14 + 0x10], rax
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rax, [rsi + rdi]
mov qword [r14 + 8], rax
mov dword [rsp + 0x30], 1
lea rcx, str.CryptAcquireContextA
mov edx, ebx
mov al, 0x43
nop dword [rax]
ror edx, 0xd
movsx eax, al
add edx, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x140001a40
lea rdi, str.advapi32.dll
mov r8, rdi
mov ecx, ebx
mov al, 0x61
nop dword [rax]
nop word [rax + rax]
ror ecx, 0xd
movsx eax, al
add ecx, eax
lea r8, [r8 + 1]
movzx eax, byte [r8]
test al, al
jne 0x140001a70
call fcn.140001800
mov r15, rax
lea rcx, str.CryptGenRandom
mov edx, ebx
mov al, 0x43
nop word [rax + rax]
ror edx, 0xd
movsx eax, al
add edx, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x140001aa0
mov r8, rdi
mov ecx, ebx
mov al, 0x61
nop word [rax + rax]
ror ecx, 0xd
movsx eax, al
add ecx, eax
lea r8, [r8 + 1]
movzx eax, byte [r8]
test al, al
jne 0x140001ac0
call fcn.140001800
mov rbp, rax
lea rcx, str.CryptReleaseContext
mov edx, ebx
mov al, 0x43
nop word [rax + rax]
ror edx, 0xd
movsx eax, al
add edx, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x140001af0
mov al, 0x61
nop word [rax + rax]
ror ebx, 0xd
movsx eax, al
add ebx, eax
lea rdi, [rdi + 1]
movzx eax, byte [rdi]
test al, al
jne 0x140001b10
mov ecx, ebx
call fcn.140001800
mov rbx, rax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call r15
test eax, eax
jne 0x140001b6b
lea rdx, str.Error_al_adquirir_contexto_criptogr
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002950
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [r14]
mov edx, esi
mov rcx, qword [rsp + 0x40]
call rbp
test eax, eax
jne 0x140001ba3
lea rdx, str.Error_al_generar_clave_criptogr
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002950
xor edx, edx
mov rcx, qword [rsp + 0x40]
call rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov rcx, qword [rsp + 0x40]
call rbx
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002ec0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001170
int3
call fcn.140002d10
int3