Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r15
lea rbp, [rsp - 0x3e060]
mov eax, 0x3e160
call fcn.140002140
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x3e050], rax
mov r15, rcx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x1400010cf
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.memory_not_enough__n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov qword [rsp + 0x3e190], rdi
lea rcx, str.read:__d_n
call fcn.140001010
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x3e032
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
xor eax, eax
mov r8d, 0xa
mov dword [rbp], eax
xor ecx, ecx
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], eax
mov byte [rbp - 0x6d], al
mov eax, dword [str.mykeyt]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400032d8]
mov word [rsp + 0x34], ax
movzx eax, byte [0x1400032da]
mov byte [rsp + 0x36], al
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rsp + 0x37], xmm0
movups xmmword [rsp + 0x47], xmm0
movups xmmword [rsp + 0x57], xmm0
movups xmmword [rsp + 0x67], xmm0
movups xmmword [rsp + 0x77], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x30]
mov r8, rax
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001180
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001190
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400011b0
movzx eax, word [0x1400032dc]
lea rdx, [0x140003344]
mov word [rcx], ax
movzx eax, byte [0x1400032de]
mov byte [rcx + 2], al
xor ecx, ecx
mov qword [rsp + 0x3e188], rbx
mov qword [rsp + 0x3e198], r14
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov rdi, rax
test rax, rax
jne 0x14000120e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_certificate_store._Error:__d_n
call fcn.140001010
jmp 0x14000134c
xor ebx, ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
mov r9d, 0x70007
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea edx, [rbx + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov r14, rax
test rax, rax
je 0x140001336
mov dword [rsp + 0x28], ebx
lea r9, str.2.5.4.10
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea edx, [rbx + 3]
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov rcx, r14
cmp eax, 1
jbe 0x140001338
mov dword [rsp + 0x28], eax
lea r9, str.2.5.4.10
lea rax, [rbp + 0x10]
xor r8d, r8d
lea edx, [rbx + 3]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
lea edx, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov r8d, 0x17faa
lea rdx, [rbp + 0x10]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r9d, 0xc9
nop dword [rax + rax]
movzx r8d, byte [rsi + rbx*2]
movzx edx, byte [rsi + rbx*2 + 1]
lea ecx, [r8 - 0x30]
cmp cl, 9
lea eax, [r8 - 0x37]
movzx eax, al
mov ecx, 0xd0
cmova r8d, eax
lea eax, [rdx - 0x30]
shl r8b, 4
cmp al, 9
cmova ecx, r9d
add cl, dl
or r8b, cl
mov byte [rbx + r15], r8b
inc rbx
cmp rbx, 0xbfd5
jl 0x1400012c0
mov rbx, qword [rsp + 0x3e188]
mov r14, qword [rsp + 0x3e198]
mov rdi, qword [rsp + 0x3e190]
mov rcx, qword [rbp + 0x3e050]
xor rcx, rsp
call fcn.140001450
add rsp, 0x3e160
pop r15
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
call fcn.140001400
int3