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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5e2333
sub esp, 0xb8
mov edi, dword [esp + 0xbc]
test byte [edi], al
mov ecx, dword [0x8c87a0]
test ecx, ecx
je 0x5e171f
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, [0x6a09a0]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.runtime.wbZero
mov edi, dword [esp + 0xbc]
xor eax, eax
call fcn.0046c87e
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 0x5e175f
xor ecx, ecx
jmp 0x5e1781
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 0x5e17ee
mov ebx, dword [esp + 0x64]
cmp ebx, 2
jge 0x5e1794
xor ebp, ebp
xor ecx, ecx
jmp 0x5e17c3
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 0x5e17e6
test ecx, ecx
jbe 0x5e2329
cmp ecx, 1
jbe 0x5e231d
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0xc], bx
test ebp, ebp
setne bl
xor ebx, 1
jmp 0x5e17f3
mov ebx, 1
test bl, bl
je 0x5e1801
mov ecx, 1
jmp 0x5e18a3
mov ebx, dword [esp + 0x64]
cmp ebx, 0x20
jge 0x5e1812
xor ebp, ebp
xor ecx, ecx
xor esi, esi
jmp 0x5e1841
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 0x5e186b
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], esi
mov ebx, dword [0x8c87a0]
test ebx, ebx
jne 0x5e1859
test ebp, ebp
jmp 0x5e1868
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 0x5e1874
mov ecx, 1
jmp 0x5e18a3
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 0x5e18ae
mov ebx, 1
jmp 0x5e1915
mov ebx, dword [esp + 0x64]
cmp ebx, 2
jge 0x5e18bd
xor ebp, ebp
xor ecx, ecx
jmp 0x5e18ec
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 0x5e190f
test ecx, ecx
jbe 0x5e2314
cmp ecx, 1
jbe 0x5e2308
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0x28], bx
test ebp, ebp
setne bl
xor ebx, 1
test bl, bl
jne 0x5e1a1f
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x5e192b
xor ebp, ebp
xor ecx, ecx
jmp 0x5e1956
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 0x5e196b
test ecx, ecx
jbe 0x5e22ff
movzx ecx, byte [ebp]
mov byte [edx + 0x2a], cl
test ebp, ebp
je 0x5e1a1f
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5e1a10
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 0x5e1a01
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x5e1a01
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.0046c899
lea edi, [esp + 0x24]
call fcn.0046c897
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8], ecx
call sym.runtime.rand32
mov ecx, dword [esp]
mov dword [esp + 0xa4], ecx
jmp 0x5e1a2e
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 0x5e2156
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 0x5e1a77
xor ebx, ebx
xor eax, eax
jmp 0x5e1ab5
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 0x5e1ad8
test eax, eax
jbe 0x5e22f6
cmp eax, 1
jbe 0x5e22ea
movzx eax, word [ebx]
rol ax, 8
mov word [esp + 0x22], ax
test ebx, ebx
je 0x5e2147
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 0x5e2147
lea eax, [0x675160]
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 0x5e2138
lea eax, [0x675160]
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 0x5e1d54
cmp ax, 0xb
ja 0x5e1be4
cmp ax, 5
jne 0x5e1b90
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2b], 1
jmp 0x5e208e
cmp ax, 0xb
jne 0x5e1ffd
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 0x5e20a2
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x70]
test ebx, ebx
jne 0x5e208e
jmp 0x5e20a2
cmp ax, 0x10
je 0x5e1c5f
cmp ax, 0x12
je 0x5e1c0a
cmp ax, 0x17
jne 0x5e1ffd
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x3c], 1
jmp 0x5e208e
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 0x5e20b1
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x5e21cc
jmp 0x5e20b1
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 0x5e20cf
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5e20cf
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 0x5e20c0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5e20c0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x5e20c0
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 [0x8c87a0]
test eax, eax
je 0x5e1d4c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x40]
mov dword [edi + 4], ebx
mov dword [edx + 0x40], ecx
jmp 0x5e208e
cmp ax, 0x2b
ja 0x5e1e8f
cmp ax, 0x23
jne 0x5e1d74
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2c], 1
jmp 0x5e208e
cmp ax, 0x29
jne 0x5e1e03
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x68], 1
mov ebx, dword [esp + 0x94]
cmp ebx, 2
jge 0x5e1d9b
xor ebp, ebp
xor eax, eax
jmp 0x5e1dd9
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 0x5e20de
test eax, eax
jbe 0x5e21bf
cmp eax, 1
jbe 0x5e21b3
movzx ebx, word [ebp]
rol bx, 8
mov word [edx + 0x6a], bx
jmp 0x5e208e
cmp ax, 0x2b
jne 0x5e1ffd
mov edx, dword [esp + 0x94]
cmp edx, 2
jge 0x5e1e1f
xor ebx, ebx
xor eax, eax
jmp 0x5e1e5d
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 0x5e20ed
test eax, eax
jbe 0x5e21aa
cmp eax, 1
jbe 0x5e219e
movzx edx, word [ebx]
rol dx, 8
mov ebx, dword [esp + 0xbc]
mov word [ebx + 0x54], dx
mov edx, ebx
jmp 0x5e208e
cmp ax, 0x2c
je 0x5e2049
cmp ax, 0x33
jne 0x5e1ff7
cmp dword [esp + 0x94], 2
jne 0x5e1f35
mov edx, dword [esp + 0x94]
nop
cmp edx, 2
jge 0x5e1ec4
xor ebx, ebx
xor eax, eax
jmp 0x5e1f02
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 0x5e20fc
test eax, eax
jbe 0x5e2195
cmp eax, 1
jbe 0x5e2189
movzx edx, word [ebx]
rol dx, 8
mov ebx, dword [esp + 0xbc]
mov word [ebx + 0x84], dx
jmp 0x5e1ff0
mov edx, dword [esp + 0x94]
cmp edx, 2
jge 0x5e1f47
xor ebx, ebx
xor eax, eax
jmp 0x5e1f85
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 0x5e1fb0
test eax, eax
jbe 0x5e2180
cmp eax, 1
jbe 0x5e2174
movzx eax, word [ebx]
rol ax, 8
mov ecx, dword [esp + 0xbc]
mov word [ecx + 0x58], ax
test ebx, ebx
jmp 0x5e1fb7
mov ecx, dword [esp + 0xbc]
je 0x5e210b
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 0x5e210b
mov ebx, dword [esp + 0xbc]
mov edx, ebx
jmp 0x5e208e
cmp ax, 0xff01
je 0x5e2009
mov edx, dword [esp + 0xbc]
jmp 0x5e1a2e
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 0x5e211a
mov edx, dword [esp + 0xbc]
mov byte [edx + 0x2d], 1
jmp 0x5e208e
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 0x5e2129
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x7c]
test ebx, ebx
je 0x5e2129
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x5e1a2e
jmp 0x5e2165
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 0x5e22de
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 0x5e22cf
mov edx, dword [esp + 0x58]
test edx, edx
je 0x5e22cf
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 0x5e2293
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x66a4c0]
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 [0x8c87a0]
test eax, eax
je 0x5e228a
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 [0x8c87a0]
test ebp, ebp
je 0x5e21c8
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi + ebx*4 - 0xc]
mov dword [edi + 4], ebp
jmp 0x5e21c8
mov byte [esp + 0xcc], 0
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
jmp 0x5e208e
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