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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x52fd95
sub esp, 0xc4
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x24]
movzx ecx, byte [eax + 0x5d]
test cl, cl
je 0x52f9cc
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov ecx, dword [esp + 0xd0]
cmp ecx, 0x40
jl 0x52f9b2
lea edx, [ecx - 0x20]
cmp edx, ecx
ja 0x52fd8e
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call dbg.crypto/tls.(*Config).ticketKeys
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xd4]
mov ebp, ebx
sub ebx, ecx
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov edi, dword [esp + 0xcc]
add ebx, edi
mov dword [esp + 0xb0], ebx
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
jmp 0x52fa7d
mov eax, dword [esp + 0xc0]
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp eax, edx
jge 0x52fd76
mov dword [esp + 0xc0], esi
mov eax, edi
lea edi, [esp + 0x78]
call fcn.0044c4e8
lea edi, [esp + 0x48]
lea esi, [esp + 0x78]
call fcn.0044c4e8
lea ecx, [esp + 0x48]
test byte [ecx], al
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], 0x10
call dbg.bytes.Equal
movzx eax, byte [esp + 0x18]
test al, al
je 0x52fa49
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x52fd5c
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x52fd87
mov dword [esp + 0x30], eax
lea ecx, [eax + eax*2]
shl ecx, 4
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xbc]
lea ebx, [edx + ecx + 0x20]
test byte [ebx], al
lea ebp, [0x65abe0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
call dbg.crypto/hmac.New
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
mov edx, dword [ecx + 0x24]
mov ebx, dword [esp + 0xcc]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xd4]
mov dword [esp + 0xc], esi
mov dword [esp], eax
call edx
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dbg.crypto/subtle.ConstantTimeCompare
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x52fd42
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
lea eax, [ecx + eax + 0x10]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call dbg.crypto/aes.NewCipher
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x52fd28
mov edx, dword [esp + 0x3c]
cmp edx, 0x20
jb 0x52fd80
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xcc]
lea ecx, [eax + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x10
mov ecx, dword [esp + 0xd4]
lea edx, [ecx - 0x10]
mov dword [esp + 0x10], edx
call dbg.crypto/cipher.NewCTR
mov eax, dword [esp + 0xd4]
add eax, 0xffffffe0
mov dword [esp + 0x20], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x20
mov edx, dword [esp + 0xcc]
add eax, edx
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
mov dword [esp + 4], eax
mov ebp, dword [esp + 0xd0]
add ebp, 0xffffffc0
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov dword [esp], ebx
call edx
lea eax, [0x6261c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
setg cl
mov byte [eax + 0x1c], cl
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call dbg.crypto/tls.(*sessionState).unmarshal
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0xdc], al
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov dword [esp + 0xd8], 0
mov byte [esp + 0xdc], 0
add esp, 0xc4
ret
mov eax, 0xffffffff
jmp 0x52fae7
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/tls.(*Conn).decryptTicket