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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5903c8
sub esp, 0x68
lea eax, [0x604840]
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, [0x5ea1a0]
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 0x5900a3
mov eax, dword [esp + 0x64]
cmp dword [eax], 1
jne 0x590027
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x58fe1e
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 0x58fe3f
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 0x58ffe6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x5fd440]
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 [0x7c5120]
test eax, eax
je 0x58fec4
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 0x58ffa5
lea eax, [0x60b960]
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 [0x7c5120]
test edx, edx
jne 0x58ff2d
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
jmp 0x58ff3f
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, [0x5f3fe0]
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 0x590284
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x625158]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x61ef35]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
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, [0x5f41a0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x6233d7]
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, [0x6008c0]
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, [0x5ea2a0]
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 0x590240
lea eax, [0x60ba20]
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, [0x5ea220]
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 0x5901ff
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, [0x622e54]
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, [0x5fa0e0]
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 [0x7c5120]
test ecx, ecx
jne 0x5901d2
mov ecx, dword [esp + 0x44]
jmp 0x5901dd
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x628d23]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x628ccb]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
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 0x59030d
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5902cc
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 [0x7c5120]
add ebp, esi
test ebx, ebx
je 0x590281
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
jmp 0x590281
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x620878]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, edx
sub edx, ebx
cmp ecx, edx
jb 0x5903c0
mov esi, ecx
sub ecx, edx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, eax
cmp ebx, edi
jl 0x59032e
mov ebx, edi
cmp ebp, ecx
je 0x59034e
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 [0x7c5120]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x590382
mov eax, dword [esp + 0x48]
jmp 0x59039c
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