Function at 0x140103d08
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 0x140103d74
xor eax, eax
test eax, eax
jne 0x140103d7a
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x140103d99
mov eax, 0x23
jmp 0x140104239
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 0x140103e79
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 8
test eax, eax
jne 0x140103ddb
lea rdx, str.schannel:_failed_to_setup_sequence_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 4
test eax, eax
jne 0x140103dff
lea rdx, str.schannel:_failed_to_setup_replay_detection
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x10
test eax, eax
jne 0x140103e23
lea rdx, str.schannel:_failed_to_setup_confidentiality
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x100
test eax, eax
jne 0x140103e49
lea rdx, str.schannel:_failed_to_setup_memory_allocation
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x60]
and eax, 0x8000
test eax, eax
jne 0x140103e6f
lea rdx, str.schannel:_failed_to_setup_stream_orientation
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov eax, 0x23
jmp 0x140104239
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x140103f8d
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 [0x140187af0]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140103edb
lea rdx, str.schannel:_failed_to_retrieve_ALPN_result
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov eax, 0x23
jmp 0x140104239
cmp dword [rsp + 0x80], 1
jne 0x140103f48
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.1400b0598
movzx eax, byte [rsp + 0x88]
cmp eax, 8
jne 0x140103f46
mov r8d, 8
lea rdx, [rsp + 0x89]
lea rcx, str.http_1.1
call fcn.140057d40
test eax, eax
jne 0x140103f46
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0xaf0], 2
jmp 0x140103f59
lea rdx, str.ALPN__server_did_not_agree_to_a_protocol_n
mov rcx, qword [rsp + 0x30]
call fcn.1400b0598
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0xaf0], 3
jne 0x140103f74
mov dword [rsp + 0x54], 2
jmp 0x140103f7c
mov dword [rsp + 0x54], 0xffffffff
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
call fcn.140095654
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x3dc], 2
jne 0x140103ff9
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b0]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x140103fc4
mov dword [rsp + 0x58], 0
jmp 0x140103fcc
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 0x140103ff9
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xb13]
mov dword [rsp + 0x40], eax
jmp 0x140104009
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xa4b]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14010413c
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b2c60
mov r9d, dword [rsp + 0x1b8]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b27e0
movzx eax, al
test eax, eax
jne 0x140104058
mov dword [rsp + 0x50], 1
jmp 0x140104060
mov dword [rsp + 0x50], 0
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401040a1
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rax, qword [rax]
cmp qword [rsp + 0x60], rax
je 0x1401040a1
xor eax, eax
test eax, eax
jne 0x140104084
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b26ac
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14010412f
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.1400b225c
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140104109
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b2c10
lea rdx, str.schannel:_failed_to_store_credential_handle
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov eax, dword [rsp + 0x24]
jmp 0x140104239
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 0x140104129
mov rcx, qword [rsp + 0x1b0]
call fcn.1400b2c10
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xab8]
test eax, eax
je 0x14010422b
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 [0x140187af0]
call qword [rax + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14010418f
cmp qword [rsp + 0x48], 0
jne 0x1401041aa
lea rdx, str.schannel:_failed_to_retrieve_remote_cert_context
mov rcx, qword [rsp + 0x30]
call fcn.1400b09d4
mov eax, 0x3c
jmp 0x140104239
lea r8, [rsp + 0x3c]
lea rdx, [0x140104344]
mov rcx, qword [rsp + 0x48]
call fcn.140104380
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.1400b2070
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140104214
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, [0x140104258]
mov rcx, qword [rsp + 0x48]
call fcn.140104380
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call fcn.1401080dc
cmp dword [rsp + 0x24], 0
je 0x14010422b
mov eax, dword [rsp + 0x24]
jmp 0x140104239
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], 5
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140055550
add rsp, 0x1a8
ret