Function at 0x180026e70
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea r11d, [rcx + 0xb]
xor edi, edi
xor ebx, ebx
mov dword [rsp + 0x30], r11d
mov r14, r8
mov rbp, rdx
mov r10d, ecx
cmp ecx, r11d
jae case.0x180026ef0.5
mov r15, qword [rsp + 0xb0]
lea r11d, [rcx - 0xae]
mov r12d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], r11d
cmp r11d, 0x2f
ja case.default.0x180026ef0
movzx eax, byte [rdx + r11 + 0x272e0]
mov ecx, dword [rdx + rax*4 + 0x272b4]
add rcx, rdx
jmp rcx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0xab
call fcn.180026a00
test al, al
je 0x180027291
cmp qword [rbp + 0x18], 0x10
mov rcx, rbp
jb 0x180026f1a
mov rcx, qword [rbp]
lea rdx, [0x18007d6e0]
call qword [0x18007d6d0]
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
mov qword [rsp + 0x48], rax
jmp case.0x180026ef0.10
mov dword [rsp + 0x38], 0
jmp case.0x180026ef0.10
mov rdx, qword [r9]
mov rcx, r14
call fcn.180039f10
cmp qword [rbp + 0x18], 0x10
mov rdi, rbp
jb 0x180026f6b
mov rdi, qword [rbp]
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
jmp case.0x180026ef0.10
xor r13b, r13b
mov qword [rsp + 0x40], 0
cmp qword [r9], 0
jbe case.0x180026ef0.10
nop word [rax + rax]
mov esi, 0xb3
nop word [rax + rax]
cmp esi, 0xb3
je 0x1800270a3
cmp esi, 0x134
je 0x18002705e
cmp esi, 0x1b5
je 0x180027045
cmp esi, 0x236
je 0x18002701b
cmp esi, 0x2b7
jne 0x1800270b4
mov rdx, qword [rbp + 0x18]
mov rcx, rbp
cmp rdx, 0x10
jb 0x180026ff5
mov rcx, qword [rbp]
add rcx, qword [rbp + 0x10]
inc rdi
cmp rdi, rcx
jne 0x1800270b4
mov rdi, rbp
cmp rdx, 0x10
jb 0x1800270b4
mov rdi, qword [rbp]
jmp 0x1800270b4
mov rdx, qword [r15 + 0x18]
mov rcx, r15
cmp rdx, 0x10
jb 0x18002702b
mov rcx, qword [r15]
add rcx, qword [r15 + 0x10]
inc rbx
cmp rbx, rcx
jne 0x1800270b4
mov rbx, r15
cmp rdx, 0x10
jb 0x1800270b4
mov rbx, qword [r15]
jmp 0x1800270b4
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x180027052
mov rax, qword [r14]
mov rcx, qword [r14 + 0x10]
movzx r13d, byte [rcx + rax - 1]
jmp 0x1800270b4
mov rcx, qword [r14 + 0x10]
movzx r9d, r12b
mov rdx, qword [r14 + 0x18]
and r9b, 0xf
cmp rcx, rdx
jae 0x180027092
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180027087
mov rax, qword [r14]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800270b4
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 1]
call fcn.1800025d0
jmp 0x1800270b4
movsx eax, byte [rdi]
movsx r12d, byte [rbx]
add r12d, eax
movzx eax, r13b
add r12d, eax
add esi, 0x81
cmp esi, 0x338
jb 0x180026fb0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0x40], rax
cmp rax, qword [r9]
jb 0x180026fa0
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
jmp case.0x180026ef0.10
mov ecx, dword [rbp]
cmp ecx, 9
jbe 0x180027181
nop word [rax + rax]
mov r8, qword [r15 + 0x18]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
mov rdx, qword [r15 + 0x10]
add eax, eax
sub ecx, eax
cmp rdx, r8
jae 0x18002714c
lea rax, [rdx + 1]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp r8, 0x10
jb 0x180027142
mov rax, qword [r15]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x18002715f
xor r8d, r8d
movzx r9d, cl
mov rcx, r15
lea edx, [r8 + 1]
call fcn.1800025d0
mov eax, 0xcccccccd
mul dword [rbp]
mov ecx, edx
shr ecx, 3
mov dword [rbp], ecx
cmp ecx, 9
ja 0x180027110
mov r10d, dword [rsp + 0x90]
mov r11d, dword [rsp + 0x34]
mov rdx, qword [r15 + 0x10]
mov r8, qword [r15 + 0x18]
cmp rdx, r8
jae 0x1800271b6
lea rax, [rdx + 1]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp r8, 0x10
jb 0x1800271a2
mov rax, qword [r15]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
lea rdx, [0x180000000]
jmp case.0x180026ef0.10
xor r8d, r8d
movzx r9d, cl
mov rcx, r15
lea edx, [r8 + 1]
call fcn.1800025d0
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
jmp case.0x180026ef0.10
mov rcx, qword [0x18007de00]
test rcx, rcx
je case.0x180026ef0.10
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
mov qword [0x18007de00], 0
jmp case.0x180026ef0.10
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
jmp case.0x180026ef0.10
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [0x18007de00]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov r10d, dword [rsp + 0x90]
lea rdx, [0x180000000]
mov r11d, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jmp case.0x180026ef0.10
cmp qword [r15 + 0x18], 0x10
mov rbx, r15
jb case.0x180026ef0.10
mov rbx, qword [r15]
mov eax, dword [rsp + 0x30]
inc r10d
inc r11d
mov dword [rsp + 0x90], r10d
mov dword [rsp + 0x34], r11d
cmp r10d, eax
jae case.0x180026ef0.5
mov r9, qword [rsp + 0xa8]
jmp 0x180026ed3
xor eax, eax
jmp 0x18002729a
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret