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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov esi, dword [ebp + 0xc]
mov al, byte [ebp + 8]
cmp dword [edx + 0x980], 0
mov dword [esp + 0x14], ecx
je 0x54a419
mov cl, 2
mov byte [esp + 7], 2
jmp 0x54a42d
cmp byte [edx + 0x10cd], 0
je 0x54a88d
mov byte [esp + 7], 1
mov cl, 1
mov dword [esp + 8], ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0x14]
mov dword [esp + 0xc], ecx
add ebx, ecx
movzx ecx, al
mov dword [esp + 0x10], edi
adc edi, 0
imul ecx, ecx, 0x1d0
cmp byte [esp + 8], al
mov dword [esp + 8], edx
mov esi, dword [edx + ecx + 0x358]
mov edx, dword [edx + ecx + 0x35c]
jbe 0x54a5e0
cmp esi, ebx
mov eax, edx
sbb eax, edi
jae 0x54a5e0
mov eax, dword [0x7f50bc]
cmp eax, 2
jb 0x54a59d
mov esi, dword [0x7f2d54]
lea edi, [esp + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi], 2
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00513e14
mov ebx, edx
push edi
mov dword [esp + 0xc], eax
push eax
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x54a59d
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
movsd xmm0, qword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [ecx + 8], eax
mov eax, dword [0x7f2d54]
movsd qword [ecx], xmm0
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [esp + 0xc], edx
lea edx, [esp + 0xb0]
and dword [edx + 0x10], 0
mov dword [edx + 0x14], edi
mov dword [edx], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 4], edi
lea edi, [esp + 0x78]
mov dword [edx + 8], ebx
lea ebx, [eax + 0x1c]
mov dword [edx + 0xc], ecx
mov ecx, edi
call fcn.0052f9c5
lea ecx, [esp + 0x50]
mov edx, edi
push 0x769660
call fcn.0052f9f9
pop eax
lea eax, [ebp + 8]
lea ecx, [esp + 0xc8]
lea edx, [esp + 7]
mov dword [edi], str.received_new__CRYPTO_data_when_expecting
mov dword [ecx], eax
mov eax, fcn.005244ed
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
push 2
pop eax
mov dword [edi + 4], eax
and dword [edi + 0x10], 0
mov edx, dword [esp + 8]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x50]
mov dword [eax], ecx
mov dword [eax + 4], edi
lea edi, [esp + 0x6c]
mov dword [eax + 8], 0x767e50
mov ecx, esi
mov dword [edi], eax
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
push edi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
push 0x27
pop esi
mov ecx, esi
xor edx, edx
call fcn.00561541
mov edi, eax
mov ebx, edx
push esi
push str.new_data_at_unexpected_encryption_levelinternal_error:_entered_unreachable_code:_got_updated_secrets_during_1_RTT
push edx
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 0x14]
and dword [eax + 4], 0
and dword [eax], 0
and dword [eax + 0x14], 0
mov dword [eax + 0x10], 0xa
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], esi
jmp 0x54a908
xor eax, eax
sub ebx, esi
sbb edi, edx
mov edx, dword [esp + 8]
cmovb ebx, eax
cmovb edi, eax
mov edx, dword [edx + 0x108c]
cmp dword [edx + 0xa8], ebx
sbb eax, edi
jae 0x54a62a
mov eax, dword [esp + 0x14]
and dword [eax + 4], 0
and dword [eax], 0
and dword [eax + 0x14], 0
mov dword [eax + 0x10], 0xd
and dword [eax + 0x18], 0
mov dword [eax + 0x1c], 1
and dword [eax + 0x20], 0
jmp 0x54a908
mov eax, dword [esp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea ebx, [esp + 0x78]
add eax, 0x270
lea edi, [eax + ecx + 0xd8]
mov ecx, ebx
call fcn.0045559e
mov edx, dword [esp + 0xc]
mov ecx, edi
push esi
mov esi, dword [esp + 0xc]
push ebx
push dword [esp + 0x18]
call fcn.0054a910
add esp, 0xc
lea eax, [esi + 0xc90]
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc8]
mov edx, edi
push 1
push 0xffffffffffffffff
call fcn.0052ff90
pop eax
pop ecx
cmp dword [esp + 0xc8], 0
je 0x54a89f
movsd xmm0, qword [esp + 0xd8]
movsd xmm2, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xd0]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x54a830
mov ebx, dword [0x7f2d60]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call fcn.00513e14
mov ecx, eax
mov edi, edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x14], ecx
push ecx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x54a828
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov dword [esp + 0x34], edi
lea edi, [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [0x7f2d60]
movsd qword [esp + 0x18], xmm0
lea ecx, [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov esi, dword [eax + 0x24]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x28]
and dword [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 8]
mov ecx, edi
lea edx, [esp + 0xb0]
mov dword [esp + 0xbc], eax
call fcn.0052f9c5
lea ecx, [esp + 0xe0]
mov edx, edi
push 0x769628
call fcn.0052f9f9
pop eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x78], 0x769650
mov dword [esp + 0x7c], 2
and dword [esp + 0x88], 0
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xac], fcn.004564b0
mov dword [esp + 0x80], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x84], ecx
mov ecx, ebx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0x767e50
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov edi, dword [esp + 0x3c]
lea ebx, [esp + 0x78]
mov eax, dword [esi + 0xf34]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esi + 0xf30]
push ebx
call dword [eax + 0x24]
add esp, 0x10
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, eax
xor edx, 2
or edx, ecx
mov dl, byte [esp + 0x80]
jne 0x54a8bb
test dl, dl
je 0x54a87f
mov ecx, dword [esp + 0xc]
and dword [esp + 0x7c], 0
mov edx, ebx
mov dword [esp + 0x78], 7
call fcn.0052bb01
lea ecx, [esp + 0x50]
call fcn.00489f6a
jmp 0x54a671
mov byte [esp + 7], 0
mov dword [esp + 8], 0
jmp 0x54a431
lea ecx, [esp + 0xc8]
call fcn.00480bc5
mov eax, dword [esp + 0x14]
and dword [eax + 4], 0
mov dword [eax], 2
jmp 0x54a908
movsd xmm0, qword [esp + 0x98]
mov esi, dword [esp + 0x14]
movsd xmm1, qword [esp + 0x91]
movsd xmm2, qword [esp + 0x81]
movsd qword [esi + 0x20], xmm0
movsd qword [esi + 0x19], xmm1
movsd xmm1, qword [esp + 0x89]
movsd qword [esi + 9], xmm2
movsd qword [esi + 0x11], xmm1
mov dword [esi + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esi], eax
mov byte [esi + 8], dl
call fcn.00489f6a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret