Function at 0x1800220d0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push rbp
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x68], rcx
mov rax, qword [0x1800760a8]
xor rax, rbp
mov qword [rbp + 0x38], rax
mov dword [rbp - 0x5c], 0x712f246a
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x6c], eax
sub eax, 0x90e773fc
je 0x1800223c6
jmp 0x18002210f
mov eax, dword [rbp - 0x6c]
sub eax, 0x9a2e4c93
je 0x1800225ab
jmp 0x180022122
mov eax, dword [rbp - 0x6c]
sub eax, 0x9aaf85b4
je 0x1800224d6
jmp 0x180022135
mov eax, dword [rbp - 0x6c]
sub eax, 0xaeaa1372
je 0x180022627
jmp 0x180022148
mov eax, dword [rbp - 0x6c]
sub eax, 0xb14cbd02
je 0x1800225e9
jmp 0x18002215b
mov eax, dword [rbp - 0x6c]
sub eax, 0xbe18840a
je 0x180022657
jmp 0x18002216e
mov eax, dword [rbp - 0x6c]
sub eax, 0xc10368fb
je 0x1800223de
jmp 0x180022181
mov eax, dword [rbp - 0x6c]
sub eax, 0xc44214a5
je 0x1800223a9
jmp 0x180022194
mov eax, dword [rbp - 0x6c]
sub eax, 0xc6ed5de0
je 0x1800225c8
jmp 0x1800221a7
mov eax, dword [rbp - 0x6c]
sub eax, 0xce91cb7e
je 0x180022454
jmp 0x1800221ba
mov eax, dword [rbp - 0x6c]
sub eax, 0xda592923
je 0x18002263f
jmp 0x1800221cd
mov eax, dword [rbp - 0x6c]
sub eax, 0xdf9f35ac
je 0x18002268e
jmp 0x1800221e0
mov eax, dword [rbp - 0x6c]
sub eax, 0xea16a89e
je 0x180022507
jmp 0x1800221f3
mov eax, dword [rbp - 0x6c]
sub eax, 0xedd913dc
je 0x180022475
jmp 0x180022206
mov eax, dword [rbp - 0x6c]
sub eax, 0xfc355e1a
je 0x1800225f5
jmp 0x180022219
mov eax, dword [rbp - 0x6c]
sub eax, 0xff71a793
je 0x180022633
jmp 0x18002222c
mov eax, dword [rbp - 0x6c]
sub eax, 0x905ce6a
je 0x180022409
jmp 0x18002223f
mov eax, dword [rbp - 0x6c]
sub eax, 0xd3985ce
je 0x180022590
jmp 0x180022252
mov eax, dword [rbp - 0x6c]
sub eax, 0x1fdee234
je 0x1800224eb
jmp 0x180022265
mov eax, dword [rbp - 0x6c]
sub eax, 0x29b4a99a
je 0x180022538
jmp 0x180022278
mov eax, dword [rbp - 0x6c]
sub eax, 0x3484c110
je 0x18002267a
jmp 0x18002228b
mov eax, dword [rbp - 0x6c]
sub eax, 0x3f82d53e
je 0x1800225dd
jmp 0x18002229e
mov eax, dword [rbp - 0x6c]
sub eax, 0x46398ca9
je 0x180022415
jmp 0x1800222b1
mov eax, dword [rbp - 0x6c]
sub eax, 0x4f4be81c
je 0x18002266e
jmp 0x1800222c4
mov eax, dword [rbp - 0x6c]
sub eax, 0x598fe7fa
je 0x180022522
jmp 0x1800222d7
mov eax, dword [rbp - 0x6c]
sub eax, 0x5a2cb58f
je 0x180022391
jmp 0x1800222ea
mov eax, dword [rbp - 0x6c]
sub eax, 0x60abc82d
je 0x180022437
jmp 0x1800222fd
mov eax, dword [rbp - 0x6c]
sub eax, 0x6729d17f
je 0x180022612
jmp 0x180022310
mov eax, dword [rbp - 0x6c]
sub eax, 0x712f246a
je 0x180022361
jmp 0x180022323
mov eax, dword [rbp - 0x6c]
sub eax, 0x739d2744
je 0x1800223f5
jmp 0x180022336
mov eax, dword [rbp - 0x6c]
sub eax, 0x77aaf108
je 0x1800224b4
jmp 0x180022349
mov eax, dword [rbp - 0x6c]
sub eax, 0x7ae0b31e
je 0x180022576
jmp 0x18002235c
jmp 0x1800226b0
mov eax, 0x10
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x68]
mov rcx, rsp
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x5c], 0x5a2cb58f
jmp 0x1800226b0
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 8]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x5c], 0xc44214a5
jmp 0x1800226b0
mov rdx, qword [rbp - 0x38]
mov eax, 0x46398ca9
mov ecx, 0x90e773fc
cmp rdx, 0
cmovne eax, ecx
mov dword [rbp - 0x5c], eax
jmp 0x1800226b0
mov rax, qword [rbp - 0x40]
add rax, 8
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x5c], 0xc10368fb
jmp 0x1800226b0
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x5c], 0x739d2744
jmp 0x1800226b0
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x5c], 0x905ce6a
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0x3484c110
jmp 0x1800226b0
mov rax, qword [rbp - 0x48]
mov dword [rax], 0
mov rax, qword [rbp - 0x40]
add rax, 4
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x5c], 0x60abc82d
jmp 0x1800226b0
mov rax, qword [rbp - 0x20]
mov eax, dword [rax]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x5c], 0xce91cb7e
jmp 0x1800226b0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x40]
add rax, 8
mov qword [rbp], rax
mov dword [rbp - 0x5c], 0xedd913dc
jmp 0x1800226b0
mov eax, dword [rbp - 0x14]
mov r9d, dword [rbp - 4]
mov rcx, qword [rbp]
xor edx, edx
mov r8d, edx
sub rsp, 0x30
mov rdx, r8
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
add rsp, 0x30
mov edx, eax
mov eax, 0x77aaf108
mov ecx, 0xda592923
cmp edx, 0
cmovne eax, ecx
mov dword [rbp - 0x5c], eax
jmp 0x1800226b0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov ecx, eax
mov rax, qword [rbp - 0x48]
mov dword [rax], ecx
mov dword [rbp - 0x5c], 0x9aaf85b4
jmp 0x1800226b0
mov rax, qword [rbp - 0x48]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x5c], 0x1fdee234
jmp 0x1800226b0
mov eax, dword [rbp + 0xc]
cmp eax, 0x80090016
sete al
and al, 1
mov byte [rbp + 0x13], al
mov dword [rbp - 0x5c], 0xea16a89e
jmp 0x1800226b0
mov dl, byte [rbp + 0x13]
mov eax, 0xfc355e1a
mov ecx, 0x598fe7fa
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x5c], eax
jmp 0x1800226b0
mov rax, qword [rbp - 0x40]
mov eax, dword [rax + 4]
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x5c], 0x29b4a99a
jmp 0x1800226b0
mov eax, dword [rbp + 0x14]
or eax, 8
mov rcx, qword [rbp - 0x40]
mov r9d, dword [rcx]
mov rcx, qword [rbp - 0x40]
add rcx, 8
xor edx, edx
mov r8d, edx
sub rsp, 0x30
mov rdx, r8
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
add rsp, 0x30
mov dword [rbp + 0x18], eax
mov dword [rbp - 0x5c], 0x7ae0b31e
jmp 0x1800226b0
mov eax, dword [rbp + 0x18]
cmp eax, 0
setne al
and al, 1
mov byte [rbp + 0x1f], al
mov dword [rbp - 0x5c], 0xd3985ce
jmp 0x1800226b0
mov dl, byte [rbp + 0x1f]
mov eax, 0x9a2e4c93
mov ecx, 0xb14cbd02
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x5c], eax
jmp 0x1800226b0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x20], eax
mov dword [rbp - 0x5c], 0xc6ed5de0
jmp 0x1800226b0
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp + 0x20]
mov dword [rax], ecx
mov dword [rbp - 0x5c], 0x3f82d53e
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0xb14cbd02
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0xff71a793
jmp 0x1800226b0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x24], eax
mov dword [rbp - 0x5c], 0x6729d17f
jmp 0x1800226b0
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp + 0x24]
mov dword [rax], ecx
mov dword [rbp - 0x5c], 0xaeaa1372
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0xff71a793
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0xda592923
jmp 0x1800226b0
mov rax, qword [rbp - 0x40]
add rax, 8
mov qword [rbp + 0x28], rax
mov dword [rbp - 0x5c], 0xbe18840a
jmp 0x1800226b0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x5c], 0x4f4be81c
jmp 0x1800226b0
mov dword [rbp - 0x5c], 0x3484c110
jmp 0x1800226b0
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x5c], 0xdf9f35ac
jmp 0x1800226b0
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp + 0x38]
xor rcx, rbp
sub rsp, 0x20
call fcn.18006c560
mov rax, qword [rbp - 0x78]
lea rsp, [rbp + 0x40]
pop rbp
ret
jmp 0x1800220f9