Function at 0x140106278
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 0x1401062e4
xor eax, eax
test eax, eax
jne 0x1401062ea
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x140106309
mov eax, 0x23
jmp 0x1401067a9
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 0x1401063e9
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 8
test eax, eax
jne 0x14010634b
lea rdx, str.schannel:_failed_to_setup_sequence_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 4
test eax, eax
jne 0x14010636f
lea rdx, str.schannel:_failed_to_setup_replay_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x140106393
lea rdx, str.schannel:_failed_to_setup_confidentiality
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x1401063b9
lea rdx, str.schannel:_failed_to_setup_memory_allocation
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x8000
test eax, eax
jne 0x1401063df
lea rdx, str.schannel:_failed_to_setup_stream_orientation
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov eax, 0x23
jmp 0x1401067a9
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x1401064fd
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 0x14010644b
lea rdx, str.schannel:_failed_to_retrieve_ALPN_result
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov eax, 0x23
jmp 0x1401067a9
cmp dword [rsp + 0x80], 1
jne 0x1401064b8
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.1400b2b08
movzx eax, byte [rsp + 0x88]
cmp eax, 8
jne 0x1401064b6
mov r8d, 8
lea rdx, [rsp + 0x89]
lea rcx, str.http_1.1
call fcn.140059ef0
test eax, eax
jne 0x1401064b6
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0xaf0], 2
jmp 0x1401064c9
lea rdx, str.ALPN__server_did_not_agree_to_a_protocol_n
mov rcx, qword [rsp + 0x30]
call fcn.1400b2b08
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0xaf0], 3
jne 0x1401064e4
mov dword [rsp + 0x54], 2
jmp 0x1401064ec
mov dword [rsp + 0x54], 0xffffffff
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
call fcn.140097bc4
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x3dc], 2
jne 0x140106569
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x140106534
mov dword [rsp + 0x58], 0
jmp 0x14010653c
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 0x140106569
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb13]
mov dword [rsp + 0x40], eax
jmp 0x140106579
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xa4b]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1401066ac
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b51d0
mov r9d, dword [rsp + 0x1b8]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b4d50
movzx eax, al
test eax, eax
jne 0x1401065c8
mov dword [rsp + 0x50], 1
jmp 0x1401065d0
mov dword [rsp + 0x50], 0
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140106611
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax]
cmp qword [rsp + 0x60], rax
je 0x140106611
xor eax, eax
test eax, eax
jne 0x1401065f4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b4c1c
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14010669f
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.1400b47cc
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140106679
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b5180
lea rdx, str.schannel:_failed_to_store_credential_handle
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov eax, dword [rsp + 0x24]
jmp 0x1401067a9
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 0x140106699
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b5180
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xab8]
test eax, eax
je 0x14010679b
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 0x1401066ff
cmp qword [rsp + 0x48], 0
jne 0x14010671a
lea rdx, str.schannel:_failed_to_retrieve_remote_cert_context
mov rcx, qword [rsp + 0x30]
call fcn.1400b2f44
mov eax, 0x3c
jmp 0x1401067a9
lea r8, [rsp + 0x3c]
lea rdx, [0x1401068b4]
mov rcx, qword [rsp + 0x48]
call fcn.1401068f0
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.1400b45e0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140106784
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, [0x1401067c8]
mov rcx, qword [rsp + 0x48]
call fcn.1401068f0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call fcn.14010a64c
cmp dword [rsp + 0x24], 0
je 0x14010679b
mov eax, dword [rsp + 0x24]
jmp 0x1401067a9
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], 5
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140057700
add rsp, 0x1a8
ret