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

Disassembly:
mov ecx, dword [0x75a1cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5908a8
sub esp, 0x68
lea eax, [0x5cc880]
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, [0x5b2600]
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 0x590583
mov eax, dword [esp + 0x64]
cmp dword [eax], 1
jne 0x590507
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5902fe
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 0x59031f
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 0x5904c6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x5c6920]
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 [0x75a278]
test eax, eax
je 0x5903a4
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 0x590485
lea eax, [0x5d5220]
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 [0x75a278]
test edx, edx
jne 0x59040d
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
jmp 0x59041f
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, [0x5ba880]
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 0x590764
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x5ed8d7]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x5e865d]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
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, [0x5baa40]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x5ebe79]
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, [0x5c95a0]
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, [0x5b2700]
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 0x590720
lea eax, [0x5d4fe0]
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, [0x5b2680]
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 0x5906df
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, [0x5eb9d0]
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, [0x5c13c0]
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 [0x75a278]
test ecx, ecx
jne 0x5906b2
mov ecx, dword [esp + 0x44]
jmp 0x5906bd
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x5efc1d]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x5efbc5]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
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 0x5907ed
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5907ac
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 [0x75a278]
add ebp, esi
test ebx, ebx
je 0x590761
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
jmp 0x590761
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x5e9c03]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x627af4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, edx
sub edx, ebx
cmp ecx, edx
jb 0x5908a0
mov esi, ecx
sub ecx, edx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, eax
cmp ebx, edi
jl 0x59080e
mov ebx, edi
cmp ebp, ecx
je 0x59082e
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 [0x75a278]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x590862
mov eax, dword [esp + 0x48]
jmp 0x59087c
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