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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5cb5b8
sub esp, 0x68
lea eax, [0x678560]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0x657420]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x5cb293
mov eax, dword [esp + 0x64]
cmp dword [eax], 1
jne 0x5cb217
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5cb00e
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.crypto_x509.namedCurveFromOID
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5cb02f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.crypto_x509.namedCurveFromOID
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5cb1d6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x670600]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call sym.math_big.nat.setBytes
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x899508]
test eax, eax
je 0x5cb0b4
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.math_big._Int_.Cmp
mov eax, dword [esp + 8]
test eax, eax
jge 0x5cb195
lea eax, [0x682aa0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [0x899508]
test edx, edx
jne 0x5cb11d
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
jmp 0x5cb12f
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x54]
mov dword [edi], edx
mov ebx, dword [esp + 0x40]
mov dword [edi + 4], ebx
mov dword [esp + 0x48], eax
mov dword [eax + 4], edx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call sym.math_big.nat.bitLen
mov eax, dword [esp + 0xc]
lea ecx, [0x660420]
mov dword [esp], ecx
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
jmp 0x5cb474
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6a226d]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x69b1d8]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x6605e0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x69fd58]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
lea eax, [0x675520]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0x6574e0]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5cb430
lea eax, [0x682b60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
lea ecx, [0x6574a0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.encoding_asn1.UnmarshalWithParams
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5cb3ef
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x69f6d7]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x669360]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x5cb3c2
mov ecx, dword [esp + 0x44]
jmp 0x5cb3cd
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x6a6e2c]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x6a6dd4]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [ecx + 4], ebp
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp ebx, edx
jle 0x5cb4fd
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5cb4bc
mov esi, dword [ecx + 0xc]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov ebx, dword [0x899508]
add ebp, esi
test ebx, ebx
je 0x5cb471
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
jmp 0x5cb471
lea eax, [0x669360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x69cdbe]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f6df8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, edx
sub edx, ebx
cmp ecx, edx
jb 0x5cb5b0
mov esi, ecx
sub ecx, edx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, eax
cmp ebx, edi
jl 0x5cb51e
mov ebx, edi
cmp ebp, ecx
je 0x5cb53e
mov dword [esp + 0x60], eax
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [0x899508]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5cb572
mov eax, dword [esp + 0x48]
jmp 0x5cb58c
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov ebx, dword [eax + 0xc]
mov dword [edi + 0xc], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov eax, edx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.parseECPrivateKey