Function at 0x140120820
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, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm6
mov rdi, rdx
mov r14, rcx
lea r13, [rdx + 0x211]
lea rbp, [rdx + 0x214]
lea rax, [rdx + 0x50]
mov qword [rsp + 0x198], rax
lea rax, [rdx + 8]
mov qword [rsp + 0xf8], rax
lea rax, [rdx + 0x1d0]
mov qword [rsp + 0x170], rax
xorps xmm6, xmm6
movaps xmm7, xmmword [0x140220d70]
movzx eax, byte [rdi + 0x210]
test rax, rax
jne 0x140121785
mov sil, byte [rdi + 0x211]
mov al, byte [rdi + 0x212]
mov byte [rsp + 0x6f], al
mov r15b, byte [rdi + 0x213]
mov bl, byte [rdi + 0x214]
lea r12, [rsp + 0x100]
mov rcx, r12
mov rdx, rdi
call fcn.1401222b0
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x100], 1
je 0x1401217d6
test rax, rax
je 0x1401208f5
cmp byte [rdi + 0x210], 0
jne 0x1401208fa
mov byte [r13], 1
jmp 0x1401208fa
test sil, sil
je 0x140120941
mov rdx, qword [rdi + 0x180]
test rdx, rdx
je 0x140121965
mov rcx, qword [rsp + 0x198]
call fcn.1401223f0
cmp al, 4
mov ecx, 0
cmovne rcx, rdx
mov edx, 0xa01
cmove rax, rdx
cmp al, 3
jne 0x1401217de
cmp byte [rdi + 0x210], 0
jne 0x140120941
mov byte [r13], 0
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x90], rbp
or bl, r15b
or bl, byte [rdi + 0x22a]
movabs rbx, 0x200000000
mov qword [rsp + 0xd8], r14
je 0x1401209ac
cmp byte [rsp + 0x6f], 0
jne 0x1401209e0
mov cl, 2
test r15b, r15b
je 0x140121604
mov rbp, qword [rsp + 0x90]
mov r13, qword [rsp + 0xb0]
mov edx, dword [rsp + 0xe0]
mov rbx, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
jmp 0x140121676
mov qword [rsp + 0x100], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 0x53
mov r8, r12
call sub.Secur32.dll_QueryContextAttributesW
test eax, eax
je 0x140120e6e
cmp byte [rsp + 0x6f], 0
je 0x1401218fb
cmp qword [rdi + 0x188], 0
movabs r15, 0x300000000
je 0x140120a1f
mov rcx, r12
mov rdx, rdi
call fcn.140121a10
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0x100], 1
je 0x1401217d6
test rax, rax
je 0x140121810
mov rsi, qword [rdi + 0x1c8]
call sub.KERNEL32.dll_GetProcessHeap
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14012197f
mov rdx, qword [rdi + 0x1c0]
cmp rdx, rsi
jb 0x140121990
mov rbp, rax
mov rax, qword [rdi + 0x1b0]
mov ecx, esi
or rcx, rbx
mov qword [rbp + 8], rax
mov qword [rbp], rcx
movups xmmword [rbp + 0x10], xmm6
mov rdx, qword [rdi + 0x1f8]
test rdx, rdx
je 0x140120b1c
mov r8, qword [rdi + 0x208]
lea rcx, [rsp + 0x98]
call fcn.14013cd60
mov r14, qword [rsp + 0xa0]
test r14, r14
je 0x140120b28
mov rsi, qword [rsp + 0xa8]
mov ebx, dword [rsp + 0x98]
mov qword [rsp + 0x100], rbp
movups xmmword [rsp + 0x108], xmm7
mov edx, 0x40
mov r8d, 8
lea rcx, [rsp + 0x70]
mov r9, r12
call fcn.14016c1f0
mov rbp, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
cmp qword [rsp + 0x70], 1
je 0x1401219a1
movabs rax, 0x1200000000
or rbx, rax
shr r13, 4
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x20], rbx
mov rax, r15
movabs rbx, 0x200000000
jmp 0x140120b34
mov qword [rsp + 0xa0], 0
mov r13d, 2
xor r14d, r14d
mov rax, rbx
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 0
movups xmmword [rsp + 0x118], xmm6
movabs rax, 0x1100000000
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x128], 0
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xb8], r15
mov dword [rsp + 0xe4], 0
cmp byte [rdi + 0x22a], 0
je 0x140120ca7
cmp byte [rdi + 0x22b], 0
mov edx, 0
mov rcx, qword [rsp + 0xf8]
cmove rdx, rcx
mov rax, qword [rdi]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x70]
lea r8, [rsp + 0xc8]
mov r9d, 0x1011c
call sub.Secur32.dll_AcceptSecurityContext
mov esi, eax
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140120c26
call sub.Secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140120c38
call sub.Secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x140120df8
test esi, esi
je 0x140120d50
cmp esi, 0x90312
jne 0x140120e35
mov byte [rdi + 0x22b], 0
cmp dword [rbp + 0x14], 5
mov rbx, qword [rdi + 0x1c8]
jne 0x140121082
mov eax, dword [rbp + 0x10]
mov rdx, rbx
sub rdx, rax
cmp rbx, rdx
jb 0x1401219ad
mov r12d, dword [rsp + 0x100]
mov r15, qword [rsp + 0x108]
sub rbx, rdx
jne 0x14012109e
mov eax, 1
xor ebx, ebx
jmp 0x1401210de
cmp byte [rdi + 0x228], 0
mov rax, qword [rdi + 0x28]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc8]
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 + 0x70]
mov rdx, qword [rsp + 0xf8]
mov r9d, 0x9819c
call sub.Secur32.dll_InitializeSecurityContextW
mov esi, eax
mov rcx, qword [rsp + 0x118]
test rcx, rcx
jne 0x140120c21
jmp 0x140120c26
cmp dword [rbp + 0x14], 5
mov rbx, qword [rdi + 0x1c8]
jne 0x140120f26
mov eax, dword [rbp + 0x10]
mov rdx, rbx
sub rdx, rax
mov rax, qword [rsp + 0x108]
test rax, rax
sete r15b
mov rcx, qword [rsp + 0xf0]
je 0x140120d93
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0xe8], rax
cmp rbx, rdx
jb 0x1401219ad
sub rbx, rdx
mov qword [rsp + 0xf0], rcx
je 0x140120f63
mov rsi, qword [rdi + 0x1c0]
cmp rsi, rdx
jb 0x1401219c7
mov qword [rdi + 0x1c0], 0
sub rsi, rdx
je 0x140120deb
test rdx, rdx
je 0x140120de4
mov rcx, qword [rdi + 0x1b0]
add rdx, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x1c0], rsi
mov rcx, qword [rsp + 0xf0]
jmp 0x140120f65
mov eax, 1
cmp dword [rbp + 0x14], 4
jne 0x140120e06
mov eax, dword [rbp + 0x10]
mov qword [rdi + 0x188], rax
test r14, r14
jne 0x14012102d
mov r12b, 3
test r13, r13
je 0x140120e30
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rbp
call fcn.14021dfcd
jmp 0x14012113f
mov r15d, esi
shl r15, 0x18
xor ebx, ebx
xor r12d, r12d
test r14, r14
je 0x140121128
mov rsi, qword [rsp + 0xa8]
cmp r14, 0x11
jae 0x140121115
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rsi
jmp 0x140121123
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x168], rax
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x140121191
call sub.CRYPT32.dll_CertDuplicateStore
mov rbp, rax
cmp dword [rdi + 0x18], 1
jne 0x14012119d
mov rcx, qword [rdi + 0x20]
xor edx, edx
call sub.CRYPT32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140120f0f
mov rbx, rax
mov rcx, rax
call sub.CRYPT32.dll_CertDuplicateCertificateContext
mov r12, rax
mov qword [rsp + 0x100], 0
mov rcx, rbp
mov rdx, rbx
mov r8d, 3
lea r9, [rsp + 0x100]
call sub.CRYPT32.dll_CertAddCertificateContextToStore
cmp eax, 1
jne 0x1401218d1
mov rcx, qword [rsp + 0x100]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 0x20]
mov rdx, r12
call sub.CRYPT32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140120ead
mov rcx, rbp
xor edx, edx
call sub.CRYPT32.dll_CertCloseStore
lea r12, [rsp + 0x100]
jmp 0x1401211ab
mov rax, qword [rsp + 0x108]
test rax, rax
sete r15b
mov rcx, qword [rsp + 0xf0]
je 0x140120f4f
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0xe8], rax
mov rdx, rbx
sub rbx, rdx
mov qword [rsp + 0xf0], rcx
jne 0x140120dad
xor ebx, ebx
mov qword [rdi + 0x1c8], rbx
xor eax, eax
test rbx, rbx
sete al
mov qword [rdi + 0x188], rax
test r15b, r15b
je 0x140120f89
xor esi, esi
test rbx, rbx
jne 0x140120fbb
jmp 0x140121006
mov r8d, ecx
mov rcx, qword [rsp + 0x170]
mov rsi, qword [rsp + 0xe8]
mov rdx, rsi
call fcn.1400b0060
mov rcx, rsi
call sub.Secur32.dll_FreeContextBuffer
mov rbx, qword [rdi + 0x1c8]
mov sil, 1
test rbx, rbx
je 0x140121006
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.140121cd0
cmp byte [rsp + 0x70], 1
jne 0x140121006
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
mov eax, r15d
mov r15, r12
shrd r15, rbx, 8
shr rbx, 8
or sil, al
jne 0x140120e41
mov rcx, qword [rsp + 0xe8]
call sub.Secur32.dll_FreeContextBuffer
jmp 0x140120e41
cmp byte [rdi + 0x210], 0
je 0x140121166
or sil, r15b
mov rcx, qword [rsp + 0xe8]
je 0x14012117e
test r14, r14
je 0x140120e16
mov rsi, qword [rsp + 0xa8]
cmp r14, 0x11
jae 0x14012105e
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.14021dfcd
mov r12b, 3
test r13, r13
jne 0x140120e1e
jmp 0x140120e30
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rsi - 8]
mov rcx, rax
xor edx, edx
call fcn.14021dfcd
mov r12b, 3
test r13, r13
jne 0x140120e1e
jmp 0x140120e30
mov r12d, dword [rsp + 0x100]
mov r15, qword [rsp + 0x108]
mov rdx, rbx
sub rbx, rdx
je 0x140120c9b
mov rsi, qword [rdi + 0x1c0]
cmp rsi, rdx
jb 0x1401219c7
mov qword [rdi + 0x1c0], 0
sub rsi, rdx
je 0x1401210dc
test rdx, rdx
je 0x1401210d5
mov rcx, qword [rdi + 0x1b0]
add rdx, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x1c0], rsi
xor eax, eax
mov qword [rdi + 0x1c8], rbx
mov qword [rdi + 0x188], rax
mov r8d, r12d
mov rcx, qword [rsp + 0x170]
mov rdx, r15
call fcn.1400b0060
mov rcx, r15
call sub.Secur32.dll_FreeContextBuffer
test r14, r14
jne 0x14012102d
jmp 0x140120e16
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rsi - 8]
mov rcx, rax
xor edx, edx
call fcn.14021dfcd
test r13, r13
je 0x14012113f
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rbp
call fcn.14021dfcd
mov r14, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0x90]
mov r13, qword [rsp + 0xb0]
cmp r12b, 3
je 0x140120888
jmp 0x1401217ef
mov byte [rdi + 0x212], 0
or sil, r15b
mov rcx, qword [rsp + 0xe8]
jne 0x140121024
call sub.Secur32.dll_FreeContextBuffer
test r14, r14
jne 0x14012102d
jmp 0x140120e16
cmp dword [rdi + 0x18], 1
jne 0x1401211a9
mov rbp, qword [rdi + 0x20]
jmp 0x1401211ab
mov rcx, rbp
xor edx, edx
call sub.CRYPT32.dll_CertCloseStore
jmp 0x1401211ab
xor ebp, ebp
lea rax, [0x1402ced80]
lea rcx, [0x1402ceda0]
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
mov dword [rsp + 0x100], 0x60
mov dword [rsp + 0x108], 1
mov qword [rsp + 0xc8], rax
mov rax, qword [0x1402ced98]
cmp rax, 3
jne 0x1401216be
mov rax, qword [rsp + 0xc8]
mov rsi, qword [rax]
mov qword [rsp + 0xc8], rcx
mov rax, qword [0x1402cedb8]
cmp rax, 3
jne 0x140121705
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rax]
lea rax, [0x1402cedc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [0x1402cedd8]
cmp rax, 3
jne 0x140121745
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x110], 3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rsp + 0x168]
xor r8d, r8d
mov r9, rbp
call sub.CRYPT32.dll_CertGetCertificateChain
cmp eax, 1
jne 0x140121906
mov r12, qword [rsp + 0x98]
mov esi, 0xf00
cmp dword [rdi + 0x18], 1
jne 0x14012137f
cmp dword [r12 + 0xc], 0
lea rax, [rsp + 0xa0]
movabs rcx, 0x200000018
movabs rbx, 0x200000000
je 0x1401214c8
mov rax, qword [r12 + 0x10]
mov r14, qword [rax]
mov rcx, r12
call sub.CRYPT32.dll_CertDuplicateCertificateChain
mov rbx, rax
cmp dword [r12 + 0xc], 2
jb 0x1401213a0
mov ebp, 1
nop dword [rax]
mov rax, qword [r12 + 0x10]
mov r14, qword [rax + rbp*8]
mov rcx, r12
call sub.CRYPT32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateChain
mov eax, dword [r12 + 0xc]
add rbp, 1
mov rbx, rsi
cmp rbp, rax
jb 0x140121350
jmp 0x1401213a3
lea rax, [rsp + 0xa0]
movabs rcx, 0x200000018
movabs rbx, 0x200000000
jmp 0x1401214c8
mov rsi, rbx
mov rcx, r12
call sub.CRYPT32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x188], rax
mov rcx, rsi
call sub.CRYPT32.dll_CertFreeCertificateChain
xor ecx, ecx
mov eax, dword [r14 + 0xc]
mov esi, 0xf00
cmp rcx, rax
movabs rbx, 0x200000000
jae 0x1401214a1
mov rax, qword [r14 + 0x10]
test rax, rax
je 0x1401214a1
mov rax, qword [rax + rcx*8]
add rcx, 1
mov qword [rsp + 0x190], rcx
mov rcx, qword [rax + 8]
call sub.CRYPT32.dll_CertDuplicateCertificateContext
mov rbx, rax
xor esi, esi
jmp 0x140121418
mov rcx, rbp
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.CRYPT32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140121465
mov rbp, rax
mov rcx, rax
call sub.CRYPT32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov r8d, dword [rbp + 0x10]
cmp r8d, dword [rbx + 0x10]
jne 0x140121410
mov rcx, qword [rbp + 8]
mov rdx, qword [rbx + 8]
cmp rcx, rdx
je 0x14012147a
call sub.VCRUNTIME140.dll_memcmp
mov r13d, eax
mov rcx, rbp
call sub.CRYPT32.dll_CertFreeCertificateContext
test r13d, r13d
jne 0x140121418
jmp 0x140121482
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rsp + 0x190]
jmp 0x1401213bd
mov rcx, rbp
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateContext
mov esi, 0xf10
movabs rbx, 0x200000000
mov rcx, qword [rsp + 0x188]
call sub.CRYPT32.dll_CertFreeCertificateChain
mov r14, qword [rsp + 0xd8]
lea rax, [rsp + 0xa0]
movabs rcx, 0x200000018
movups xmmword [rax], xmm6
mov qword [rsp + 0x98], rcx
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401214ed
cmp byte [rdi + 0x229], 0
jne 0x1401214ed
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], reloc.WS2_32.dll_recv
mov dword [rsp + 0xbc], esi
lea rax, [rsp + 0x98]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x70], 0x18
mov ecx, 4
mov rdx, r12
lea r8, [rsp + 0xb8]
lea r9, [rsp + 0x70]
call sub.CRYPT32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x140121916
mov r13d, dword [rsp + 0x74]
xor eax, eax
test r13d, r13d
sete dl
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x1401215af
mov rax, qword [rdi + 0x48]
mov rdx, qword [rax + 0x10]
lea rbp, [rdx + 0xf]
neg rdx
and rdx, rbp
add rcx, rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x100], r12
mov dword [rsp + 0x108], r13d
mov qword [rsp + 0x10c], rdx
lea rdx, [rsp + 0x100]
call qword [rax + 0x18]
mov rsi, rdx
mov r13, rax
shrd r13, rdx, 8
mov dl, 1
xor ecx, ecx
jmp 0x1401215be
shl r13, 0x18
mov al, dl
lea eax, [rax + rax*2]
mov cl, 1
xor esi, esi
xor edx, edx
cmp al, 3
jne 0x140121928
test dl, dl
jne 0x1401215d2
mov rcx, r12
call sub.CRYPT32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0x168]
call sub.CRYPT32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x210], 0
lea r12, [rsp + 0x100]
jne 0x14012096e
mov rax, qword [rsp + 0x90]
mov byte [rax], 1
jmp 0x14012096e
movaps xmmword [rsp + 0x100], xmm6
mov dword [rsp + 0x110], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 4
mov r8, r12
call sub.Secur32.dll_QueryContextAttributesW
mov rbx, rax
shl rbx, 0x20
mov cl, 1
test eax, eax
cmove rbx, qword [rsp + 0x104]
mov rsi, qword [rsp + 0x10c]
mov eax, 0
cmovne rsi, rax
mov edx, dword [rsp + 0xe0]
cmove edx, dword [rsp + 0x100]
mov r13, qword [rsp + 0xb0]
jne 0x14012195f
mov rbp, qword [rsp + 0x90]
mov byte [rdi + 0x210], cl
mov al, byte [rsp + 0x72]
mov byte [r13 + 2], al
movzx eax, word [rsp + 0x70]
mov word [r13], ax
mov dword [rsp + 0xe0], edx
mov dword [rdi + 0x214], edx
mov qword [rsp + 0x178], rsi
mov qword [rdi + 0x220], rsi
mov qword [rsp + 0x180], rbx
mov qword [rdi + 0x218], rbx
jmp 0x140120888
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x98], rax
lea rcx, [0x1402ced98]
lea rdx, [rsp + 0x98]
lea r8, [0x140271730]
call fcn.14014eb60
lea rcx, [0x1402ceda0]
jmp 0x140121218
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x98], rax
lea rcx, [0x1402cedb8]
lea rdx, [rsp + 0x98]
lea r8, [0x140271770]
call fcn.14014eb60
jmp 0x14012123c
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x98], rax
lea rcx, [0x1402cedd8]
lea rdx, [rsp + 0x98]
lea r8, [0x1402717b0]
call fcn.14014eb60
jmp 0x140121267
cmp eax, 1
je 0x140121793
mov qword [r14], 0
jmp 0x1401217b2
mov dword [r14 + 4], 1
movups xmm0, xmmword [rbp]
movups xmmword [r14 + 8], xmm0
mov eax, dword [rbp + 0x10]
mov dword [r14 + 0x18], eax
mov dword [r14], 0
movaps xmm6, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x110]
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rcx
mov dword [r14], 1
jmp 0x1401217b2
movzx eax, r12b
shld rbx, r15, 8
shl r15, 8
or r15, rax
mov qword [r14 + 0x10], rbx
mov qword [r14 + 8], r15
mov dword [r14], 1
jmp 0x1401217b2
call sub.KERNEL32.dll_GetProcessHeap
mov r8d, 0x1f
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1401219f9
mov rsi, rax
movups xmm0, xmmword [0x14026d537]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshake]
movups xmmword [rax], xmm0
call sub.KERNEL32.dll_GetProcessHeap
mov r8d, 0x18
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1401219e8
mov rdi, rax
mov qword [rax], rsi
movaps xmm0, xmmword [0x140220b80]
movups xmmword [rax + 8], xmm0
call sub.KERNEL32.dll_GetProcessHeap
mov r8d, 0x18
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1401219e8
mov qword [rax], rdi
lea rcx, [0x140266518]
mov qword [rax + 8], rcx
mov byte [rax + 0x10], send
mov ecx, dword [rsp + 0x100]
mov edx, dword [rsp + 0x103]
mov dword [rax + 0x11], ecx
mov dword [rax + 0x14], edx
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], 2
mov dword [r14], 1
jmp 0x1401217b2
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
xor esi, esi
mov rcx, rbx
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, r12
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, rbp
xor edx, edx
call sub.CRYPT32.dll_CertCloseStore
jmp 0x14012193e
mov r13d, eax
shl r13, 0x20
xor esi, esi
jmp 0x14012194b
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
xor esi, esi
jmp 0x14012193e
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
mov cl, 1
xor esi, esi
jmp 0x140121932
movzx eax, al
shl r13, 8
or r13, rax
test cl, cl
je 0x14012193e
mov rcx, r12
call sub.CRYPT32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0x168]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], rsi
mov dword [r14], 1
jmp 0x1401217b2
mov qword [r14 + 8], rbx
jmp 0x14012194f
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_native_tls_0.3.0_srclib.rs
mov edx, 0x29
call fcn.14001f9d0
ud2
mov ecx, 0x20
mov edx, 8
call fcn.1400182a0
ud2
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rcx, rsi
call fcn.1400201a0
ud2
test r13, r13
jne 0x1401219db
call fcn.1400182c0
ud2
lea rcx, str.assertion_failed:_size___nread
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov edx, 0x1f
call fcn.14001f9d0
ud2
lea r8, str.C:Usersdarkarp.rustup_toolchains_stable_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_alloc_src_vec.rsthread_not_dropped_yet
mov rcx, rdx
mov rdx, rsi
call fcn.1400201a0
ud2
mov rcx, rbp
mov rdx, r13
call fcn.1400182a0
ud2
mov ecx, 0x18
mov edx, 8
call fcn.1400182a0
ud2
mov ecx, 0x1f
mov edx, 1
call fcn.1400182a0
ud2