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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e7b15
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
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 0x5e76a6
jmp 0x5e76af
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5e77e4
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e77db
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e77db
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
inc ebp
mov esi, dword [edx]
cmp ebx, ebp
jae 0x5e77a2
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 + 0x74]
mov dword [ebx + 8], eax
mov eax, dword [0x8c87a0]
test eax, eax
je 0x5e779a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov esi, ecx
mov ebp, edx
mov edx, ebx
mov dword [edx + 4], ebp
lea ebx, [ebp + ebp*2]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov dword [esi + ebx*4 - 8], ebp
mov dword [esi + ebx*4 - 4], edi
mov ebp, dword [0x8c87a0]
test ebp, ebp
je 0x5e77d5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi + ebx*4 - 0xc]
mov dword [edi + 4], ebp
mov dword [esi + ebx*4 - 0xc], eax
jmp 0x5e77ed
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x5e76af
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ebx, dword [esp + 0x40]
cmp ebx, 2
jge 0x5e7827
xor ebp, ebp
xor eax, eax
jmp 0x5e7856
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
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 + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], esi
mov eax, 2
test ebp, ebp
je 0x5e787a
test eax, eax
jbe 0x5e7b0b
cmp eax, 1
jbe 0x5e7aff
movzx eax, word [ebp]
rol ax, 8
mov word [esp + 0x22], ax
test ebp, ebp
je 0x5e79de
lea eax, [esp + 0x3c]
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 0x5e79de
mov edx, dword [esp + 0x74]
cmp dword [edx + 4], 1
jg 0x5e77ed
movzx ebx, word [esp + 0x22]
cmp bx, 5
jne 0x5e7966
mov byte [esp + 0x21], 0
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x5e78d9
xor ebp, ebp
xor eax, eax
jmp 0x5e7904
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
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 + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], esi
mov eax, 1
test ebp, ebp
je 0x5e791a
test eax, eax
jbe 0x5e7af6
movzx ebx, byte [ebp]
mov byte [esp + 0x21], bl
test ebp, ebp
je 0x5e7954
cmp byte [esp + 0x21], 1
je 0x5e792a
mov eax, 1
jmp 0x5e7959
lea eax, [edx + 0x20]
nop
lea ecx, [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 3
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 + 0x74]
jmp 0x5e7959
mov eax, 1
test al, al
jne 0x5e79cc
mov ebx, dword [edx + 0x24]
test ebx, ebx
jne 0x5e79bb
jmp 0x5e79cc
cmp bx, 0x12
jne 0x5e77ed
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e79d5
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5e79eb
jmp 0x5e79d5
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x5e77ed
jmp 0x5e7aed
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov dword [esi + ebx*4 - 0xc], eax
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5e79b7
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e7ae4
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5e7ae4
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x34]
mov ebp, dword [edx + 0x30]
inc ebp
mov esi, dword [edx + 0x2c]
cmp ebx, ebp
jae 0x5e7aa8
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 + 0x74]
mov dword [ebx + 0x34], eax
mov eax, dword [0x8c87a0]
test eax, eax
je 0x5e7a9f
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x2c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x2c], ecx
mov esi, ecx
mov ebp, edx
mov edx, ebx
mov dword [edx + 0x30], ebp
lea ebx, [ebp + ebp*2]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [esi + ebx*4 - 8], ebp
mov dword [esi + ebx*4 - 4], edi
mov ebp, dword [0x8c87a0]
test ebp, ebp
je 0x5e79e7
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi + ebx*4 - 0xc]
mov dword [edi + 4], ebp
jmp 0x5e79e7
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
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.unmarshalCertificate