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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x140176220]
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 0x140100f48
xor eax, eax
test eax, eax
jne 0x140100f4e
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x140100f6d
mov eax, 0x23
jmp 0x14010140d
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 0x14010104d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 8
test eax, eax
jne 0x140100faf
lea rdx, str.schannel:_failed_to_setup_sequence_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 4
test eax, eax
jne 0x140100fd3
lea rdx, str.schannel:_failed_to_setup_replay_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x140100ff7
lea rdx, str.schannel:_failed_to_setup_confidentiality
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x14010101d
lea rdx, str.schannel:_failed_to_setup_memory_allocation
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x8000
test eax, eax
jne 0x140101043
lea rdx, str.schannel:_failed_to_setup_stream_orientation
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov eax, 0x23
jmp 0x14010140d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x140101161
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 [0x140187a30]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1401010af
lea rdx, str.schannel:_failed_to_retrieve_ALPN_result
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov eax, 0x23
jmp 0x14010140d
cmp dword [rsp + 0x80], 1
jne 0x14010111c
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.1400ad770
movzx eax, byte [rsp + 0x88]
cmp eax, 8
jne 0x14010111a
mov r8d, 8
lea rdx, [rsp + 0x89]
lea rcx, str.http_1.1
call fcn.140054b70
test eax, eax
jne 0x14010111a
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0xaf0], 2
jmp 0x14010112d
lea rdx, str.ALPN__server_did_not_agree_to_a_protocol_n
mov rcx, qword [rsp + 0x30]
call fcn.1400ad770
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0xaf0], 3
jne 0x140101148
mov dword [rsp + 0x54], 2
jmp 0x140101150
mov dword [rsp + 0x54], 0xffffffff
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
call fcn.14009282c
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x3dc], 2
jne 0x1401011cd
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x140101198
mov dword [rsp + 0x58], 0
jmp 0x1401011a0
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 0x1401011cd
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb13]
mov dword [rsp + 0x40], eax
jmp 0x1401011dd
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xa4b]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140101310
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x1b0]
call fcn.1400afe38
mov r9d, dword [rsp + 0x1b8]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400af9b8
movzx eax, al
test eax, eax
jne 0x14010122c
mov dword [rsp + 0x50], 1
jmp 0x140101234
mov dword [rsp + 0x50], 0
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140101275
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax]
cmp qword [rsp + 0x60], rax
je 0x140101275
xor eax, eax
test eax, eax
jne 0x140101258
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400af884
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140101303
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.1400af434
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1401012dd
mov rcx, qword [rsp + 0x1b0]
call fcn.1400afde8
lea rdx, str.schannel:_failed_to_store_credential_handle
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov eax, dword [rsp + 0x24]
jmp 0x14010140d
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 0x1401012fd
mov rcx, qword [rsp + 0x1b0]
call fcn.1400afde8
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xab8]
test eax, eax
je 0x1401013ff
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 [0x140187a30]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140101363
cmp qword [rsp + 0x48], 0
jne 0x14010137e
lea rdx, str.schannel:_failed_to_retrieve_remote_cert_context
mov rcx, qword [rsp + 0x30]
call fcn.1400adbac
mov eax, 0x3c
jmp 0x14010140d
lea r8, [rsp + 0x3c]
lea rdx, [0x140101518]
mov rcx, qword [rsp + 0x48]
call fcn.140101554
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.1400af248
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1401013e8
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, [0x14010142c]
mov rcx, qword [rsp + 0x48]
call fcn.140101554
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call fcn.1401052b0
cmp dword [rsp + 0x24], 0
je 0x1401013ff
mov eax, dword [rsp + 0x24]
jmp 0x14010140d
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], 5
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140052380
add rsp, 0x1a8
ret