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

Disassembly:
mov ecx, dword [0x75a1cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x590109
sub esp, 0x88
lea eax, [0x5c95a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x94]
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]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x58f689
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
lea ebx, [0x716e08]
cmp dword [ebx + 4], ecx
jne 0x58f835
mov ebx, dword [0x716e08]
xor ebp, ebp
jmp 0x58f827
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x5cc880]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x94]
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]
test eax, eax
je 0x58f7d4
lea eax, [0x5d4fe0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
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 0x58f782
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
add esp, 0x88
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 + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x55
lea ecx, [0x5efa6f]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
inc ebp
cmp ebp, ecx
jge 0x58f851
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58f826
lea ebx, [0x716e28]
cmp dword [ebx + 4], ecx
jne 0x58f96b
mov ebx, dword [0x716e28]
xor ebp, ebp
jmp 0x58f95d
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.crypto_x509.ParsePKCS1PrivateKey
mov eax, dword [esp + 0x10]
test eax, eax
je 0x58f927
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5eed16]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x3a
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
lea edx, [0x5c13c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x75a278]
test ecx, ecx
jne 0x58f8e9
mov ecx, dword [esp + 0x54]
jmp 0x58f8f4
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov eax, dword [esp + 0xc]
lea ecx, [0x5d3a20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
inc ebp
cmp ebp, ecx
jge 0x58f987
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58f95c
lea ebx, [0x716e48]
cmp dword [ebx + 4], ecx
jne 0x58fb1e
mov ebx, dword [0x716e48]
xor ebp, ebp
jmp 0x58fb10
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
mov ebx, dword [eax + 0x30]
mov dword [esp + 0x44], ebx
lea ebp, [0x5c3fa0]
mov dword [esp], ebp
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x5c3f40]
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 0x58f9f8
xor eax, eax
jmp 0x58f9fc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call sym.crypto_x509.parseECPrivateKey
mov eax, dword [esp + 0x14]
test eax, eax
je 0x58fada
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5eec6b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x39
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 + 0x50], 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 0x58fa9c
mov ecx, dword [esp + 0x50]
jmp 0x58faa7
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
lea ecx, [0x5d6280]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
inc ebp
cmp ebp, ecx
jge 0x58fb3a
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58fb0f
lea ebx, [0x716e38]
cmp dword [ebx + 4], ecx
jne 0x58fdd1
mov ebx, dword [0x716e38]
xor ebp, ebp
jmp 0x58fe6e
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x58fd7f
lea eax, [0x5b4940]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov dword [eax], 0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea ecx, [0x5b46c0]
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]
mov ecx, dword [esp + 0x2c]
test eax, eax
je 0x58fc29
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x58fbc0
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x5eb522]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x74]
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 + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 4]
cmp ecx, 0x20
je 0x58fcc7
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], ecx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5baa40]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x5ed141]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
lea eax, [esp + 0x74]
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 + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
lea edx, [0x5ba880]
mov dword [esp], edx
mov dword [esp + 4], 0x40
mov dword [esp + 8], 0x40
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 4], 0x40
mov dword [esp + 8], 0x40
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
call sym.crypto_ed25519.newKeyFromSeed
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0x40
mov dword [esp + 8], 0x40
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5ce6e0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x5ed115]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5c3fa0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x5ef863]
mov dword [esp], eax
mov dword [esp + 4], 0x46
lea eax, [esp + 0x74]
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 + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
inc ebp
cmp ebp, ecx
jge 0x58fe81
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58fe6d
jmp 0x58fdd1
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x5900b7
lea eax, [0x5b4940]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov dword [eax], 0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea ecx, [0x5b46c0]
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]
mov ecx, dword [esp + 0x2c]
test eax, eax
je 0x58ff70
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x58ff07
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x5eb048]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x74]
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 + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [0x716708]
cmp dword [0x70b298], ecx
jne 0x590062
mov dword [esp + 0x68], edx
test ecx, ecx
ja 0x58ffa2
lea ebx, [0x75a0a0]
xor ebp, ebp
xor esi, esi
jmp 0x58ffec
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
lea eax, [0x75a0a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
lea eax, [0x5ba880]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
mov ebp, ecx
mov esi, edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
lea eax, [0x5cfce0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x628498]
mov dword [eax], ecx
mov ecx, dword [0x75a278]
test ecx, ecx
jne 0x590036
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
jmp 0x590048
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov edx, dword [esp + 0x70]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov dword [eax + 8], edx
xor ecx, ecx
xor edx, edx
jmp 0x59008e
nop
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x5eb547]
mov dword [eax], ecx
lea ecx, [0x627af4]
mov edx, eax
xor eax, eax
lea ebx, [0x5d2a20]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x88
ret
lea eax, [0x5c13c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x5ecdd9]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x627af4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.ParsePKCS8PrivateKey