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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x58cea9
sub esp, 0x88
lea eax, [0x6008c0]
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, [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]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x58c429
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
lea ebx, [0x77f9f0]
cmp dword [ebx + 4], ecx
jne 0x58c5d5
mov ebx, dword [0x77f9f0]
xor ebp, ebp
jmp 0x58c5c7
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x604840]
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, [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]
test eax, eax
je 0x58c574
lea eax, [0x60ba20]
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, [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 0x58c522
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, [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 + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x55
lea ecx, [0x628b75]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
inc ebp
cmp ebp, ecx
jge 0x58c5f1
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58c5c6
lea ebx, [0x77fa10]
cmp dword [ebx + 4], ecx
jne 0x58c70b
mov ebx, dword [0x77fa10]
xor ebp, ebp
jmp 0x58c6fd
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 0x58c6c7
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, [0x6270df]
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, [0x5fa0e0]
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 [0x7c5120]
test ecx, ecx
jne 0x58c689
mov ecx, dword [esp + 0x54]
jmp 0x58c694
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, [0x6681c0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov eax, dword [esp + 0xc]
lea ecx, [0x60a9a0]
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 0x58c727
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58c6fc
lea ebx, [0x77fa30]
cmp dword [ebx + 4], ecx
jne 0x58c8be
mov ebx, dword [0x77fa30]
xor ebp, ebp
jmp 0x58c8b0
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, [0x5fb8e0]
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, [0x5fb880]
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 0x58c798
xor eax, eax
jmp 0x58c79c
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 0x58c87a
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, [0x626f4d]
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, [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 0x58c83c
mov ecx, dword [esp + 0x50]
jmp 0x58c847
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, [0x6681c0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
lea ecx, [0x60c840]
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 0x58c8da
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58c8af
lea ebx, [0x77fa20]
cmp dword [ebx + 4], ecx
jne 0x58cb71
mov ebx, dword [0x77fa20]
xor ebp, ebp
jmp 0x58cc0e
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x58cb1f
lea eax, [0x5ee6e0]
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, [0x5eda60]
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 0x58c9c9
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x58c960
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x62298a]
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 0x58ca67
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, [0x5f41a0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x624a07]
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, [0x5f3fe0]
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, [0x606320]
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, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x6249db]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x6681c0]
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, [0x5fb8e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x6283ef]
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 0x58cc21
mov esi, dword [edx + ebp*4]
lea edi, [ebx + ebp*4]
cmp dword [edi], esi
je 0x58cc0d
jmp 0x58cb71
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x58ce57
lea eax, [0x5ee6e0]
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, [0x5eda60]
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 0x58cd10
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x58cca7
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x622275]
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 [0x77f108]
cmp dword [0x75c4ac], ecx
jne 0x58ce02
mov dword [esp + 0x68], edx
test ecx, ecx
ja 0x58cd42
lea ebx, [0x7c4ec0]
xor ebp, ebp
xor esi, esi
jmp 0x58cd8c
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
lea eax, [0x7c4ec0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
lea eax, [0x5f3fe0]
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, [0x607320]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x668c44]
mov dword [eax], ecx
mov ecx, dword [0x7c5120]
test ecx, ecx
jne 0x58cdd6
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
jmp 0x58cde8
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 0x58ce2e
nop
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x6229af]
mov dword [eax], ecx
lea ecx, [0x6681c0]
mov edx, eax
xor eax, eax
lea ebx, [0x609f00]
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, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x624653]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x6681c0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.ParsePKCS8PrivateKey