Function at 0x1800213c4
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0xa0]
mov qword [0x18005da60], rax
mov ecx, 0x780
call fcn.1800278a4
mov qword [0x18005da68], rax
mov rdi, qword [0x18005da68]
xor eax, eax
mov ecx, 0x780
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea r8, [rsp + 0x40]
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rax, qword [0x18005da68]
lea rcx, [rsp + 0x40]
lea rdi, [rax + 2]
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rax, qword [0x18005da68]
lea rcx, [rsp + 0x40]
lea rdi, [rax + 7]
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rax, qword [0x18005da68]
lea rcx, [rsp + 0x40]
lea rdi, [rax + 7]
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 1
mov edx, 0x780
mov rcx, qword [0x18005da68]
call fcn.180022fac
mov dword [rsp + 0x38], 0
jmp 0x1800214f8
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1000
jge 0x18002154c
movsxd rax, dword [rsp + 0x38]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
movsx eax, byte [rcx + rax]
xor eax, 0xc3
movsxd rcx, dword [rsp + 0x38]
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0x38]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
movsx eax, byte [rcx + rax]
xor eax, 0xd9
movsxd rcx, dword [rsp + 0x38]
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov byte [rdx + rcx], al
jmp 0x1800214ee
mov r8d, 0x1000
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
lea rcx, [rsp + 0x58]
call fcn.180019c54
xor eax, eax
cmp eax, 1
je 0x1800216d0
lea rcx, [rsp + 0x58]
call fcn.180019dbc
mov word [rsp + 0x30], ax
movsx eax, word [rsp + 0x30]
test eax, eax
jg 0x18002158b
jmp 0x1800216d0
lea rcx, [rsp + 0x58]
call fcn.180019dbc
mov word [rsp + 0x3c], ax
lea rcx, [rsp + 0x58]
call fcn.180019dbc
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x30]
imul rax, rax, 0xf
mov rcx, qword [0x18005da68]
movzx edx, word [rsp + 0x3c]
mov word [rcx + rax], dx
movsx eax, word [rsp + 0x3c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 7
je 0x1800215e6
cmp dword [rsp + 0x48], 8
je 0x18002160b
cmp dword [rsp + 0x48], 9
je 0x18002162f
jmp 0x1800216cb
lea rcx, [rsp + 0x58]
call fcn.180019dbc
movsx rcx, word [rsp + 0x30]
imul rcx, rcx, 0xf
mov rdx, qword [0x18005da68]
mov word [rdx + rcx + 7], ax
jmp 0x1800216cb
lea rcx, [rsp + 0x58]
call fcn.180019c98
movsx rcx, word [rsp + 0x30]
imul rcx, rcx, 0xf
mov rdx, qword [0x18005da68]
mov dword [rdx + rcx + 7], eax
jmp 0x1800216cb
movsx rax, word [rsp + 0x34]
mov rcx, rax
call fcn.1800278a4
movsx rcx, word [rsp + 0x30]
imul rcx, rcx, 0xf
mov rdx, qword [0x18005da68]
mov qword [rdx + rcx + 7], rax
movsx rax, word [rsp + 0x34]
mov qword [rsp + 0x78], rax
movsx ecx, word [rsp + 0x34]
mov edx, ecx
lea rcx, [rsp + 0x58]
call fcn.180019d08
movsx rcx, word [rsp + 0x30]
imul rcx, rcx, 0xf
mov rdx, qword [0x18005da68]
mov rdi, qword [rdx + rcx + 7]
mov rsi, rax
mov rax, qword [rsp + 0x78]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x34]
movsx rcx, word [rsp + 0x30]
imul rcx, rcx, 0xf
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 1
mov rdx, rax
mov rax, qword [0x18005da68]
mov rcx, qword [rax + rcx + 7]
call fcn.180022fac
jmp 0x180021563
lea rax, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
add rsp, 0x88
pop rdi
pop rsi
ret