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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52f96a
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call dbg.crypto/tls.(*sessionState).marshal
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x44], edx
lea ebx, [0x604e20]
mov dword [esp], ebx
lea ebx, [ecx + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp eax, 0x10
jb 0x52f963
cmp eax, 0x20
jb 0x52f95c
lea ebx, [ecx - 0x20]
cmp ebx, ecx
ja 0x52f955
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x68]
mov esi, dword [ebp + 0x24]
mov edi, eax
sub eax, ebx
mov dword [esp + 0x2c], eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 4]
mov esi, dword [esi]
test esi, esi
je 0x52f936
mov dword [esp + 0x38], edi
mov dword [esp + 0x58], edx
mov dword [esp], esi
mov dword [esp + 4], eax
lea eax, [edx + 0x10]
mov dword [esp + 0x54], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x10
lea ecx, [edi - 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], ecx
call dbg.io.ReadFull
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x52f90f
lea eax, [0x61d6e0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 4]
mov dword [esp + 0x60], ecx
mov dword [esp], eax
call dbg.crypto/tls.(*Config).ticketKeys
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
test eax, eax
jbe 0x52f94e
mov edi, dword [esp + 0x60]
call fcn.0044c4e8
mov eax, dword [esp + 0x60]
test byte [eax], al
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
call dbg.runtime.memmove
mov eax, dword [esp + 0x60]
lea ecx, [eax + 0x10]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call dbg.crypto/aes.NewCipher
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x52f7dd
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x654e1b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x36
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
lea edx, [0x60f6c0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x52f7c3
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x757cf0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x52f796
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x10
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call dbg.crypto/cipher.NewCTR
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
cmp edx, 0x20
jb 0x52f947
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x38]
lea ebx, [edx - 0x20]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 0x20
mov esi, dword [esp + 0x58]
add ebx, esi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x60]
add eax, 0x20
test byte [eax], al
lea ecx, [0x65abe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
call dbg.crypto/hmac.New
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov eax, dword [0x788844]
mov esi, dword [0x788840]
jmp 0x52f650
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/tls.(*Conn).encryptTicket