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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5f4053
sub esp, 0xb8
mov edi, dword [esp + 0xbc]
test byte [edi], al
mov ecx, dword [0x8e2900]
test ecx, ecx
je 0x5f343f
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0xc0]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
lea edx, [0x6b55a0]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.runtime.wbZero
mov edi, dword [esp + 0xbc]
xor eax, eax
call fcn.00468afe
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov dword [edx], ecx
mov ebx, dword [esp + 0xc4]
mov dword [edx + 4], ebx
mov ebp, dword [esp + 0xc8]
mov dword [edx + 8], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
cmp ebx, 4
jge 0x5f347f
xor ecx, ecx
jmp 0x5f34a1
add ebp, 0xfffffffc
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
add ebp, ecx
add ebx, 0xfffffffc
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebp
test ecx, ecx
je 0x5f350e
mov ebx, dword [esp + 0x64]
cmp ebx, 2
jge 0x5f34b4
xor ebp, ebp
xor ecx, ecx
jmp 0x5f34e3
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], esi
mov ecx, 2
test ebp, ebp
je 0x5f3506
test ecx, ecx
jbe 0x5f4049
cmp ecx, 1
jbe 0x5f403d
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0xc], bx
test ebp, ebp
setne bl
xor ebx, 1
jmp 0x5f3513
mov ebx, 1
test bl, bl
je 0x5f3521
mov ecx, 1
jmp 0x5f35c3
mov ebx, dword [esp + 0x64]
cmp ebx, 0x20
jge 0x5f3532
xor ebp, ebp
xor esi, esi
xor ecx, ecx
jmp 0x5f3561
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
lea edi, [esi - 0x20]
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 0x20
add edi, ebp
add ebx, 0xffffffe0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], edi
mov ecx, 0x20
test ebp, ebp
je 0x5f358b
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], esi
mov ebx, dword [0x8e2900]
test ebx, ebx
jne 0x5f3579
test ebp, ebp
jmp 0x5f3588
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [edx + 0x10]
mov dword [edi + 4], ebx
test ebp, ebp
mov dword [edx + 0x10], ebp
jne 0x5f3594
mov ecx, 1
jmp 0x5f35c3
lea eax, [edx + 0x1c]
nop
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0xbc]
mov ecx, eax
xor eax, eax
test cl, cl
je 0x5f35ce
mov ebx, 1
jmp 0x5f3635
mov ebx, dword [esp + 0x64]
cmp ebx, 2
jge 0x5f35dd
xor ebp, ebp
xor ecx, ecx
jmp 0x5f360c
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], esi
mov ecx, 2
test ebp, ebp
je 0x5f362f
test ecx, ecx
jbe 0x5f4034
cmp ecx, 1
jbe 0x5f4028
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0x28], bx
test ebp, ebp
setne bl
xor ebx, 1
test bl, bl
jne 0x5f373f
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x5f364b
xor ebp, ebp
xor ecx, ecx
jmp 0x5f3676
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ebp
dec ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], esi
mov ecx, 1
test ebp, ebp
je 0x5f368b
test ecx, ecx
jbe 0x5f401f
movzx ecx, byte [ebp]
mov byte [edx + 0x2a], cl
test ebp, ebp
je 0x5f373f
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5f3730
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3721
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x5f3721
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.00468b19
lea edi, [esp + 0x24]
call fcn.00468b17
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8], ecx
call sym.runtime.fastrand
mov ecx, dword [esp]
mov dword [esp + 0xa4], ecx
jmp 0x5f374e
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 1
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov edx, dword [esp + 0x88]
test edx, edx
je 0x5f3e76
mov word [esp + 0x22], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov edx, dword [esp + 0x88]
cmp edx, 2
jge 0x5f3797
xor ebx, ebx
xor eax, eax
jmp 0x5f37d5
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x8c]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x84], ebp
mov eax, 2
test ebx, ebx
je 0x5f37f8
test eax, eax
jbe 0x5f4016
cmp eax, 1
jbe 0x5f400a
movzx eax, word [ebx]
rol ax, 8
mov word [esp + 0x22], ax
test ebx, ebx
je 0x5f3e67
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3e67
lea eax, [0x689580]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x22]
mov dword [esp + 8], edx
call sym.runtime.mapaccess1
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
jne 0x5f3e58
lea eax, [0x689580]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x22]
mov dword [esp + 8], edx
call sym.runtime.mapassign
mov eax, dword [esp + 0xc]
mov byte [eax], 1
movzx eax, word [esp + 0x22]
cmp ax, 0x17
ja 0x5f3a74
cmp ax, 0xb
ja 0x5f3904
cmp ax, 5
jne 0x5f38b0
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2b], 1
jmp 0x5f3dae
cmp ax, 0xb
jne 0x5f3d1d
mov eax, dword [esp + 0xbc]
lea ecx, [eax + 0x6c]
nop
lea edx, [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3dc2
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x70]
test ebx, ebx
jne 0x5f3dae
jmp 0x5f3dc2
cmp ax, 0x10
je 0x5f397f
cmp ax, 0x12
je 0x5f392a
cmp ax, 0x17
jne 0x5f3d1d
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x3c], 1
jmp 0x5f3dae
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3dd1
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x5f3eec
jmp 0x5f3dd1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3def
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5f3def
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 1
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3de0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5f3de0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x5f3de0
mov ecx, dword [esp + 0x78]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xbc]
mov dword [edx + 0x44], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5f3a6c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x40]
mov dword [edi + 4], ebx
mov dword [edx + 0x40], ecx
jmp 0x5f3dae
cmp ax, 0x2b
ja 0x5f3baf
cmp ax, 0x23
jne 0x5f3a94
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2c], 1
jmp 0x5f3dae
cmp ax, 0x29
jne 0x5f3b23
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x68], 1
mov ebx, dword [esp + 0x94]
cmp ebx, 2
jge 0x5f3abb
xor ebp, ebp
xor eax, eax
jmp 0x5f3af9
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x98]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], esi
mov eax, 2
test ebp, ebp
je 0x5f3dfe
test eax, eax
jbe 0x5f3edf
cmp eax, 1
jbe 0x5f3ed3
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0x6a], bx
jmp 0x5f3dae
cmp ax, 0x2b
jne 0x5f3d1d
mov edx, dword [esp + 0x94]
cmp edx, 2
jge 0x5f3b3f
xor ebx, ebx
xor eax, eax
jmp 0x5f3b7d
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x90], ebp
mov eax, 2
test ebx, ebx
je 0x5f3e0d
test eax, eax
jbe 0x5f3eca
cmp eax, 1
jbe 0x5f3ebe
movzx edx, word [ebx]
rol dx, 8
mov ebx, dword [esp + 0xbc]
mov word [ebx + 0x54], dx
mov edx, ebx
jmp 0x5f3dae
cmp ax, 0x2c
je 0x5f3d69
cmp ax, 0x33
jne 0x5f3d17
cmp dword [esp + 0x94], 2
jne 0x5f3c55
mov edx, dword [esp + 0x94]
nop
cmp edx, 2
jge 0x5f3be4
xor ebx, ebx
xor eax, eax
jmp 0x5f3c22
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x90], ebp
mov eax, 2
test ebx, ebx
je 0x5f3e1c
test eax, eax
jbe 0x5f3eb5
cmp eax, 1
jbe 0x5f3ea9
movzx edx, word [ebx]
rol dx, 8
mov ebx, dword [esp + 0xbc]
mov word [ebx + 0x84], dx
jmp 0x5f3d10
mov edx, dword [esp + 0x94]
cmp edx, 2
jge 0x5f3c67
xor ebx, ebx
xor eax, eax
jmp 0x5f3ca5
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x90], ebp
mov eax, 2
test ebx, ebx
je 0x5f3cd0
test eax, eax
jbe 0x5f3ea0
cmp eax, 1
jbe 0x5f3e94
movzx eax, word [ebx]
rol ax, 8
mov ecx, dword [esp + 0xbc]
mov word [ecx + 0x58], ax
test ebx, ebx
jmp 0x5f3cd7
mov ecx, dword [esp + 0xbc]
je 0x5f3e2b
lea eax, [ecx + 0x5c]
nop
lea edx, [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3e2b
mov ebx, dword [esp + 0xbc]
mov edx, ebx
jmp 0x5f3dae
cmp ax, 0xff01
je 0x5f3d29
mov edx, dword [esp + 0xbc]
jmp 0x5f374e
mov eax, dword [esp + 0xbc]
lea ecx, [eax + 0x30]
nop
lea edx, [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3e3a
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2d], 1
jmp 0x5f3dae
mov eax, dword [esp + 0xbc]
lea ecx, [eax + 0x78]
nop
lea edx, [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3e49
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
je 0x5f3e49
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x5f374e
jmp 0x5f3e85
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov byte [esp + 0xcc], 1
add esp, 0xb8
ret
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov dword [esi + ebx*4 - 0xc], eax
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5f3ffe
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f3fef
mov edx, dword [esp + 0x58]
test edx, edx
je 0x5f3fef
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x50]
mov ebp, dword [edx + 0x4c]
inc ebp
mov esi, dword [edx + 0x48]
cmp ebx, ebp
jae 0x5f3fb3
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x67ea40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xbc]
mov dword [ebx + 0x50], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5f3faa
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x48]
mov dword [edi + 4], ebp
mov dword [ebx + 0x48], ecx
mov esi, ecx
mov ebp, edx
mov edx, ebx
mov dword [edx + 0x4c], ebp
lea ebx, [ebp + ebp*2]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov dword [esi + ebx*4 - 8], ebp
mov dword [esi + ebx*4 - 4], edi
mov ebp, dword [0x8e2900]
test ebp, ebp
je 0x5f3ee8
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi + ebx*4 - 0xc]
mov dword [edi + 4], ebp
jmp 0x5f3ee8
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
jmp 0x5f3dae
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._serverHelloMsg_.unmarshal