Function at 0x100442d0
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x274], eax
xor eax, eax
mov dword [ebp - 0x288], edi
mov edi, dword [ebp - 0x274]
lea ecx, [esi + 0x770]
mov dword [ebp - 0x290], edx
lea ebx, [esi + 0x7c4]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x280], eax
cmp dword [edi], eax
mov edi, dword [ebp - 0x288]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x148], eax
jne 0x100443f2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100443b6
lea eax, [ebp - 0x280]
push eax
call fcn.1003e9d0
add esp, 4
test eax, eax
jns 0x100443a4
test byte [0x10059abd], 0x80
je 0x1004438e
push str.Convert_SNI_to_unicode
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov eax, 0x8000
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100483f7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x774], 0x12
lea edx, [esi + 0x770]
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 0x13c]
inc eax
jmp 0x10044411
mov eax, dword [ebp - 0x274]
mov dword [ecx + 4], 2
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], edx
lea edx, [esi + 0x770]
mov dword [ebp - 0x13c], eax
lea ecx, [esi + 0x28]
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 4], 0
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4], 0
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 8], 0
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 4], 0
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4], 0
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 8], 0
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ecx], 0
mov dword [ebp - 0x13c], eax
mov dword [ecx + 4], 1
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 4], 0x1b
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4], 8
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [ebp - 0x13c]
mov cl, byte [esi]
inc eax
mov dword [ebp - 0x13c], eax
test cl, 1
je 0x1004450a
test cl, 2
jne 0x1004450a
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 4], 0x12
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18]
mov dword [edx + ecx*4 + 8], eax
inc dword [ebp - 0x13c]
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 4], 2
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4], ecx
mov eax, dword [ebp - 0x148]
movzx ecx, word [edi + 0x12]
add ecx, dword [edi + 0x24]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 8], ecx
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 4], 0x11
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4], 2
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 8], ecx
mov eax, dword [ebp - 0x148]
inc eax
cmp dword [esi + 0x20], 0
mov dword [ebp - 0x148], eax
je 0x100445df
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [edx + eax*4 + 4], 0x19
mov eax, dword [esi + 0x20]
movzx ecx, word [eax + 8]
mov eax, dword [ebp - 0x13c]
add ecx, 0xa
lea eax, [eax + eax*2]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x13c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x148]
inc ecx
mov dword [ebp - 0x13c], ecx
jmp 0x100445e5
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x274]
cmp dword [edx], 0
je 0x100446df
mov dl, byte [esi]
test dl, 5
jne 0x100446df
mov ax, word [esi + 2]
test dl, 1
mov word [ebp - 0x12c], ax
mov edx, 8
mov eax, 1
mov dword [ebp - 0x134], 0
cmove eax, edx
mov dword [ebp - 0x130], 1
mov word [ebp - 0x12a], ax
lea eax, [ecx + ecx*2]
mov dword [esi + eax*4 + 0x774], 0x1a
lea ecx, [ebp - 0x134]
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x770], 0xc
mov eax, dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x778], ecx
mov eax, dword [ebp - 0x148]
inc dword [ebp - 0x13c]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 4], 0x1a
cmp dword [esi + 0x81c], 0
mov eax, dword [ebp - 0x148]
lea ecx, [eax + eax*2]
je 0x100446b4
mov eax, dword [esi + 0x818]
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0x148]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x81c]
mov dword [ebx + ecx*4 + 8], eax
jmp 0x100446d2
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x290]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 8], ecx
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
lea ecx, [esi + 0x30]
mov edx, 4
nop word [eax + eax]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 4], 0x1c
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4], 0x1d0
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
mov dword [ebx + eax*4 + 8], ecx
add ecx, 0x1d0
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
sub edx, 1
jne 0x100446f0
test byte [esi], 1
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 8]
je 0x1004477f
and eax, 0x40
or eax, 0x300b00
shr eax, 5
cmp dword [ebx], 0xffffffff
je 0x10044758
cmp dword [esi + 0xc], 0xffffffff
je 0x10044758
mov edx, ebx
jmp 0x1004475a
xor edx, edx
push 0
lea edi, [ebp - 0x128]
push edi
lea edi, [ebp - 0x14c]
push edi
push ebx
push 0
push eax
lea eax, [ebp - 0x140]
push eax
push edx
push ecx
call dword [sym.imp.Secur32.dll_AcceptSecurityContext]
jmp 0x100447d0
test eax, 0x8000
mov edx, 0xc098
mov eax, dword [ebx]
jne 0x10044792
mov edx, 0xc018
cmp eax, 0xffffffff
je 0x100447a1
cmp dword [esi + 0xc], 0xffffffff
je 0x100447a1
mov eax, ebx
jmp 0x100447a3
xor eax, eax
push 0
lea edi, [ebp - 0x128]
push edi
lea edi, [ebp - 0x14c]
push edi
push ebx
push 0
lea edi, [ebp - 0x140]
push edi
push 0x10
push 0
push edx
push dword [ebp - 0x294]
push eax
push ecx
call dword [sym.imp.Secur32.dll_InitializeSecurityContextW]
mov edi, dword [ebp - 0x288]
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x13c], edx
jbe 0x1004483b
mov eax, dword [ebp - 0x138]
xor edi, edi
mov ebx, dword [ebp - 0x13c]
test edi, edi
jne 0x10044816
cmp dword [eax + 4], 5
jne 0x10044816
mov edi, eax
jmp 0x10044821
test edx, edx
jne 0x10044821
cmp dword [eax + 4], 4
cmove edx, eax
add eax, 0xc
sub ebx, 1
jne 0x10044808
mov dword [ebp - 0x290], edi
mov edi, dword [ebp - 0x288]
mov dword [ebp - 0x11c], edx
xor eax, eax
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x28c], eax
movlpd qword [ebp - 0x110], xmm0
movlpd qword [ebp - 0x118], xmm0
mov byte [ebp - 0x269], al
mov byte [ebp - 0x26a], al
cmp dword [ebp - 0x148], eax
jbe 0x100449e7
mov edx, dword [ebp - 0x144]
xor ebx, ebx
mov dword [ebp - 0x27c], ecx
xor edi, edi
mov dword [ebp - 0x280], edx
jmp 0x10044896
mov eax, dword [ebp - 0x284]
test eax, eax
jne 0x100448af
cmp dword [ecx + edx + 4], 2
lea eax, [ecx + edx]
jne 0x100448af
mov dword [ebp - 0x284], eax
jmp 0x10044992
cmp dword [ebp - 0x28c], 0
jne 0x100448d2
cmp dword [ecx + edx + 4], 0x11
lea eax, [ecx + edx]
jne 0x100448d2
cmp dword [eax], 0
jbe 0x100448d2
mov dword [ebp - 0x28c], eax
jmp 0x10044992
test ebx, ebx
jne 0x100448e7
cmp dword [ecx + edx + 4], 0x1a
lea eax, [ecx + edx]
jne 0x100448e7
mov ebx, eax
jmp 0x10044992
cmp dword [ecx + edx + 4], 0x1c
lea eax, [ecx + edx]
jne 0x10044992
mov ecx, dword [eax + 8]
mov dword [ebp - 0x280], ecx
cmp dword [ecx + 0x188], 0
je 0x1004498c
test byte [0x10059abc], 1
je 0x10044968
movzx eax, word [ecx + 0x186]
push eax
movzx eax, word [ecx + 0x184]
push eax
push dword [ecx + 0x188]
lea eax, [ebp - 0x108]
push str.Key_Ready_Type___u___hu_to__hu_
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x1c
lea eax, [ebp - 0x108]
mov edx, 0x1004c9b0
push eax
push dword [esi + 0x24]
call fcn.10001280
mov edx, dword [ebp - 0x144]
add esp, 8
mov ecx, dword [ebp - 0x280]
test byte [esi], 1
mov eax, dword [ecx + 0x188]
je 0x100449cc
cmp eax, 2
jne 0x100449d1
movzx eax, byte [ebp - 0x26a]
inc byte [ebp - 0x26a]
mov dword [ebp + eax*4 - 0x118], ecx
mov ecx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x148]
inc edi
add ecx, 0xc
mov dword [ebp - 0x27c], ecx
cmp edi, eax
jb 0x10044890
mov edi, dword [ebp - 0x288]
mov dword [ebp - 0x27c], ebx
xor ebx, ebx
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov edx, dword [ebp - 0x11c]
jmp 0x100449f9
cmp eax, 2
jne 0x10044978
movzx eax, byte [ebp - 0x269]
inc byte [ebp - 0x269]
mov dword [ebp + eax*4 - 0x110], ecx
jmp 0x1004498c
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x278], 0x90312
jg 0x10045047
mov ecx, dword [ebp - 0x278]
cmp ecx, 0x90312
je 0x10044e50
cmp ecx, 0x80090318
je 0x10044feb
cmp ecx, 0x8009036a
je 0x10044e9a
test ecx, ecx
jne 0x10045061
test byte [esi], 5
jne 0x10044a6b
test byte [0x10059abd], 0x80
je 0x10044a61
push str.No_QUIC_TP_received
lfence
push dword [esi + 0x24]
mov edx, 0x1004c820
call fcn.10001280
add esp, 8
mov ebx, 0x8000
jmp 0x10044dd1
cmp dword [esi + 0x20], 0
je 0x10044a8c
lfence
push dword [esi + 0x20]
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x20], 0
test byte [edi], 1
jne 0x10044e50
test byte [esi], 1
jne 0x10044b3f
lea eax, [ebp - 0x268]
push eax
push 0x23
lea eax, [esi + 8]
push eax
lfence
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x10044ae4
test byte [0x10059abd], 0x80
je 0x10044ada
push str.query_negotiated_ALPN
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov ebx, 0x8000
jmp 0x10044dd1
mov eax, dword [ebp - 0x268]
cmp eax, 1
je 0x10044aff
test byte [0x10059abd], 0x80
je 0x10044ada
push str.ALPN_negotiation_status
jmp 0x10044ac6
lfence
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x25f]
push ecx
push dword [ebp - 0x260]
mov cx, word [eax + 8]
lea edx, [eax + 0xa]
call fcn.10019d10
add esp, 8
mov dword [edi + 0x38], eax
test eax, eax
jne 0x10044b3f
test byte [0x10059abd], 0x80
je 0x10044a61
push str.ALPN_Mismatch
jmp 0x10044a4e
lea eax, [ebp - 0xb0]
push eax
push 0x5d
lea eax, [esi + 8]
lfence
push eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x10044b9d
test byte [0x10059abd], 0x80
je 0x10044a61
push str.query_session_info
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov ebx, 0x8000
jmp 0x10044dd1
lfence
test byte [ebp - 0xb0], 1
je 0x10044bac
or byte [edi], 2
test byte [esi], 1
je 0x10044bc4
lfence
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x26b], 0
test byte [eax + 8], 0x40
je 0x10044bcb
mov byte [ebp - 0x26b], 1
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x15c], xmm0
test dword [eax + 8], 0x80000
lea eax, [ebp - 0x158]
push eax
lfence
lea eax, [esi + 8]
je 0x10044c05
push 0x74
push eax
mov dword [ebp - 0x15c], 3
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov ecx, eax
jmp 0x10044c23
push 0x53
push eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov ecx, eax
mov eax, dword [ebp - 0x158]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x278], ecx
cmp ecx, 0x8009030e
jne 0x10044cb0
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 0x20
je 0x10044d16
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x11c], 0x8009030e
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 0x10
je 0x10044c86
lea eax, [ebp - 0x15c]
mov edx, edi
push eax
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
lfence
call fcn.100441b0
add esp, 8
mov dword [ebp - 0x270], eax
mov ebx, eax
mov ecx, dword [esi + 0x10]
test dword [ecx + 8], 0x80000
je 0x10044d65
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x10044d76
push eax
call dword [sym.imp.Secur32.dll_FreeContextBuffer]
jmp 0x10044d76
test ecx, ecx
jne 0x10044d16
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 4
jne 0x10044c55
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 0x60
je 0x10044c55
lea eax, [ebp - 0x120]
push eax
push 0x72
lea eax, [esi + 8]
push eax
lfence
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov ecx, eax
mov dword [ebp - 0x278], ecx
cmp ecx, 0x8009030e
je 0x10044c4b
test ecx, ecx
je 0x10044c55
test byte [0x10059abd], 0x80
je 0x10044a61
push str.query_cert_validation_result
push ecx
jmp 0x10044b80
cmp byte [ebp - 0x26b], 0
je 0x10044c55
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 4
jne 0x10044c55
test byte [0x10059abd], 0x80
je 0x10044d55
push str.Query_peer_cert
push ecx
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov eax, 0x50
mov ebx, 0x8000
mov word [edi + 0x10], ax
jmp 0x10044dd1
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x10044d76
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, 0x8000
jne 0x10044dcb
lfence
mov eax, dword [esi + 0x10]
test byte [eax + 8], 0x20
jne 0x10044dfd
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x10044dfd
test byte [0x10059abd], 0x80
je 0x10044db6
push str.Certificate_validation_failed
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
or ebx, 0x8000
mov eax, 0x2a
mov dword [ebp - 0x270], ebx
mov word [edi + 0x10], ax
mov ebx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x10044dea
push eax
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100483f7
mov esp, ebp
pop ebp
ret
test byte [0x10059abb], 0x80
je 0x10044e44
lfence
movzx eax, byte [edi]
shr eax, 1
and eax, 1
push eax
push str.Handshake_complete__resume_hu_
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
or byte [edi], 1
or ebx, 0x40
mov dword [ebp - 0x270], ebx
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x10045130
cmp dword [eax], 2
jae 0x10045114
test byte [0x10059abd], 0x80
je 0x10045103
push str.TLS_alert_message_received__invalid_
push dword [esi + 0x24]
mov edx, 0x1004c820
call fcn.10001280
add esp, 8
or ebx, 0x8000
mov dword [ebp - 0x270], ebx
jmp 0x10044dcb
mov ecx, dword [ebp - 0x274]
cmp dword [ecx], 0
je 0x10045061
test byte [esi], 5
jne 0x10045061
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
test eax, eax
je 0x10044fdc
mov edx, dword [ebp - 0x280]
lea eax, [edx + 4]
nop dword [eax + eax]
cmp dword [eax], 0x1a
je 0x10044eec
inc ecx
add eax, 0xc
mov dword [ebp - 0x11c], ecx
cmp ecx, dword [ebp - 0x148]
jb 0x10044ed0
jmp 0x10044fdc
test byte [0x10059abb], 0x80
je 0x10044f50
lfence
cmp dword [esi + 0x81c], 0
je 0x10044f0c
lfence
lea eax, [esi + 0x818]
jmp 0x10044f12
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
push eax
lea eax, [ecx + ecx*2]
push dword [edx + eax*4]
lea eax, [ebp - 0x88]
push str.Peer_TP_too_large_for_available_buffer___u_vs.__u_
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
mov edx, dword [ebp - 0x144]
add esp, 0x20
cmp dword [esi + 0x81c], 0
je 0x10044f76
lfence
push dword [esi + 0x81c]
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x11c]
lea ebx, [eax + eax*2]
push dword [edx + ebx*4]
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x81c], eax
test eax, eax
jne 0x10044fc2
test byte [0x10059ab8], 2
je 0x10044fbb
mov eax, dword [ebp - 0x144]
push 0
push dword [eax + ebx*4]
push str.Temporary_Peer_Transport_Params
call fcn.10001500
add esp, 0xc
mov ebx, 0x8000
jmp 0x10044fd6
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + ebx*4]
mov ebx, 1
mov dword [esi + 0x818], eax
mov dword [ebp - 0x270], ebx
cmp dword [esi + 0x81c], 0
jne 0x10044dcb
jmp 0x10045061
mov eax, dword [ebp - 0x274]
mov dword [eax], 0
test edx, edx
je 0x10045040
cmp dword [edx], 0
je 0x10045040
test byte [0x10059abb], 0x80
je 0x10045040
lfence
push dword [edx]
lea eax, [ebp - 0x88]
push str.TLS_message_missing__u_bytes_of_data
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
xor ebx, ebx
jmp 0x10044dd1
mov eax, dword [ebp - 0x278]
sub eax, 0x90316
je 0x1004589f
sub eax, 0x50
je 0x10044e50
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x100450ba
cmp dword [eax], 2
jae 0x10045090
test byte [0x10059abd], 0x80
je 0x100450ba
push str.TLS_alert_message_received__invalid_
push dword [esi + 0x24]
mov edx, 0x1004c820
call fcn.10001280
add esp, 8
jmp 0x100450ba
mov eax, dword [eax + 8]
movzx eax, byte [eax + 1]
mov word [edi + 0x10], ax
test byte [0x10059abd], 0x80
je 0x100450ba
push str.TLS_alert_message_received
push eax
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov ecx, dword [ebp - 0x278]
cmp ecx, 0x90320
jne 0x100450d8
cmp word [edi + 0x10], 0
jne 0x100450d8
mov eax, 0x74
mov word [edi + 0x10], ax
mov eax, dword [ebp - 0x274]
mov dword [eax], 0
test byte [0x10059abd], 0x80
je 0x10045103
push str.Accept_InitializeSecurityContext
push ecx
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
or ebx, 0x8000
mov dword [ebp - 0x270], ebx
jmp 0x10044dcb
mov eax, dword [eax + 8]
movzx eax, byte [eax + 1]
mov word [edi + 0x10], ax
test byte [0x10059abd], 0x80
je 0x10045103
push str.TLS_alert_message_received
push eax
jmp 0x100450f3
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x274]
test eax, eax
je 0x1004514d
cmp dword [eax], 0
jbe 0x1004514d
mov eax, dword [esi + 0x77c]
sub dword [ecx], eax
test byte [0x10059abb], 0x80
je 0x1004518a
push dword [ecx]
lea eax, [ebp - 0x88]
push str.Consumed__u_bytes
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
xor al, al
mov byte [ebp - 0x26b], al
cmp byte [ebp - 0x269], al
jbe 0x10045481
nop
or ebx, 4
movzx eax, al
mov dword [ebp - 0x270], ebx
mov ebx, dword [ebp + eax*4 - 0x110]
cmp dword [ebx + 0x188], 3
jne 0x1004524f
test byte [0x10059ab8], 4
je 0x100451e0
push 0x1004bf7c
push str.C:__w1_s_srcplatform_tls_schannel.c
push 0x971
call fcn.1003e120
add esp, 0xc
int 0x2c
test byte [esi], 1
jne 0x10045209
test byte [0x10059ab8], 4
je 0x10045207
push str.TlsContext__IsServer
push str.C:__w1_s_srcplatform_tls_schannel.c
push 0x972
call fcn.1003e120
add esp, 0xc
int 0x2c
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x1004542c
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
movzx eax, word [ebx + 0x18c]
push eax
lea eax, [ebx + 0x18e]
push eax
mov eax, dword [esi + 0x820]
add eax, 0x22
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 2
jmp 0x1004542c
mov eax, dword [edi + 8]
test eax, eax
jne 0x10045343
lea eax, [ebp - 0xd0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.10045e40
add esp, 4
test al, al
je 0x1004546f
mov edx, dword [esi + 0x14]
lea eax, [edi + 0x44]
push eax
push 1
push ecx
lea eax, [ebp - 0xd0]
mov ecx, 2
push eax
call fcn.10046920
add esp, 0x10
test eax, eax
js 0x1004544d
mov dword [edi + 8], 2
test byte [0x10059abb], 0x80
je 0x100452da
push str.Reading_Handshake_data_starts_now
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 0x18
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x1004542c
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
lea eax, [ebx + 0x18e]
test byte [esi], 1
movzx edx, word [ebx + 0x18c]
mov ecx, dword [esi + 0x820]
push edx
push eax
je 0x10045325
lea eax, [ecx + 0x62]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 4
jmp 0x1004542c
lea eax, [ecx + 0xa2]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 8
jmp 0x1004542c
cmp eax, 2
jne 0x1004542c
lea eax, [ebp - 0xd0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.10045e40
add esp, 4
test al, al
je 0x1004546f
mov edx, dword [esi + 0x14]
lea eax, [edi + 0x48]
push eax
push 1
push ecx
lea eax, [ebp - 0xd0]
mov ecx, 3
push eax
call fcn.10046920
add esp, 0x10
test eax, eax
js 0x1004544d
mov dword [edi + 8], 3
test byte [0x10059abb], 0x80
je 0x100453cc
push str.Reading_1_RTT_data_starts_now
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 0x18
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x1004542c
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
lea eax, [ebx + 0x18e]
test byte [esi], 1
movzx edx, word [ebx + 0x18c]
mov ecx, dword [esi + 0x820]
push edx
push eax
je 0x10045413
lea eax, [ecx + 0xe2]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 0x10
jmp 0x1004542c
lea eax, [ecx + 0x122]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 0x20
mov al, byte [ebp - 0x26b]
mov ebx, dword [ebp - 0x270]
inc al
mov byte [ebp - 0x26b], al
cmp al, byte [ebp - 0x269]
jae 0x10045481
jmp 0x100451a0
test byte [0x10059abd], 0x80
je 0x1004546f
push str.QuicPacketKeyDerive
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov ebx, dword [ebp - 0x270]
or ebx, 0x8000
mov dword [ebp - 0x270], ebx
xor al, al
mov byte [ebp - 0x26b], al
cmp byte [ebp - 0x26a], al
jbe 0x100457c8
nop word [eax + eax]
or ebx, 8
movzx eax, al
mov dword [ebp - 0x270], ebx
mov ebx, dword [ebp + eax*4 - 0x118]
cmp dword [ebx + 0x188], 3
jne 0x1004554f
test byte [0x10059ab8], 4
je 0x100454e0
push 0x1004bf7c
push str.C:__w1_s_srcplatform_tls_schannel.c
push 0x9c4
call fcn.1003e120
add esp, 0xc
int 0x2c
test byte [esi], 1
je 0x10045509
test byte [0x10059ab8], 4
je 0x10045507
push str._TlsContext__IsServer
push str.C:__w1_s_srcplatform_tls_schannel.c
push 0x9c5
call fcn.1003e120
add esp, 0xc
int 0x2c
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x10045777
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
movzx eax, word [ebx + 0x18c]
push eax
lea eax, [ebx + 0x18e]
push eax
mov eax, dword [esi + 0x820]
add eax, 0x22
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 2
jmp 0x10045777
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x10045666
lea eax, [ebp - 0xd0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.10045e40
add esp, 4
test al, al
je 0x100457ba
mov edx, dword [esi + 0x14]
lea eax, [edi + 0x5c]
push eax
push 1
push ecx
lea eax, [ebp - 0xd0]
mov ecx, 2
push eax
call fcn.10046920
add esp, 0x10
test eax, eax
js 0x10045798
movzx eax, word [ebx + 0x184]
add eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
movzx eax, word [ebx + 0x186]
add eax, dword [edi + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0xc], 2
test byte [0x10059abb], 0x80
je 0x100455fd
lfence
push dword [edi + 0x1c]
lea eax, [ebp - 0x88]
push str.Writing_Handshake_data_starts_at__u
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x10045777
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
lea eax, [ebx + 0x18e]
test byte [esi], 1
movzx edx, word [ebx + 0x18c]
mov ecx, dword [esi + 0x820]
push edx
push eax
je 0x1004564b
lea eax, [ecx + 0xa2]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 8
jmp 0x10045777
lea eax, [ecx + 0x62]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 4
jmp 0x10045777
cmp eax, 2
jne 0x10045777
test byte [esi], 1
jne 0x1004568e
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x20]
jne 0x1004568e
movzx eax, word [ebx + 0x186]
add eax, dword [edi + 0x18]
mov dword [edi + 0x20], eax
jmp 0x10045777
lea eax, [ebp - 0xd0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.10045e40
add esp, 4
test al, al
je 0x100457ba
mov edx, dword [esi + 0x14]
lea eax, [edi + 0x60]
push eax
push 1
push ecx
lea eax, [ebp - 0xd0]
mov ecx, 3
push eax
call fcn.10046920
add esp, 0x10
test eax, eax
js 0x10045798
mov dword [edi + 0xc], 3
test byte [0x10059abb], 0x80
je 0x10045717
lfence
push dword [edi + 0x20]
lea eax, [ebp - 0x88]
push str.Writing_1_RTT_data_starts_at__u
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
mov ecx, dword [esi + 0x820]
test ecx, ecx
je 0x10045777
mov al, byte [ebx + 0x18c]
mov byte [ecx], al
lea eax, [ebx + 0x18e]
test byte [esi], 1
movzx edx, word [ebx + 0x18c]
mov ecx, dword [esi + 0x820]
push edx
push eax
je 0x1004575e
lea eax, [ecx + 0x122]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 0x20
jmp 0x10045777
lea eax, [ecx + 0xe2]
push eax
call fcn.10049810
mov eax, dword [esi + 0x820]
add esp, 0xc
or byte [eax + 1], 0x10
mov al, byte [ebp - 0x26b]
mov ebx, dword [ebp - 0x270]
inc al
mov byte [ebp - 0x26b], al
cmp al, byte [ebp - 0x26a]
jae 0x100457ce
jmp 0x100454a0
test byte [0x10059abd], 0x80
je 0x100457ba
push str.QuicPacketKeyDerive
push eax
lfence
push dword [esi + 0x24]
mov edx, 0x1004c700
call fcn.100048b0
add esp, 0xc
mov ebx, dword [ebp - 0x270]
or ebx, 0x8000
jmp 0x100457ce
mov ebx, dword [ebp - 0x270]
cmp dword [ebp - 0x278], 0
jne 0x100457e1
mov dword [esi + 0x820], 0
mov eax, dword [ebp - 0x284]
test eax, eax
je 0x10044dd1
cmp dword [eax], 0
jbe 0x10044dd1
or byte [esi], 2
or ebx, 2
mov ecx, dword [eax]
movzx eax, cx
mov edx, eax
cmp ecx, 0xffff
jbe 0x1004584a
test byte [0x10059ab8], 4
je 0x1004583d
push str.OutputTokenBuffer__cbBuffer___0xFFFF
push str.C:__w1_s_srcplatform_tls_schannel.c
push 0xa2c
call fcn.1003e120
mov ecx, dword [ebp - 0x284]
add esp, 0xc
movzx eax, word [ecx]
int 0x2c
movzx eax, ax
jmp 0x10045850
mov ecx, dword [ebp - 0x284]
int 0x2c
movzx eax, ax
jmp 0x10045850
mov ecx, dword [ebp - 0x284]
add word [edi + 0x12], ax
mov eax, dword [ecx]
add dword [edi + 0x18], eax
test byte [0x10059abb], 0x80
je 0x10044dd1
push dword [ecx]
lea eax, [ebp - 0x88]
push str.Produced__u_bytes
push 0xffffffffffffffff
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004ccf8
push eax
push dword [esi + 0x24]
call fcn.10001280
add esp, 8
jmp 0x10044dd1
test ecx, ecx
jne 0x100458ba
test byte [0x10059abd], 0x80
je 0x10044a61
push str.QUIC_TP_wasnt_present
jmp 0x10044a4e
lfence
mov eax, dword [ecx + 8]
mov edi, dword [esi + 0x10]
add eax, 4
push eax
mov ax, word [ecx]
sub ax, 4
mov edi, dword [edi + 0xc]
mov ecx, edi
movzx eax, ax
push eax
push dword [esi + 0x24]
call dword [0x1004b298]
call edi
add esp, 0xc
test al, al
jne 0x10045900
test byte [0x10059abd], 0x80
je 0x10044a61
push str.Process_QUIC_TP
jmp 0x10044a4e
or byte [esi], 4
mov ebx, 1
cmp dword [esi + 0x81c], 0
je 0x10044dd1
lfence
push dword [esi + 0x81c]
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x81c], 0
mov dword [esi + 0x818], 0
jmp 0x10044dd1