Function at 0x589850
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638069
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x248], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
mov esi, dword [ebp + 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x24]
push str.clientHello_buildMessage
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x258], esi
movq qword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1d0], 0
call fcn.004b2490
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
movq qword [ebp - 0x198], xmm0
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x190], 0
call fcn.0049ead0
movzx eax, byte [edi + 0x2c]
lea ecx, [ebp - 0x1a8]
push eax
mov byte [ebp - 4], 1
call fcn.0049f460
movzx eax, byte [edi + 0x30]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0049f460
lea eax, [edi + 0x34]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f1b0
cmp byte [esi + 0x12a], 0
je 0x5899a3
push dword [edi + 0x2c]
mov ecx, esi
push str.majorVersion
call fcn.004b2d90
push dword [edi + 0x30]
mov ecx, esi
push str.minorVersion
call fcn.004b2d90
lea eax, [edi + 0x34]
mov ecx, esi
push eax
push str.clientRandom
call fcn.004b2c20
lea ecx, [edi + 0x34]
call fcn.0046e290
push eax
push str.szClientRandom
mov ecx, esi
call fcn.004b2d90
lea ecx, [edi + 0x50]
call fcn.0046e290
push eax
push str.sessionIdSize
mov ecx, esi
call fcn.004b2d90
cmp byte [esi + 0x12b], 0
je 0x5899bb
push dword [ebp + 0xc]
mov ecx, esi
push str.bIsAfterHelloRetryRequest
call fcn.004b2b10
cmp dword [edi + 0x2c], 3
jne 0x5899fc
mov eax, dword [edi + 0x30]
cmp eax, 3
je 0x5899ce
cmp eax, 4
jne 0x5899fc
push str.MiddleBoxCompatibilityMode
lea ecx, [esi + 0x90]
call fcn.004970f0
test al, al
je 0x5899fc
lea ecx, [edi + 0x50]
call fcn.0046e290
test eax, eax
jne 0x5899fc
lea eax, [edi + 0x50]
push eax
push 0x20
call fcn.004eccf0
add esp, 8
lea ecx, [edi + 0x50]
call fcn.0046e290
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
lea ecx, [edi + 0x50]
call fcn.0046e290
test eax, eax
je 0x589a2b
lea eax, [edi + 0x50]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f1b0
mov dword [ebp - 0x234], 0
call fcn.004b1ea0
cmp byte [ebp + 0x20], 0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], edx
je 0x589b70
mov edx, dword [ebp - 0x250]
mov edx, dword [edx + 0x24]
mov dword [ebp - 0x230], edx
test edx, edx
je 0x589b70
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x589b70
mov esi, dword [ebp - 0x24c]
cmp esi, dword [ecx + 0x34]
mov esi, dword [ebp - 0x258]
jg 0x589a8e
jl 0x589a8a
cmp eax, dword [ecx + 0x30]
jae 0x589a8e
xor eax, eax
jmp 0x589adf
sub eax, dword [ecx + 0x30]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x24c]
sbb eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x38]
js 0x589ab3
jg 0x589a8a
cmp dword [ebp - 0x234], ecx
jbe 0x589ab3
xor eax, eax
jmp 0x589adf
push dword [edx + 0x74]
call fcn.004c4710
mov ecx, dword [ebp - 0x230]
add esp, 4
mov edi, eax
mov ecx, dword [ecx + 0xc]
add ecx, 0x144
call fcn.0046e290
add edi, 0xf
add eax, edi
mov edi, dword [ebp - 0x248]
cmp byte [esi + 0x12a], 0
mov dword [ebp - 0x234], eax
je 0x589afb
push eax
push str.szPreSharedKeyExtension
mov ecx, esi
call fcn.004b3290
cmp dword [ebp - 0x234], 0
jbe 0x589b70
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x24]
movzx ecx, word [eax + 0x70]
test cx, cx
je 0x589b70
mov eax, ecx
mov byte [ebp - 0x153], cl
shr eax, 8
lea ecx, [ebp - 0x1a8]
push 0
mov byte [ebp - 0x154], al
call fcn.0049f460
push 2
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
push 2
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f210
cmp byte [esi + 0x12a], 0
je 0x589bf9
mov eax, dword [esi]
mov ecx, esi
push str.Using_same_cipher_suite_ID_for_TLS_1.3_session_resumption.
call dword [eax + 0x18]
jmp 0x589bd0
lea eax, [edi + 0x6c]
mov ecx, eax
mov dword [ebp - 0x230], eax
call fcn.0046e290
mov edi, eax
mov ecx, edi
shr ecx, 8
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
push edi
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
mov edi, dword [ebp - 0x230]
lea ecx, [ebp - 0x1a8]
push edi
call fcn.0049f1b0
cmp byte [esi + 0x12a], 0
je 0x589bf9
mov ecx, edi
call fcn.0046e290
shr eax, 1
mov ecx, esi
push eax
push str.numCipherSuites
call fcn.004b2d90
cmp byte [esi + 0x12a], 0
je 0x589bf9
mov edi, dword [ebp - 0x248]
lea ecx, [edi + 0x88]
call fcn.0046e290
push eax
push str.numCompressionMethods
mov ecx, esi
call fcn.004b2d90
jmp 0x589bff
mov edi, dword [ebp - 0x248]
add edi, 0x88
mov ecx, edi
call fcn.0046e290
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
push edi
lea ecx, [ebp - 0x1a8]
call fcn.0049f1b0
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x170]
movq qword [ebp - 0x160], xmm0
movups xmmword [ebp - 0x170], xmm0
call fcn.0049ead0
push str.NO_TLS_EXT_RND
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 2
call fcn.004970c0
mov dl, al
xor eax, eax
mov byte [ebp - 0x151], dl
mov dword [ebp - 0x230], eax
cmp byte [ebp + 0xc], al
jne 0x589ce7
test dl, dl
jne 0x589c8f
mov eax, 1
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x230], eax
jmp 0x589ce7
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 5
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 5
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 1
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 4
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f4e0
mov dl, byte [ebp - 0x151]
xor eax, eax
mov dh, byte [ebp + 0x1c]
mov edi, dword [ebp - 0x248]
test dh, dh
je 0x589d1e
test dl, dl
jne 0x589d0c
mov dword [ebp + eax*4 - 0x2ec], 2
inc eax
mov dword [ebp - 0x230], eax
jmp 0x589d1e
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
call fcn.005896e0
mov dh, byte [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x151]
test cl, cl
jne 0x589d65
test dh, dh
je 0x589d65
test dl, dl
jne 0x589d4d
mov eax, dword [ebp - 0x230]
mov dword [ebp + eax*4 - 0x2ec], 3
inc eax
mov dword [ebp - 0x230], eax
jmp 0x589d6b
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
call fcn.00589290
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x151]
mov eax, dword [ebp - 0x230]
cmp dword [edi + 0x2c], 3
jne 0x589da5
cmp dword [edi + 0x30], 3
je 0x589d7d
cmp dword [edi + 0x30], 4
jne 0x589da5
test dl, dl
jne 0x589d95
mov dword [ebp + eax*4 - 0x2ec], 4
inc eax
mov dword [ebp - 0x230], eax
jmp 0x589da5
push esi
lea eax, [ebp - 0x170]
push eax
push ecx
mov ecx, edi
call fcn.00589590
cmp byte [ebp + 0xc], 0
mov cl, byte [ebp - 0x151]
jne 0x589e09
test cl, cl
jne 0x589dcf
mov eax, dword [ebp - 0x230]
mov dword [ebp + eax*4 - 0x2ec], 5
inc eax
mov dword [ebp - 0x230], eax
jmp 0x589e0f
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x17
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
mov cl, byte [ebp - 0x151]
mov eax, dword [ebp - 0x230]
cmp byte [ebp + 0x20], 0
je 0x58a000
push str.SendZeroLenTicket
lea ecx, [esi + 0x90]
call fcn.004970c0
test al, al
je 0x589eac
cmp dword [edi + 0x2c], 3
jne 0x589eac
mov eax, dword [edi + 0x30]
cmp eax, 3
je 0x589e40
cmp eax, 4
jne 0x589eac
cmp byte [ebp - 0x151], 0
jne 0x589e63
mov eax, dword [ebp - 0x230]
mov dword [ebp + eax*4 - 0x2ec], 6
inc eax
mov dword [ebp - 0x230], eax
jmp 0x589eac
cmp byte [esi + 0x12a], 0
je 0x589e78
mov eax, dword [esi]
mov ecx, esi
push str.Adding_zero_length_session_ticket...
call dword [eax + 0x18]
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x23
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push str.SendPostHandshakeAuth
lea ecx, [esi + 0x90]
call fcn.004970c0
test al, al
je 0x589fd2
cmp dword [edi + 0x2c], 3
jne 0x589fd2
mov eax, dword [edi + 0x30]
cmp eax, 3
je 0x589edf
cmp eax, 4
jne 0x589fd2
cmp byte [ebp - 0x151], 0
jne 0x589eff
mov eax, dword [ebp - 0x230]
mov dword [ebp + eax*4 - 0x2ec], 0xe
inc eax
jmp 0x589fe5
cmp byte [esi + 0x12a], 0
je 0x589f14
mov eax, dword [esi]
mov ecx, esi
push str.Adding_post_handshake_auth_extension...
call dword [eax + 0x18]
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x31
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp + 0xc]
call fcn.005892e0
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.005897b0
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x25c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00589410
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x238]
call fcn.005894c0
mov eax, dword [ebp - 0x230]
cmp byte [ebp + 0x20], 0
je 0x58a6bf
cmp byte [ebp - 0x151], 0
jne 0x58a029
mov dword [ebp + eax*4 - 0x2ec], 0xb
inc eax
jmp 0x58a6cc
cmp byte [ebp - 0x151], 0
jne 0x589f48
mov eax, dword [ebp - 0x230]
mov dword [ebp + eax*4 - 0x2ec], 7
mov dword [ebp + eax*4 - 0x2e8], 8
add eax, 2
jmp 0x58a00e
mov dword [ebp - 0x230], eax
test cl, cl
jne 0x589f78
mov dword [ebp + eax*4 - 0x2ec], 9
mov dword [ebp + eax*4 - 0x2e8], 0xa
add eax, 2
jmp 0x589fae
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
call fcn.005893c0
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x1c
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 2
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x40
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 1
lea ecx, [ebp - 0x170]
call fcn.0049f460
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x23c]
call fcn.005891c0
lea ecx, [ebp - 0x170]
call fcn.0046e290
lea ecx, [ebp - 0x1a8]
mov edi, eax
call fcn.0046e290
add edi, dword [ebp - 0x234]
add eax, 2
add eax, edi
mov dword [ebp - 0x244], eax
cmp eax, 0x1f8
jae 0x58a16f
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x18c]
movq qword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x18c], xmm0
call fcn.0049ead0
push 0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 3
call fcn.0049f460
push 0x15
lea ecx, [ebp - 0x18c]
call fcn.0049f460
mov edi, 0x1f8
lea ecx, [ebp - 0x18c]
sub edi, dword [ebp - 0x244]
mov eax, edi
shr eax, 8
push eax
call fcn.0049f460
push edi
lea ecx, [ebp - 0x18c]
call fcn.0049f460
test edi, edi
je 0x58a14e
push edi
push 0
lea ecx, [ebp - 0x18c]
call fcn.0049f4e0
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x170]
call fcn.0049f1b0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.0049ecf0
xorps xmm0, xmm0
mov dword [ebp - 0x1f8], 0
lea ecx, [ebp - 0x210]
movq qword [ebp - 0x200], xmm0
movups xmmword [ebp - 0x210], xmm0
call fcn.0049ead0
cmp dword [ebp - 0x234], 0
mov byte [ebp - 4], 4
jbe 0x58a266
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x18c]
movq qword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x18c], xmm0
call fcn.0049ead0
push esi
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x23c]
mov eax, dword [ebp - 0x250]
push dword [ebp - 0x24c]
push dword [ebp - 0x254]
mov ecx, dword [eax + 0x24]
call fcn.0058ab70
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x29
lea ecx, [ebp - 0x170]
call fcn.0049f460
lea ecx, [ebp - 0x18c]
call fcn.0046e290
mov edi, eax
mov ecx, edi
shr ecx, 8
push ecx
lea ecx, [ebp - 0x170]
call fcn.0049f460
push edi
lea ecx, [ebp - 0x170]
call fcn.0049f460
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x170]
call fcn.0049f1b0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 4
call fcn.0049ecf0
lea ecx, [ebp - 0x170]
call fcn.0046e290
mov edi, eax
mov ecx, edi
shr ecx, 8
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
push edi
lea ecx, [ebp - 0x1a8]
call fcn.0049f460
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0049f1b0
mov ecx, dword [ebp - 0x240]
push 1
call fcn.0049f460
lea ecx, [ebp - 0x1a8]
call fcn.0046e290
mov ecx, dword [ebp - 0x240]
mov edi, eax
push 0
call fcn.0049f460
mov ecx, edi
shr ecx, 8
push ecx
mov ecx, dword [ebp - 0x240]
call fcn.0049f460
push edi
mov edi, dword [ebp - 0x240]
mov ecx, edi
call fcn.0049f460
lea eax, [ebp - 0x1a8]
mov ecx, edi
push eax
call fcn.0049f1b0
cmp dword [ebp - 0x234], 0
jbe 0x58ab1a
push str.computePskBinder
xorps xmm0, xmm0
mov dword [ebp - 0x1c4], 0
push esi
lea ecx, [ebp - 0x1cc]
movq qword [ebp - 0x1cc], xmm0
call fcn.004b2490
xorps xmm0, xmm0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18c]
movq qword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x174], 0
call fcn.0049ead0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 7
call fcn.004a0bb0
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x18c]
add eax, 0x324
push eax
call fcn.0049f1b0
mov eax, dword [ebp - 0x250]
cmp dword [eax + 0x24], 0
je 0x58aaf8
mov ecx, edi
call fcn.0046e290
cmp eax, 3
jbe 0x58aaf8
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x24]
mov edi, dword [eax + 0x74]
push edi
mov dword [ebp - 0x238], edi
call fcn.004c4710
mov ecx, dword [ebp - 0x240]
add esp, 4
mov dword [ebp - 0x24c], eax
call fcn.0046e290
mov ecx, 0xfffffffd
sub ecx, dword [ebp - 0x24c]
add eax, ecx
mov ecx, dword [ebp - 0x240]
push eax
call fcn.004a2ca0
push eax
lea ecx, [ebp - 0x18c]
call fcn.0049f210
lea ecx, [ebp - 0x210]
call fcn.0046e290
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x254], eax
call fcn.004a2ca0
push edi
mov dword [ebp - 0x244], eax
call fcn.004c4710
push 0x40
mov edi, eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00477810
push esi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x90]
push edi
push eax
push dword [ebp - 0x254]
push dword [ebp - 0x244]
call fcn.004da380
push 0x30
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x23c]
add eax, 0x87
push eax
call fcn.004777e0
mov edi, dword [ebp - 0x238]
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x23c]
add esp, 0x38
push esi
push edi
push 0
push 0
push 0xa
push str.res_binder
push eax
push dword [ebp - 0x24c]
lea eax, [ebp - 0xd0]
push eax
call fcn.005a2910
push edi
call fcn.004c4710
add esp, 4
mov dword [ebp - 0x254], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
lea ecx, [ebp - 0x1c0]
movq qword [ebp - 0x1c0], xmm0
push str.computePskBinder
push esi
call fcn.004b2490
xorps xmm0, xmm0
mov byte [ebp - 4], 8
movq qword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1ac], 0
push str.DeriveKey
push esi
lea ecx, [ebp - 0x1b4]
call fcn.004b2490
push edi
mov byte [ebp - 4], 9
call fcn.004c4710
add esp, 4
mov dword [ebp - 0x214], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x22c]
mov edi, eax
movq qword [ebp - 0x21c], xmm0
movups xmmword [ebp - 0x22c], xmm0
call fcn.0049ead0
push esi
push dword [ebp - 0x238]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
call fcn.0046e290
push eax
lea ecx, [ebp - 0x22c]
call fcn.004a2ca0
push eax
push 8
push str.finished
push 6
push str.tls13
push edi
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.005a3e30
add esp, 0x30
lea ecx, [ebp - 0x22c]
call fcn.0049ecf0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 8
call fcn.004b2630
xorps xmm0, xmm0
mov dword [ebp - 0x1dc], 0
lea ecx, [ebp - 0x1f4]
movq qword [ebp - 0x1e4], xmm0
movups xmmword [ebp - 0x1f4], xmm0
call fcn.0049ead0
mov edi, dword [ebp - 0x238]
lea eax, [ebp - 0x1f4]
push eax
push edi
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xb
call fcn.0046e290
push eax
lea ecx, [ebp - 0x18c]
call fcn.004a2ca0
push eax
call fcn.004c36f0
add esp, 0x10
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x1f4]
push esi
push eax
push edi
push dword [ebp - 0x254]
lea eax, [ebp - 0x110]
push eax
call fcn.0046e290
push eax
lea ecx, [ebp - 0x1f4]
call fcn.004a2ca0
push eax
call fcn.004da380
add esp, 0x1c
lea ecx, [ebp - 0x1f4]
call fcn.0049ecf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c0]
call fcn.004b2630
mov ecx, dword [ebp - 0x240]
call fcn.0046e290
mov edi, dword [ebp - 0x24c]
sub eax, edi
mov ecx, dword [ebp - 0x240]
push eax
call fcn.004a2cb0
test eax, eax
je 0x58ab04
cmp byte [eax], 0x96
jne 0x58aaf1
cmp byte [eax + 1], 0x55
jne 0x58aaf1
cmp byte [eax + 2], 9
jne 0x58aaf1
cmp byte [eax + 3], 0xad
jne 0x58aaf1
cmp byte [eax + 4], 0xc8
jne 0x58aaf1
cmp byte [eax + 5], 0xf2
jne 0x58aaf1
cmp byte [eax + 6], 0xd9
jne 0x58aaf1
cmp byte [eax + 7], 0xc7
jne 0x58aaf1
push edi
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.004777e0
add esp, 0xc
jmp 0x58ab04
cmp byte [ebp - 0x151], 0
jne 0x58a038
mov dword [ebp + eax*4 - 0x2ec], 0xc
inc eax
mov dword [ebp - 0x244], eax
mov esi, eax
mov dword [ebp - 0x154], 0x14
mov dword [ebp + eax*4 - 0x2ec], 0xd
inc eax
mov dword [ebp - 0x230], eax
nop dword [eax]
cmp dword [0x7dc6ec], 0
jne 0x58a713
call sub.KERNEL32.dll_GetTickCount
mov dword [0x7dc6ec], eax
call fcn.004b1f30
mov edi, eax
imul edi, dword [0x7dc6ec]
call fcn.004b1f40
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, edx
mov dword [0x7dc6ec], eax
test eax, eax
jne 0x58a743
call sub.KERNEL32.dll_GetTickCount
mov dword [0x7dc6ec], eax
push esi
push 0
push eax
call fcn.004b22b0
add esp, 0xc
mov dword [ebp - 0x244], eax
cmp dword [0x7dc6ec], 0
jne 0x58a768
call sub.KERNEL32.dll_GetTickCount
mov dword [0x7dc6ec], eax
call fcn.004b1f30
mov edi, eax
imul edi, dword [0x7dc6ec]
call fcn.004b1f40
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, edx
mov dword [0x7dc6ec], eax
test eax, eax
jne 0x58a798
call sub.KERNEL32.dll_GetTickCount
mov dword [0x7dc6ec], eax
push esi
push 0
push eax
call fcn.004b22b0
mov edi, dword [ebp - 0x244]
mov edx, eax
add esp, 0xc
cmp edi, edx
je 0x58a7e2
test edx, edx
js 0x58a7e2
test edi, edi
js 0x58a7e2
mov eax, dword [ebp - 0x230]
cmp edi, eax
jge 0x58a7e2
cmp edx, eax
jge 0x58a7e2
mov ecx, dword [ebp + edi*4 - 0x2ec]
mov eax, dword [ebp + edx*4 - 0x2ec]
mov dword [ebp + edi*4 - 0x2ec], eax
mov dword [ebp + edx*4 - 0x2ec], ecx
sub dword [ebp - 0x154], 1
jne 0x58a700
mov esi, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x230], eax
jle 0x58a09b
mov edi, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x230]
nop word [eax + eax]
mov eax, dword [ebp + eax*4 - 0x2ec]
cmp eax, 1
jne 0x58a881
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 5
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 5
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 1
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 4
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f4e0
jmp 0x58aad1
cmp eax, 2
jne 0x58a89a
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
call fcn.005896e0
jmp 0x58aad1
cmp eax, 3
jne 0x58a8f2
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0xb
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 2
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 1
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
jmp 0x58aad1
cmp eax, 4
jne 0x58a90e
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.00589590
jmp 0x58aad1
cmp eax, 5
jne 0x58a931
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x17
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
jmp 0x58a8d5
cmp eax, 6
jne 0x58a96c
cmp byte [esi + 0x12a], 0
je 0x58a94b
mov eax, dword [esi]
mov ecx, esi
push str.Adding_zero_length_session_ticket...
call dword [eax + 0x18]
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x23
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
jmp 0x58a8d5
cmp eax, 0xe
jne 0x58a9a7
cmp byte [esi + 0x12a], 0
je 0x58a986
mov eax, dword [esi]
mov ecx, esi
push str.Adding_post_handshake_auth_extension...
call dword [eax + 0x18]
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x31
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
jmp 0x58a8d5
cmp eax, 7
jne 0x58a9cf
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp + 0xc]
call fcn.005892e0
jmp 0x58aad1
cmp eax, 8
jne 0x58a9eb
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.005897b0
jmp 0x58aad1
cmp eax, 9
jne 0x58aa10
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x25c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00589410
jmp 0x58aad1
cmp eax, 0xa
jne 0x58aa2f
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x238]
call fcn.005894c0
jmp 0x58aad1
cmp eax, 0xb
jne 0x58aa62
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x2d
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 3
jmp 0x58a8bb
cmp eax, 0xc
jne 0x58aab7
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x1c
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 2
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 0x40
lea ecx, [ebp - 0x170]
call fcn.0049f460
push 1
lea ecx, [ebp - 0x170]
call fcn.0049f460
jmp 0x58aad1
cmp eax, 0xd
jne 0x58aad7
push esi
lea eax, [ebp - 0x170]
mov ecx, edi
push eax
push dword [ebp - 0x23c]
call fcn.005891c0
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
cmp eax, ecx
jl 0x58a820
jmp 0x58a09b
push str.This_is_not_the_psk_binder_memory_area..
jmp 0x58aafd
push str.We_have_a_pre_shared_key_extension__but_no_session_info...
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x18c]
call fcn.0049ecf0
lea ecx, [ebp - 0x1cc]
call fcn.004b2630
lea ecx, [ebp - 0x210]
call fcn.0049ecf0
lea ecx, [ebp - 0x170]
call fcn.0049ecf0
lea ecx, [ebp - 0x1a8]
call fcn.0049ecf0
lea ecx, [ebp - 0x1d8]
call fcn.004b2630
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x28