Function at 0x1400602e0
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rdi, rdx
mov qword [rsp + 0x68], rcx
lea rax, [rdx + 0xd4]
mov qword [rsp + 0x120], rax
lea rbx, [rdx + 0x10]
lea rax, [rdx + 0xf0]
mov qword [rsp + 0xf8], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0xd0]
test rax, rax
jne 0x1400611e8
movzx ebp, byte [rdi + 0xd1]
movzx r12d, byte [rdi + 0xd2]
movzx r13d, byte [rdi + 0xd3]
movzx esi, byte [rdi + 0xd4]
mov rax, qword [rdi + 0x90]
mov r14, qword [rdi + 0x98]
cmp r14, rax
jne 0x1400603a0
test bpl, bpl
je 0x140060386
cmp qword [rdi + 0x38], 0
je 0x140061312
cmp byte [rdi + 0xd0], 0
je 0x14006043d
or sil, r13b
jne 0x140060456
jmp 0x140060449
mov r15d, r12d
xor r12d, r12d
nop word cs:[rax + rax]
sub rax, r14
jb 0x140061312
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x140061312
mov r9, qword [rdi + 0x88]
add r9, r14
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.1400fc8a0
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
je 0x1400611a7
mov rax, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400611b1
add r12, rax
add r14, rax
mov qword [rdi + 0x98], r14
mov rax, qword [rdi + 0x90]
cmp r14, rax
jne 0x1400603b0
test r12, r12
mov r12d, r15d
je 0x140060369
cmp byte [rdi + 0xd0], 0
jne 0x14006036e
mov byte [rdi + 0xd1], 1
jmp 0x14006036e
mov byte [rdi + 0xd1], 0
or sil, r13b
jne 0x140060456
cmp byte [rdi + 0x122], 0
je 0x140060a5e
test r12b, r12b
je 0x140060c10
mov rsi, qword [rdi + 0x78]
mov r14, qword [rdi + 0x110]
test r14, r14
je 0x1400605c9
xor r13d, r13d
nop word cs:[rax + rax]
lea rax, [rsi + rsi]
cmp rax, r14
cmova r14, rax
cmp r14, 0x401
mov eax, 0x400
cmovb r14, rax
mov r12, qword [rdi + 0x70]
sub r14, r12
jbe 0x1400604e3
mov rax, qword [rdi + 0x60]
sub rax, r12
cmp rax, r14
jb 0x140060590
mov rbp, qword [rdi + 0x68]
lea rcx, [r12 + rbp]
cmp r14, 2
jb 0x1400604d9
lea r8, [r14 - 1]
xor edx, edx
call sub.msvcrt.dll_memset
add r12, r14
dec r12
add rbp, r12
mov rcx, rbp
mov byte [rcx], 0
inc r12
mov qword [rdi + 0x70], r12
sub r12, rsi
jb 0x140061312
mov rax, qword [rdi + 0x68]
add rax, rsi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], r12
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x140061312
mov rcx, rbx
lea r8, [rsp + 0x70]
call fcn.1400fc660
test rax, rax
movabs rax, 0xd00000003
cmovne rdx, rax
test rdx, rdx
jne 0x1400611bc
mov rax, qword [rsp + 0x80]
cmp rax, qword [rsp + 0x78]
ja 0x140061312
add rsi, rax
mov qword [rdi + 0x78], rsi
mov rcx, qword [rdi + 0x110]
mov rdx, rcx
sub rdx, rax
mov r14d, 0
cmovae r14, rdx
mov qword [rdi + 0x110], r14
test rax, rax
je 0x1400605c0
add r13, rax
cmp rcx, rax
ja 0x140060480
jmp 0x1400605c0
lea rcx, [rdi + 0x60]
mov rdx, r12
mov r8, r14
call fcn.14010eb20
mov r12, qword [rdi + 0x70]
mov rbp, qword [rdi + 0x68]
lea rcx, [r12 + rbp]
cmp r14, 2
jae 0x1400604c2
jmp 0x1400604d9
test r13, r13
je 0x140061217
movzx eax, byte [0x140205110]
mov rax, qword [0x140205100]
test rax, rax
jne 0x1400605f1
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140061312
mov qword [0x140205100], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140061312
cmp rsi, qword [rdi + 0x70]
ja 0x140061312
mov r12, rax
mov rax, qword [rdi + 0x68]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xa0], 2
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xb8], rax
jne 0x140060680
mov qword [rsp + 0xc0], 0
jmp 0x140060700
mov rdx, qword [rdi + 0xc0]
mov r8, qword [rdi + 0xc8]
lea rcx, [rsp + 0xc0]
call fcn.1400d2740
mov r15, qword [rsp + 0xc0]
test r15, r15
je 0x140060700
mov rsi, qword [rsp + 0xd0]
mov ebp, dword [rsp + 0xc8]
mov edx, 2
lea rcx, [rsp + 0xa0]
call fcn.140046a70
mov r12, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
mov rax, r14
shl rax, 4
mov dword [r12 + rax], ebp
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], rsi
inc r14
mov qword [rsp + 0xb0], r14
jmp 0x140060709
mov r14d, 2
xor r15d, r15d
mov dword [rsp + 0x128], 0
mov dword [rsp + 0x12c], r14d
mov qword [rsp + 0x130], r12
movabs rax, 0x200000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0xbc], 0
cmp byte [rdi + 0x122], 0
je 0x1400608da
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xf8]
cmove rdx, rcx
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xe0]
lea r8, [rsp + 0x128]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140060823
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140060835
call sub.secur32.dll_FreeContextBuffer
cmp r13d, 0x80090318
je 0x1400609a2
test r13d, r13d
je 0x1400609ce
cmp r13d, 0x90312
jne 0x14006122d
mov byte [rdi + 0x123], 0
cmp r14, 1
jbe 0x140061312
cmp dword [r12 + 0x14], 5
jne 0x140060a95
mov rsi, qword [rdi + 0x78]
mov eax, dword [r12 + 0x10]
mov r13, rsi
sub r13, rax
jb 0x140061312
mov ebp, dword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
test eax, eax
je 0x140060b97
mov rax, qword [rdi + 0x70]
mov r14, rax
sub r14, r13
jb 0x140061312
mov qword [rdi + 0x70], 0
test r13, r13
je 0x140060b9e
cmp rax, r13
je 0x140060ba7
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + r13]
mov r8, r14
call sub.msvcrt.dll_memmove
jmp 0x140060ba3
cmp byte [rdi + 0x120], 0
mov r8d, 0
je 0x1400608f0
mov r8, qword [rdi + 0xa8]
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0xf8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14006081e
jmp 0x140060823
cmp r14, 1
jbe 0x140061312
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x140060aaf
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x110], rax
jmp 0x140060d80
cmp r14, 1
jbe 0x140061312
cmp dword [r12 + 0x14], 5
jne 0x140060abb
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x140060a01
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xb8], eax
mov qword [rsp + 0x100], rsi
mov r13, qword [rdi + 0x78]
mov eax, dword [r12 + 0x10]
mov r12, r13
sub r12, rax
cmp r13, r12
jb 0x140061312
je 0x140060c9d
mov rax, qword [rdi + 0x70]
mov r14, rax
sub r14, r12
jb 0x140061312
mov qword [rdi + 0x70], 0
test r12, r12
je 0x140060c94
cmp rax, r12
je 0x140060c9d
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + r12]
mov r8, r14
call sub.msvcrt.dll_memmove
jmp 0x140060d29
mov byte [rsp + 0x67], r13b
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 0x53
lea r8, [rsp + 0x70]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x140060af6
test r12b, r12b
jne 0x14006045f
jmp 0x1400612bb
mov rsi, qword [rdi + 0x78]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov r12, qword [rsp + 0x78]
mov r13, rsi
jmp 0x140060ba9
mov qword [rdi + 0x110], rax
jmp 0x140060d80
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140060ad8
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0xb8], ecx
mov qword [rsp + 0x100], rax
mov qword [rdi + 0x78], 0
mov qword [rdi + 0x110], 1
jne 0x140060cb9
jmp 0x140060d6c
mov r15, qword [rsp + 0x70]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x140060dcf
call sub.crypt32.dll_CertDuplicateStore
mov rsi, rax
cmp qword [rdi], 0
je 0x140060b88
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140060b88
nop word cs:[rax + rax]
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r14, rax
mov qword [rsp + 0x70], 0
mov rcx, rsi
mov rdx, rbp
mov r8d, 3
lea r9, [rsp + 0x70]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x140061237
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, r14
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140060b30
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x140060ddb
mov eax, 1
jmp 0x140060ba9
cmp rax, r13
je 0x140060ba7
mov qword [rdi + 0x70], r14
xor eax, eax
sub rsi, r13
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x110], rax
test ebp, ebp
mov r14d, ebp
mov r13, r12
lea rax, str.description___is_deprecated__use_DisplaySequenceDataDataMagicParamdecompression_not_finished_but_EOF_reachedcorrupt_deflate_streamincomplete_frameInvalid_checksum
cmove r13, rax
mov rax, qword [rdi + 0x80]
mov rbp, qword [rdi + 0x90]
sub rax, rbp
cmp rax, r14
jb 0x140060f0b
mov rcx, qword [rdi + 0x88]
add rcx, rbp
mov rdx, r13
mov r8, r14
call sub.msvcrt.dll_memcpy
add rbp, r14
mov qword [rdi + 0x90], rbp
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
jmp 0x140060d80
mov al, 2
test r13b, r13b
jne 0x140060c5e
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0xf8]
call fcn.1400d20a0
cmp dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x110], rax
jne 0x140061314
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x10c], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x140], rax
mov al, 1
mov byte [rdi + 0xd0], al
mov eax, dword [rsp + 0x10c]
mov dword [rdi + 0xd4], eax
mov rax, qword [rsp + 0x110]
mov qword [rdi + 0xd8], rax
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0xe0], rax
jmp 0x140060328
cmp rax, r12
jne 0x140060d29
xor eax, eax
sub r13, r12
sete al
mov qword [rdi + 0x78], r13
mov qword [rdi + 0x110], rax
test rsi, rsi
je 0x140060d49
mov eax, dword [rsp + 0xb8]
test eax, eax
mov r14d, eax
mov r12, qword [rsp + 0x100]
lea rax, str.description___is_deprecated__use_DisplaySequenceDataDataMagicParamdecompression_not_finished_but_EOF_reachedcorrupt_deflate_streamincomplete_frameInvalid_checksum
cmove r12, rax
mov rax, qword [rdi + 0x80]
mov r13, qword [rdi + 0x90]
sub rax, r13
cmp rax, r14
jb 0x140060f29
mov rcx, qword [rdi + 0x88]
add rcx, r13
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
add r13, r14
mov qword [rdi + 0x90], r13
mov rcx, qword [rsp + 0x100]
call sub.secur32.dll_FreeContextBuffer
mov r13, qword [rdi + 0x78]
test r13, r13
jne 0x140060d4e
jmp 0x140060d6c
xor eax, eax
sub r13, r12
sete al
mov qword [rdi + 0x70], r14
mov qword [rdi + 0x78], r13
mov qword [rdi + 0x110], rax
test rsi, rsi
jne 0x140060cb9
test r13, r13
je 0x140060d6c
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.140061330
cmp byte [rsp + 0xe0], 0
jne 0x140061266
cmp byte [rdi + 0xd0], 0
jne 0x140060d80
mov byte [rdi + 0xd2], 0
nop dword [rax]
test r15, r15
je 0x140060da5
mov r8, qword [rsp + 0xd0]
cmp r15, 0x11
jb 0x140060d97
mov r8, qword [r8 - 8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xa0], 0
je 0x140060328
mov r8, qword [rsp + 0xa8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x140060328
mov rsi, qword [rdi]
test rsi, rsi
je 0x140060ddb
mov rsi, qword [rdi + 8]
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x70], 0x20
mov dword [rsp + 0x78], 1
lea rax, [0x1401c8f5f]
mov qword [rsp + 0xc0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xc8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, r15
xor r8d, r8d
mov r9, rsi
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1400612cd
mov rbp, qword [rsp + 0xa0]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x140061066
cmp dword [rbp + 0xc], 0
je 0x140061066
mov byte [rsp + 0x66], r12b
mov rax, qword [rbp + 0x10]
mov r12, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbp + 0xc], 2
jb 0x140060f47
mov esi, 1
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r14, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc rsi
mov r13, r14
cmp rsi, rax
jb 0x140060ee0
jmp 0x140060f4a
lea rcx, [rdi + 0x80]
mov rdx, rbp
mov r8, r14
call fcn.14010eb20
mov rbp, qword [rdi + 0x90]
jmp 0x140060be4
lea rcx, [rdi + 0x80]
mov rdx, r13
mov r8, r14
call fcn.14010eb20
mov r13, qword [rdi + 0x90]
jmp 0x140060cf2
mov r14, r13
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x138], rax
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateChain
xor r14d, r14d
mov qword [rsp + 0x118], r15
jmp 0x140060f8d
mov r14, qword [rsp + 0x148]
inc r14
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rbp, r15
mov r15, qword [rsp + 0x118]
mov eax, dword [r12 + 0xc]
mov esi, 0xf00
cmp r14, rax
jae 0x140061053
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x140061053
mov r15, rbp
mov qword [rsp + 0x148], r14
mov rax, qword [rax + r14*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140060f6f
nop dword [rax]
mov r14, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x140061029
mov rdx, qword [r13 + 8]
mov rcx, qword [r14 + 8]
call sub.msvcrt.dll_memcmp
mov esi, eax
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
test esi, esi
je 0x140061033
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140060fe0
jmp 0x140060f6f
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x140061013
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov rbp, r15
mov r15, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x138]
call sub.crypt32.dll_CertFreeCertificateChain
movzx r12d, byte [rsp + 0x66]
lea rax, [rsp + 0xa8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xa0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
je 0x1400610ae
cmp byte [rdi + 0x121], 0
jne 0x1400610ae
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xe0], 0x10
mov dword [rsp + 0xe4], esi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xe8], rax
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xc0], 0x18
mov ecx, 4
mov rdx, rbp
lea r8, [rsp + 0xe0]
lea r9, [rsp + 0xc0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1400612df
mov r13d, dword [rsp + 0xc4]
mov rax, qword [rdi + 0x100]
test rax, rax
je 0x14006116b
mov r8, qword [rdi + 0x108]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rsp + 0x70], rbp
mov dword [rsp + 0x78], r13d
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
je 0x14006117c
jmp 0x1400612f9
test r13d, r13d
jne 0x1400612e7
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0xd0], 0
movzx r13d, byte [rsp + 0x67]
jne 0x140060456
mov rax, qword [rsp + 0x120]
mov byte [rax], 1
jmp 0x140060456
movabs rax, 0xd00000003
mov rsi, qword [rsp + 0x68]
mov qword [rsi + 8], rax
jmp 0x1400611c5
mov rsi, qword [rsp + 0x68]
mov qword [rsi + 8], rdx
mov eax, 2
mov dword [rsi], eax
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
jne 0x14006120e
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + 0x10]
mov rsi, qword [rsp + 0x68]
mov dword [rsi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 4], xmm0
mov eax, 1
jmp 0x1400611ca
xor eax, eax
mov rsi, qword [rsp + 0x68]
jmp 0x1400611ca
lea rdx, str.unexpected_EOF_during_handshake1.3.6.1.5.5.7.3.1
mov r8d, 0x1f
mov cl, 0x25
call fcn.14008a310
jmp 0x1400611b1
shl r13, 0x20
or r13, 2
jmp 0x14006126e
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400612fc
mov r13, qword [rsp + 0xe8]
test r15, r15
mov rsi, qword [rsp + 0x68]
je 0x140061298
mov r8, qword [rsp + 0xd0]
cmp r15, 0x11
jb 0x14006128a
mov r8, qword [r8 - 8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xa0], 0
je 0x140061309
mov r8, qword [rsp + 0xa8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x140061309
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x68]
jmp 0x140061309
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400612fc
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1400612fc
mov r13, rax
mov rsi, qword [rsp + 0x68]
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi + 8], r13
jmp 0x1400611c5
ud2
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x110]
jmp 0x1400611b6