Function at 0x140108258
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x1b8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x1b0]
lea rax, [rcx + rax + 0x548]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x1401082c4
xor eax, eax
test eax, eax
jne 0x1401082ca
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x1401082e9
mov eax, 0x23
jmp 0x140108789
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov ecx, dword [rcx + 0x5c]
cmp dword [rax + 0x60], ecx
je 0x1401083c9
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 8
test eax, eax
jne 0x14010832b
lea rdx, str.schannel:_failed_to_setup_sequence_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 4
test eax, eax
jne 0x14010834f
lea rdx, str.schannel:_failed_to_setup_replay_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x140108373
lea rdx, str.schannel:_failed_to_setup_confidentiality
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x140108399
lea rdx, str.schannel:_failed_to_setup_memory_allocation
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x8000
test eax, eax
jne 0x1401083bf
lea rdx, str.schannel:_failed_to_setup_stream_orientation
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov eax, 0x23
jmp 0x140108789
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x1401084dd
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x80]
mov edx, 0x23
mov rcx, rax
mov rax, qword [0x140187a90]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14010842b
lea rdx, str.schannel:_failed_to_retrieve_ALPN_result
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov eax, 0x23
jmp 0x140108789
cmp dword [rsp + 0x80], 1
jne 0x140108498
movzx eax, byte [rsp + 0x88]
lea r9, [rsp + 0x89]
mov r8d, eax
lea rdx, str.schannel:_ALPN__server_accepted_to_use__.s_n
mov rcx, qword [rsp + 0x30]
call fcn.1400b4ae8
movzx eax, byte [rsp + 0x88]
cmp eax, 8
jne 0x140108496
mov r8d, 8
lea rdx, [rsp + 0x89]
lea rcx, str.http_1.1
call fcn.14005bed0
test eax, eax
jne 0x140108496
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0xaf0], 2
jmp 0x1401084a9
lea rdx, str.ALPN__server_did_not_agree_to_a_protocol_n
mov rcx, qword [rsp + 0x30]
call fcn.1400b4ae8
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0xaf0], 3
jne 0x1401084c4
mov dword [rsp + 0x54], 2
jmp 0x1401084cc
mov dword [rsp + 0x54], 0xffffffff
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
call fcn.140099ba4
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x3dc], 2
jne 0x140108549
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x140108514
mov dword [rsp + 0x58], 0
jmp 0x14010851c
mov dword [rsp + 0x58], 1
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x1b0]
cmp dword [rcx + rax + 0x578], 2
je 0x140108549
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb13]
mov dword [rsp + 0x40], eax
jmp 0x140108559
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xa4b]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14010868c
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b71b0
mov r9d, dword [rsp + 0x1b8]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b6d30
movzx eax, al
test eax, eax
jne 0x1401085a8
mov dword [rsp + 0x50], 1
jmp 0x1401085b0
mov dword [rsp + 0x50], 0
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401085f1
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax]
cmp qword [rsp + 0x60], rax
je 0x1401085f1
xor eax, eax
test eax, eax
jne 0x1401085d4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b6bfc
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14010867f
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov r9d, dword [rsp + 0x1b8]
mov r8d, 0x20
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b67ac
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140108659
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b7160
lea rdx, str.schannel:_failed_to_store_credential_handle
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov eax, dword [rsp + 0x24]
jmp 0x140108789
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
xor eax, eax
test eax, eax
jne 0x140108679
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b7160
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xab8]
test eax, eax
je 0x14010877b
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x48]
mov edx, 0x53
mov rcx, rax
mov rax, qword [0x140187a90]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1401086df
cmp qword [rsp + 0x48], 0
jne 0x1401086fa
lea rdx, str.schannel:_failed_to_retrieve_remote_cert_context
mov rcx, qword [rsp + 0x30]
call fcn.1400b4f24
mov eax, 0x3c
jmp 0x140108789
lea r8, [rsp + 0x3c]
lea rdx, [0x140108894]
mov rcx, qword [rsp + 0x48]
call fcn.1401088d0
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.1400b65c0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140108764
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x78], eax
lea r8, [rsp + 0x68]
lea rdx, [0x1401087a8]
mov rcx, qword [rsp + 0x48]
call fcn.1401088d0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call fcn.14010c62c
cmp dword [rsp + 0x24], 0
je 0x14010877b
mov eax, dword [rsp + 0x24]
jmp 0x140108789
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], 5
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400596e0
add rsp, 0x1a8
ret