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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f99a
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call ecx
movzx eax, byte [esp + 0xc]
test al, al
je 0x58f946
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
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.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 + 0x24], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call sym.math_big._Int_.FillBytes
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
call sym.crypto_elliptic.Marshal
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.0046a9f5
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
lea eax, [0x604840]
mov dword [esp], eax
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x604840]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.encoding_asn1.MarshalWithParams
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebp
add esp, 0x64
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x6202fb]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6681c0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.marshalECPrivateKeyWithOID