Function at 0x1400c4710
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
xor esi, esi
mov dword [rbp + 0x70], 1
lea rax, [rbp + 0x70]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x58], rax
mov r13, r8
mov eax, dword [rdx + 0x48]
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x78], rsi
xor edx, edx
mov dword [rbp + 0x80], 1
mov r8d, reloc.WLDAP32.dll_Ordinal_224
mov qword [rbp + 0x88], rsi
lea rcx, [rbp + 0x1c0]
mov dword [rbp + 0x90], 1
mov r15d, esi
mov qword [rbp + 0x98], rsi
mov dword [rbp + 0xa0], 1
mov qword [rbp + 0xa8], rsi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x6c], rsi
call fcn.14011adb0
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, reloc.WLDAP32.dll_Ordinal_208
mov r12d, esi
call fcn.14011adb0
mov rcx, qword [rbx + 0x40]
lea rax, [rbp + 0x1c0]
mov r14, qword [rbx + 0x10]
test rcx, rcx
mov qword [rbp + 0x48], rax
lea rax, str.1.2.840.113549.1.1.5
cmovne rax, rcx
mov dword [rbp - 0x80], 2
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x40], 3
test r14, r14
je 0x1400c4848
lea rax, str.2.5.4.3
mov dword [rbp + reloc.WLDAP32.dll_Ordinal_128], 0xc
mov rcx, r14
mov qword [rbp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x50]
lea rdx, [rbp + 0xc0]
add eax, eax
mov qword [rbp + 0xd8], r14
mov dword [rbp + 0xd0], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x50], ecx
mov qword [rbp + rax*8 + 0x78], rdx
mov r14, qword [rbx + 0x18]
test r14, r14
je 0x1400c489c
lea rax, str.2.5.4.11
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 + 0x50]
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 + 0x50], ecx
mov qword [rbp + rax*8 + 0x78], rdx
mov r14, qword [rbx + 0x20]
test r14, r14
je 0x1400c48f0
lea rax, str.2.5.4.10
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 + 0x50]
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 + 0x50], ecx
mov qword [rbp + rax*8 + 0x78], rdx
mov r14, qword [rbx + 0x28]
test r14, r14
je 0x1400c4944
lea rax, str.2.5.4.6
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 + 0x50]
lea rdx, [rbp + 0x120]
add eax, eax
mov qword [rbp + 0x138], r14
mov dword [rbp + 0x130], eax
mov eax, ecx
add rax, rax
inc ecx
mov dword [rsp + 0x50], ecx
mov qword [rbp + rax*8 + 0x78], rdx
mov rax, qword [rbx]
test rax, rax
je 0x1400c4955
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
jmp 0x1400c497b
test r13, r13
je 0x1400c496d
mov rax, qword [r13 + 0x18]
cmp dword [rax + 0x40], esi
je 0x1400c496d
mov rax, qword [rax + 0x40]
mov qword [rbp - 0x40], rax
jmp 0x1400c497b
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400c498d
mov rax, qword [rcx]
mov qword [rbp - 0x38], rax
jmp 0x1400c49b6
test r13, r13
je 0x1400c49a5
mov rcx, qword [r13 + 0x18]
cmp dword [rcx + 0x48], esi
je 0x1400c49a5
mov rax, qword [rcx + 0x48]
mov qword [rbp - 0x38], rax
jmp 0x1400c49b6
movabs rcx, 0xb342eb7c38000
add rcx, rax
mov qword [rbp - 0x38], rcx
xor r9d, r9d
mov dword [rbp - 0x30], esi
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov ecx, 0x10001
lea edx, [r9 + 7]
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
je 0x1400c525e
mov edx, dword [rbp - 0x30]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1400c5272
lea rcx, [rbp - 0x30]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x50]
mov ecx, 0x10001
mov edx, 7
call qword [sym.imp.CRYPT32.dll_CryptEncodeObject]
test eax, eax
jne 0x1400c4a48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_c_sc_auth_quickEncode___CryptEncodeObject__data___0x_08x__n
call fcn.14000afb0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c5272
lea rcx, [rbp - 0x30]
call fcn.1400c45f0
mov rdx, rax
test rax, rax
je 0x1400c4a6e
lea rcx, str._s.cert__subject___:__s_n
call fcn.14000afb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rbx + 0x30]
test r14, r14
je 0x1400c4ab5
lea r8, [rbp - 0x78]
mov rcx, r14
lea rdx, [rbp - 0x70]
call fcn.140012410
test eax, eax
jne 0x1400c4afb
mov rdx, r14
lea rcx, str.ERROR_makeSN___Unable_to_use__s_as_a_HEX_string_n
call fcn.14000afb0
lea rcx, str.ERROR_generateCertificate___Unable_to_create_SN_n
call fcn.14000afb0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
mov edx, SQLAllocHandle
mov dword [rbp - 0x78], Ordinal_26
lea ecx, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400c4a9a
mov edx, dword [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.cryptdll.dll_CDGenerateRandomBits]
test eax, eax
mov r14d, esi
setns r14b
test eax, eax
jns 0x1400c4af6
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14d, r14d
je 0x1400c4a9a
lea rcx, str._s.cert__serial____:
call fcn.14000afb0
mov edx, dword [rbp - 0x78]
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call fcn.1400124b0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000afb0
movzx eax, word [rbx + 0x38]
lea rcx, str.2.5.29.15
mov r8, qword [rbp + 0x48]
lea rdx, [rbp + 0x58]
mov word [rbp + 0x2f8], ax
lea rax, [rbp + 0x2f8]
mov dword [rbp + 0x58], 2
mov qword [rbp + 0x60], rax
mov qword [r8], rcx
mov dword [r8 + 8], 1
add r8, 0x10
mov dword [rbp + 0x68], 5
call fcn.1400c3f20
test eax, eax
je 0x1400c523c
mov r8, qword [rbp + 0x48]
lea rcx, str.2.5.29.19
lea rdx, [rsp + 0x68]
mov qword [r8 + 0x20], rcx
mov eax, dword [rsp + 0x68]
mov dword [r8 + 0x28], eax
add r8, 0x30
call fcn.1400c3f20
test eax, eax
je 0x1400c520c
mov rdx, qword [rbx + 0x50]
test rdx, rdx
je 0x1400c4bcc
mov ecx, dword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
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 + 0x40]
inc eax
mov dword [rbp + 0x40], eax
jmp 0x1400c4bcf
mov eax, dword [rbp + 0x40]
mov rdx, qword [rbx + 0x58]
test rdx, rdx
je 0x1400c4bfa
movups xmm0, xmmword [rdx]
mov ecx, eax
mov rax, qword [rbp + 0x48]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
mov eax, dword [rbp + 0x40]
inc eax
mov dword [rbp + 0x40], eax
mov r8, qword [rbx + 0x60]
test r8, r8
je 0x1400c4c22
movups xmm0, xmmword [r8]
mov edx, eax
mov rax, qword [rbp + 0x48]
shl rdx, 5
movups xmmword [rdx + rax], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + rax + 0x10], xmm1
inc dword [rbp + 0x40]
mov rdx, qword [rbp - 0x68]
lea rcx, str._s.cert__algorithm_:__S
call fcn.14000afb0
mov rdx, qword [rbp - 0x68]
mov r8d, 0x80000000
mov ecx, 1
call qword [sym.imp.CRYPT32.dll_CryptFindOIDInfo]
test rax, rax
je 0x1400c4c5c
mov rdx, qword [rax + 0x10]
lea rcx, [0x1401595f0]
call fcn.14000afb0
lea rcx, str._n_s.cert__validity__:
call fcn.14000afb0
lea rcx, [rbp - 0x40]
call fcn.140012610
lea rcx, [0x140167a40]
call fcn.14000afb0
lea rcx, [rbp - 0x38]
call fcn.140012610
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000afb0
mov rdx, qword [rdi + 8]
lea rcx, str._s.key___provider__:__s_n
call fcn.14000afb0
call fcn.140012760
mov qword [rdi], rax
test rax, rax
je 0x1400c51ce
mov rdx, rax
lea rcx, str._s.key___container_:__s_n
call fcn.14000afb0
mov r9d, dword [rdi + 0x10]
lea rcx, [rdi + 0x40]
mov r8, qword [rdi + 8]
xor edx, edx
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400c4d43
mov rcx, qword [rdi + 0x40]
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x60]
mov dword [rbp + 0x2f8], 4
mov edx, 3
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_CryptGetProvParam]
test eax, eax
je 0x1400c4d37
mov r15d, dword [rsp + 0x60]
and r15d, 1
mov dword [rsp + 0x40], r15d
je 0x1400c4d37
and dword [rdi + 0x14], 0xffffffbf
mov edx, r15d
and dword [rdi + 0x38], 0xfffffffe
mov r8, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x40]
call fcn.1400c4440
mov rcx, qword [rdi + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rdi + 0x14]
lea rcx, [rdi + 0x40]
mov r9d, dword [rdi + 0x10]
or eax, 8
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400c517c
mov r8, qword [rdi + 0x30]
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call fcn.1400c4440
movzx edx, word [rdi + 0x3c]
lea rcx, str._s.key___gen___4hu_:
call fcn.14000afb0
movzx r8d, word [rdi + 0x3c]
lea r9, [rsp + 0x78]
mov edx, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x40]
shl r8d, 0x10
or r8d, dword [rdi + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x1400c511e
lea rcx, [0x140167a88]
call fcn.14000afb0
mov edx, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x40]
call fcn.1400c4370
mov r15, rax
test rax, rax
je 0x1400c50c1
movups xmm0, xmmword [rax]
mov rbx, qword [rbp + 0x48]
lea rcx, [rbp + 0x140]
mov dword [rbp + 0xb0], Ordinal_26
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
lea rax, [rbp + 0x58]
mov qword [rbp + 0xb8], rax
movaps xmmword [rbp], xmm0
call qword [sym.imp.advapi32.dll_A_SHAInit]
mov r8d, dword [r15 + 0x18]
lea rcx, [rbp + 0x140]
mov rdx, qword [r15 + 0x20]
call qword [sym.imp.advapi32.dll_A_SHAUpdate]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x140]
call qword [sym.imp.advapi32.dll_A_SHAFinal]
lea rcx, str.2.5.29.14
mov dword [rbx + 0x48], esi
lea r8, [rbx + 0x50]
mov qword [rbx + 0x40], rcx
lea rdx, [rbp + 0xb0]
call fcn.1400c3f20
test eax, eax
je 0x1400c50b5
mov r15d, dword [rbp + 0x40]
shl r15, 5
add r15, qword [rbp + 0x48]
test r13, r13
je 0x1400c4fbd
mov rax, qword [r13 + 0x18]
lea r9, [rbp + 0x2f8]
xor r8d, r8d
mov rcx, r13
movups xmm0, xmmword [rax + 0x50]
lea edx, [r8 + 2]
movaps xmmword [rbp - 0x50], xmm0
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
je 0x1400c4eeb
mov edx, dword [rbp + 0x2f8]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400c4eeb
lea r9, [rbp + 0x2f8]
mov r8, rax
mov edx, 2
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
je 0x1400c4ee2
mov r8, qword [rbx]
lea rcx, str.__i.key___provider_:__s_n__i.key___container:__s_n
mov rdx, qword [rbx + 8]
call fcn.14000afb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [rbp + 0x310]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rbp + 0x2e8]
mov edx, 0x10001
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptAcquireCertificatePrivateKey]
test eax, eax
je 0x1400c4fa9
mov edx, dword [rbp + 0x2e8]
mov rcx, qword [rsp + 0x48]
call fcn.1400c4370
mov r12, rax
test rax, rax
je 0x1400c4f8e
mov rdx, rax
mov rcx, r15
call fcn.1400c4130
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1400c4f8e
mov eax, dword [rbp + 0x40]
lea rcx, [rbp - 0x50]
mov r12d, eax
inc eax
shl r12, 5
add r12, qword [rbp + 0x48]
mov dword [rbp + 0x40], eax
call fcn.1400c45f0
mov rdx, rax
test rax, rax
je 0x1400c4fd0
lea rcx, str.__i.cert__subject__:__s_n
call fcn.14000afb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c4fd0
mov r8, qword [rsp + 0x48]
mov edx, dword [rbp + 0x2e8]
mov ecx, dword [rbp + 0x310]
call fcn.1400c46a0
mov r12, rsi
jmp 0x1400c4fbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_getFromSigner___CryptAcquireCertificatePrivateKey_signer___0x_08x__n
call fcn.14000afb0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x48], rsi
mov dword [rbp + 0x310], esi
lea rcx, str._s.cert__signature_:
call fcn.14000afb0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c4fee
mov edx, dword [rbp + 0x2e8]
jmp 0x1400c4ff5
mov edx, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x40]
mov rax, qword [rbp + 0x308]
lea r9, [rbp - 0x80]
mov rbx, qword [rbp + 0x300]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400c44d0
mov esi, eax
test eax, eax
je 0x1400c507f
lea rcx, [0x140167a88]
call fcn.14000afb0
cmp dword [rsp + 0x40], 0
je 0x1400c507f
lea rcx, str._s.key___cert.assoc:
call fcn.14000afb0
mov r8, qword [rbx]
xor r9d, r9d
mov rcx, qword [rsp + 0x78]
lea edx, [r9 + 0x1a]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x1400c506b
lea rcx, [0x140167a88]
call fcn.14000afb0
jmp 0x1400c507f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_generateCertificate___CryptSetKeyParam_KP_CERTIFICATE___0x_08x__n
call fcn.14000afb0
test r12, r12
je 0x1400c508f
mov rcx, qword [r12 + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, qword [rsp + 0x48]
mov edx, dword [rbp + 0x2e8]
mov ecx, dword [rbp + 0x310]
call fcn.1400c46a0
mov rcx, qword [rbp + 0x48]
add rcx, 0x58
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c50c1
lea rcx, str.ERROR_generateCertificate___Unable_to_create_SKI_n
call fcn.14000afb0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test esi, esi
jne 0x1400c51da
mov rcx, qword [rdi + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_generateCertificate___CryptGenKey__0x_08x__n
call fcn.14000afb0
mov rcx, qword [rdi + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_generateCertificate___CryptAcquireContext_CRYPT_NEWKEYSET___0x_08x__n
call fcn.14000afb0
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
lea rcx, str.ERROR_generateCertificate___Unable_to_generate_a_container_name_n
call fcn.14000afb0
mov rcx, qword [rbp + 0x48]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x48]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
lea rcx, str.ERROR_generateCertificate___Unable_to_create_BC2_n
call fcn.14000afb0
mov rcx, qword [rbp + 0x48]
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
lea rcx, str.ERROR_generateCertificate___Unable_to_create_KU_n
call fcn.14000afb0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c527e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_c_sc_auth_quickEncode___CryptEncodeObject__init___0x_08x__n
call fcn.14000afb0
lea rcx, str.ERROR_generateCertificate___Unable_to_create_Subject_n
call fcn.14000afb0
mov rbx, qword [rsp + 0x3e0]
mov eax, esi
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret