Function at 0x14000f160
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x4c8]
sub rsp, 0x5c8
xor edi, edi
mov dword [rbp + 0xa0], 1
lea rax, [rbp + 0xa0]
mov dword [rbp + 0x508], edi
mov qword [rsp + 0x68], rax
mov r13, r8
mov eax, dword [rdx + 0x48]
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0xa8], rdi
xor edx, edx
mov dword [rbp + 0xb0], 1
mov r8d, reloc.WLDAP32.dll_Ordinal_224
mov qword [rbp + 0xb8], rdi
lea rcx, [rbp + 0x1e0]
mov dword [rbp + 0xc0], 1
mov qword [rbp + 0xc8], rdi
mov dword [rbp + 0xd0], 1
mov qword [rbp + 0xd8], rdi
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x6c], rdi
call fcn.1400342d0
xor edx, edx
mov qword [rbp - 0x60], rdi
mov r8d, reloc.WLDAP32.dll_Ordinal_208
lea rcx, [rbp - 0x50]
call fcn.1400342d0
mov rcx, qword [rbx + 0x40]
lea rax, [rbp + 0x1e0]
mov r14, qword [rbx + 0x10]
test rcx, rcx
mov qword [rbp + 0x78], rax
lea rax, str.1.2.840.113549.1.1.5
cmovne rax, rcx
mov dword [rbp - 0x50], 2
mov qword [rbp - 0x38], rax
mov dword [rbp + 0x70], 3
test r14, r14
je 0x14000f29a
lea rax, str.2.5.4.3
mov dword [rbp + 0xe8], reloc.WLDAP32.dll_Ordinal_12
mov rcx, r14
mov qword [rbp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x60]
lea rdx, [rbp + 0xe0]
add eax, eax
mov qword [rbp + 0xf8], r14
mov dword [rbp + 0xf0], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x60], ecx
mov qword [rbp + rax*8 + 0xa8], rdx
mov r14, qword [rbx + 0x18]
test r14, r14
je 0x14000f2f1
lea rax, str.2.5.4.11
mov dword [rbp + 0x108], reloc.WLDAP32.dll_Ordinal_12
mov rcx, r14
mov qword [rbp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x60]
lea rdx, [rbp + 0x100]
add eax, eax
mov qword [rbp + 0x118], r14
mov dword [rbp + 0x110], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x60], ecx
mov qword [rbp + rax*8 + 0xa8], rdx
mov r14, qword [rbx + 0x20]
test r14, r14
je 0x14000f348
lea rax, str.2.5.4.10
mov dword [rbp + 0x128], reloc.WLDAP32.dll_Ordinal_12
mov rcx, r14
mov qword [rbp + 0x120], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x60]
lea rdx, [rbp + 0x120]
add eax, eax
mov qword [rbp + 0x138], r14
mov dword [rbp + reloc.WLDAP32.dll_Ordinal_304], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x60], ecx
mov qword [rbp + rax*8 + 0xa8], rdx
mov r14, qword [rbx + 0x28]
test r14, r14
je 0x14000f39f
lea rax, str.2.5.4.6
mov dword [rbp + 0x148], reloc.WLDAP32.dll_Ordinal_12
mov rcx, r14
mov qword [rbp + 0x140], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x60]
lea rdx, [rbp + 0x140]
add eax, eax
mov qword [rbp + 0x158], r14
mov dword [rbp + 0x150], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x60], ecx
mov qword [rbp + rax*8 + 0xa8], rdx
mov rax, qword [rbx]
mov qword [rsp + 0x600], r12
lea r12, [r13 + 0x18]
test rax, rax
je 0x14000f3bc
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
jmp 0x14000f3e2
test r13, r13
je 0x14000f3d4
mov rax, qword [r12]
cmp dword [rax + 0x40], edi
je 0x14000f3d4
mov rax, qword [rax + 0x40]
mov qword [rbp - 0x10], rax
jmp 0x14000f3e2
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000f3f4
mov rax, qword [rcx]
mov qword [rbp - 8], rax
jmp 0x14000f41d
test r13, r13
je 0x14000f40c
mov rcx, qword [r12]
cmp dword [rcx + 0x48], edi
je 0x14000f40c
mov rax, qword [rcx + 0x48]
mov qword [rbp - 8], rax
jmp 0x14000f41d
movabs rcx, 0xb342eb7c38000
add rcx, rax
mov qword [rbp - 8], rcx
xor r9d, r9d
mov dword [rbp], edi
lea rax, [rbp]
mov qword [rbp + 8], rdi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov ecx, 0x10001
lea edx, [r9 + 7]
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
je 0x14000fd7c
mov edx, dword [rbp]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 8], rax
test rax, rax
je 0x14000fd7c
lea rcx, [rbp]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x60]
mov ecx, 0x10001
mov edx, 7
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
jne 0x14000f49b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14000fd7c
xor r9d, r9d
mov qword [rsp + 0x5c0], r15
lea rdx, [rbp]
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 3]
lea ecx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov r15d, eax
test eax, eax
je 0x14000f516
mov edx, r15d
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x14000f508
mov r8d, 3
mov dword [rsp + 0x20], r15d
mov r9, rax
lea rdx, [rbp]
lea ecx, [r8 - 2]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
test eax, eax
jne 0x14000f50d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, rax
test r14, r14
je 0x14000f516
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000f5ef
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x40]
call fcn.140007480
test eax, eax
je 0x14000fd6a
movzx eax, word [rbx + 0x38]
lea rcx, [rbp + 0x518]
mov word [rbp + 0x518], ax
lea r15, str.2.5.29.15
mov rax, qword [rbp + 0x78]
lea r8, [rbp + 0x80]
mov qword [rbp + 0x88], rcx
xor r9d, r9d
mov rdx, r15
mov dword [rbp + 0x80], 2
mov ecx, 0x10001
mov dword [rbp + 0x90], 5
lea r14, [rax + 0x10]
mov qword [rax], r15
mov dword [rax + 8], 1
mov dword [r14], edi
mov qword [r14 + 8], rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
je 0x14000fd60
mov edx, dword [r14]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r14 + 8], rax
test rax, rax
je 0x14000fd60
mov r9, rax
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x80]
mov rdx, r15
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
jne 0x14000f62f
mov rcx, qword [r14 + 8]
jmp 0x14000fd5a
mov edx, 0x14
mov dword [rbp - 0x48], Ordinal_26
lea ecx, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000fd6a
mov edx, dword [rbp - 0x48]
mov rcx, rax
call qword [sym.imp.cryptdll.dll_CDGenerateRandomBits]
not eax
shr eax, 0x1f
test eax, eax
jne 0x14000f538
jmp 0x14000fd60
mov r8, qword [rbp + 0x78]
lea rcx, str.2.5.29.19
lea rdx, [rbp - 0x70]
mov qword [r8 + 0x20], rcx
mov eax, dword [rbp - 0x70]
mov dword [r8 + 0x28], eax
add r8, 0x30
call fcn.14000ec10
test eax, eax
je 0x14000fd52
mov rdx, qword [rbx + 0x50]
test rdx, rdx
je 0x14000f688
mov ecx, dword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
movups xmm0, xmmword [rdx]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
mov eax, dword [rbp + 0x70]
inc eax
mov dword [rbp + 0x70], eax
jmp 0x14000f68b
mov eax, dword [rbp + 0x70]
mov rdx, qword [rbx + 0x58]
test rdx, rdx
je 0x14000f6b6
movups xmm0, xmmword [rdx]
mov ecx, eax
mov rax, qword [rbp + 0x78]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
mov eax, dword [rbp + 0x70]
inc eax
mov dword [rbp + 0x70], eax
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x14000f6dc
movups xmm0, xmmword [rdx]
mov ecx, eax
mov rax, qword [rbp + 0x78]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
inc dword [rbp + 0x70]
mov rdx, qword [rbp - 0x38]
mov r8d, 0x80000000
mov ecx, 1
call qword [sym.imp.CRYPT32.dll_CryptFindOIDInfo]
lea rdx, [rbp + 0x518]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000f772
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14000f772
lea rax, [rbp + 0x2c0]
mov dword [rsp + 0x28], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x14000f772
lea rax, [rbp + 0x2c0]
mov dword [rsp + 0x28], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea rdx, [rbp + 0x518]
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000f7f3
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14000f7f3
lea rax, [rbp + 0x2c0]
mov dword [rsp + 0x28], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x14000f7f3
lea rax, [rbp + 0x2c0]
mov dword [rsp + 0x28], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
call fcn.140007520
mov qword [rsi], rax
test rax, rax
je 0x14000fd44
mov r9d, dword [rsi + 0x10]
lea rcx, [rsi + 0x40]
mov r8, qword [rsi + 8]
xor edx, edx
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000f8c9
mov rcx, qword [rsi + 0x40]
lea r9, [rbp + 0x518]
lea r8, [rbp - 0x80]
mov dword [rbp + 0x518], 4
mov edx, 3
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_CryptGetProvParam]
test eax, eax
je 0x14000f8bd
mov ebx, dword [rbp - 0x80]
and ebx, 1
mov dword [rbp + 0x508], ebx
je 0x14000f8bd
and dword [rsi + 0x14], 0xffffffbf
and dword [rsi + 0x38], 0xfffffffe
mov r15, qword [rsi + 0x30]
mov rax, qword [rsi + 0x40]
mov qword [rbp + 0x518], rax
mov dword [rbp + 0x508], ebx
test r15, r15
je 0x14000f8bd
xor r9d, r9d
mov dword [rbp + 0x508], ebx
mov r8, r15
mov rcx, rax
lea edx, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
test eax, eax
jne 0x14000f8bd
mov rcx, qword [rbp + 0x518]
lea edx, [rax + 0x21]
xor r9d, r9d
mov r8, r15
call qword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
mov dword [rbp + 0x508], ebx
mov rcx, qword [rsi + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsi + 0x14]
lea rcx, [rsi + 0x40]
mov r9d, dword [rsi + 0x10]
or eax, 8
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000fd3b
mov rbx, qword [rsi + 0x30]
mov r15, qword [rsi + 0x40]
cmp dword [rbp + 0x508], edi
je 0x14000f92e
test rbx, rbx
je 0x14000f92e
xor r9d, r9d
mov r8, rbx
mov rcx, r15
lea edx, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
test eax, eax
jne 0x14000f92e
xor r9d, r9d
lea edx, [rax + 0x21]
mov r8, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
movzx r8d, word [rsi + 0x3c]
lea r9, [rbp - 0x78]
mov edx, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x40]
shl r8d, 0x10
or r8d, dword [rsi + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14000fd2f
mov edx, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x40]
call fcn.14000f050
mov r15, rax
test rax, rax
je 0x14000fd21
movups xmm0, xmmword [rax]
mov rbx, qword [rbp + 0x78]
lea rcx, [rbp + 0x160]
mov dword [rsp + 0x70], Ordinal_26
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x78], rax
movaps xmmword [rbp + 0x30], xmm0
call qword [sym.imp.advapi32.dll_A_SHAInit]
mov r8d, dword [r15 + 0x18]
lea rcx, [rbp + 0x160]
mov rdx, qword [r15 + 0x20]
call qword [sym.imp.advapi32.dll_A_SHAUpdate]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x160]
call qword [sym.imp.advapi32.dll_A_SHAFinal]
mov dword [rbx + 0x48], edi
lea r15, str.2.5.29.14
mov qword [rbx + 0x40], r15
lea r8, [rsp + 0x70]
add rbx, 0x50
xor r9d, r9d
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov ecx, 0x10001
mov dword [rbx], edi
mov qword [rbx + 8], rdi
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
je 0x14000fd21
mov edx, dword [rbx]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000fd21
mov r9, rax
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x70]
mov rdx, r15
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
jne 0x14000fa5e
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x14000fd2f
mov ebx, dword [rbp + 0x70]
shl rbx, 5
add rbx, qword [rbp + 0x78]
test r13, r13
je 0x14000fbf1
mov rax, qword [r12]
lea r9, [rbp + 0x518]
xor r8d, r8d
mov rcx, r13
movups xmm0, xmmword [rax + 0x50]
lea edx, [r8 + 2]
movaps xmmword [rbp - 0x20], xmm0
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
je 0x14000fad3
mov edx, dword [rbp + 0x518]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x14000fad3
lea r9, [rbp + 0x518]
mov r8, rax
mov edx, 2
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rbp + 0x530]
mov edx, 0x10001
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptAcquireCertificatePrivateKey]
test eax, eax
je 0x14000fbf1
mov edx, dword [rbp + 0x530]
mov rcx, qword [rsp + 0x58]
call fcn.14000f050
mov r15, rax
test rax, rax
je 0x14000fbdd
mov rdx, rax
mov rcx, rbx
call fcn.14000edd0
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x14000fbdd
mov eax, dword [rbp + 0x70]
lea rdx, [rbp - 0x20]
mov ecx, eax
mov dword [rsp + 0x20], edi
shl rcx, 5
xor r9d, r9d
add rcx, qword [rbp + 0x78]
inc eax
mov qword [rbp - 0x60], rcx
mov dword [rbp + 0x70], eax
lea ecx, [r9 + 1]
lea r8d, [r9 + 3]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov r15d, eax
test eax, eax
je 0x14000fbca
mov edx, r15d
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000fbbc
mov r8d, 3
mov dword [rsp + 0x20], r15d
mov r9, rax
lea rdx, [rbp - 0x20]
lea ecx, [r8 - 2]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
test eax, eax
jne 0x14000fbc1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x14000fbca
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r12, qword [rsp + 0x58]
test r12, r12
je 0x14000fc02
mov r13d, dword [rbp + 0x530]
jmp 0x14000fc0a
mov r8, qword [rsp + 0x58]
mov edx, dword [rbp + 0x530]
mov ecx, dword [rsp + 0x50]
call fcn.14000f100
movaps xmm0, xmmword [rbp]
movaps xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], edi
mov r13d, dword [rsi + 0x28]
mov r12, qword [rsi + 0x40]
mov rcx, qword [rbp + 0x528]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rcx
mov r9d, 2
mov qword [rsp + 0x38], rdi
mov r8d, 0x10001
mov qword [rsp + 0x30], rdi
mov edx, r13d
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rbp - 0x50]
mov ebx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptSignAndEncodeCertificate]
mov r15, qword [rbp + 0x520]
test eax, eax
je 0x14000fcc9
mov rax, qword [rbp + 0x528]
mov ecx, 0x40
mov edx, dword [rax]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r15], rax
test rax, rax
je 0x14000fcc9
mov rcx, qword [rbp + 0x528]
mov r9d, 2
mov qword [rsp + 0x40], rcx
mov r8d, 0x10001
mov qword [rsp + 0x38], rax
mov edx, r13d
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptSignAndEncodeCertificate]
mov ebx, eax
test eax, eax
jne 0x14000fcc9
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [r15], rax
mov edi, ebx
jmp 0x14000fcec
mov edi, ebx
test ebx, ebx
je 0x14000fcec
cmp dword [rbp + 0x508], 0
je 0x14000fcec
mov r8, qword [r15]
xor r9d, r9d
mov rcx, qword [rbp - 0x78]
lea edx, [r9 + 0x1a]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14000fcff
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, qword [rsp + 0x58]
mov edx, dword [rbp + 0x530]
mov ecx, dword [rsp + 0x50]
call fcn.14000f100
mov rcx, qword [rbp + 0x78]
add rcx, 0x58
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test edi, edi
jne 0x14000fd44
mov rcx, qword [rsi + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x78]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x78]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rsp + 0x5c0]
mov r12, qword [rsp + 0x600]
mov eax, edi
add rsp, 0x5c8
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret