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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53683d
sub esp, 0x68
lea eax, [0x617200]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
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, [0x5e49e0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.encoding/asn1.Unmarshal
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x536794
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x536712
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5366ec
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call dbg.crypto/x509.namedCurveFromOID
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x536685
lea edx, [0x60ba20]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], eax
call dbg.math/big.(*Int).SetBytes
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.math/big.(*Int).Cmp
mov eax, dword [esp + 0x5c]
lea ecx, [eax + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 8]
test edx, edx
jge 0x53661e
lea edx, [0x6267e0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov edx, dword [0x7e38e0]
lea ebx, [eax + 4]
test edx, edx
jne 0x5365fd
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
test byte [eax], al
mov ebx, dword [0x7e38e0]
lea ebp, [eax + 0x10]
test ebx, ebx
jne 0x5365dc
mov ebx, dword [esp + 0x40]
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call dbg.math/big.(*Int).BitLen
mov eax, dword [esp + 4]
lea ecx, [0x5fc720]
mov dword [esp], ecx
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [eax + ecx + 7]
sar eax, 3
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call dbg.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
cmp esi, ecx
jle 0x5364fb
test esi, esi
jbe 0x5364f4
movzx eax, byte [ebp]
test al, al
jne 0x53648d
lea eax, [esi - 1]
mov dword [ebx + 8], eax
lea eax, [edi - 1]
mov dword [ebx + 0xc], eax
mov eax, dword [0x7e38e0]
lea esi, [edi - 2]
sar esi, 0x1f
xor esi, 0xffffffff
and esi, 1
add ebp, esi
test eax, eax
jne 0x53646f
mov dword [ebx + 4], ebp
mov eax, dword [esp + 0x38]
jmp 0x53641d
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
jmp 0x536469
lea eax, [0x605da0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x20
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x5364dc
lea ecx, [0x64175a]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x724b30]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp], eax
lea ecx, [0x64175a]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5364bc
call dbg.runtime.panicindex
ud2
mov ebx, ecx
sub ecx, esi
cmp ecx, ebx
ja 0x5365d5
mov edi, ebx
sub ebx, ecx
sub edx, ecx
dec edx
sar edx, 0x1f
xor edx, 0xffffffff
and ecx, edx
add ecx, eax
cmp ebx, esi
jle 0x5365ce
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call dbg.runtime.memmove
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [0x7e38e0]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx + 8]
test eax, eax
jne 0x5365b8
mov dword [ebx + 8], ecx
mov eax, dword [0x7e38e0]
lea ecx, [ebx + 0xc]
test eax, eax
jne 0x5365a6
mov dword [ebx + 0xc], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov ebx, dword [esp + 0x3c]
jmp 0x536588
mov dword [esp], ebp
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
jmp 0x536578
mov esi, ebx
jmp 0x536520
call dbg.runtime.panicslice
ud2
mov dword [esp], ebp
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
jmp 0x5363cf
mov dword [esp], ebx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
jmp 0x5363b5
lea eax, [0x605da0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x2e
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x53666d
lea ecx, [0x644e32]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x724b30]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp], eax
lea ecx, [0x644e32]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x53664d
lea eax, [0x605da0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0x1c
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x5366d4
lea ecx, [0x6400b5]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x724b30]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp], eax
lea ecx, [0x6400b5]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x5366b4
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 dbg.crypto/x509.namedCurveFromOID
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x5362f4
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], eax
lea eax, [0x5fbe20]
mov dword [esp], eax
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x643484]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call dbg.fmt.Errorf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x64312c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
lea edx, [0x605da0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x536827
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x724b30]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x536807
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509.parseECPrivateKey