Function at 0x595a60
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 0x5962d1
sub esp, 0x74
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046a9f4
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x596234
mov edx, dword [ecx + 8]
cmp edx, 0x4bcec15d
ja 0x595f49
cmp edx, 0x11264b08
jne 0x595e2f
lea edx, [0x602d40]
cmp ecx, edx
jne 0x596234
nop
lea eax, [0x5f1980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [eax + 8]
cmp ecx, 0x85
ja 0x595ae8
mov ebp, ecx
mov esi, 0x85
jmp 0x595b28
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x85
mov dword [esp + 0xc], ecx
lea eax, [0x5f3fe0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
lea edx, [0x668c44]
cmp ecx, edx
jne 0x595bac
mov edx, dword [eax + 4]
mov ebx, dword [0x77f068]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x595ba2
mov eax, dword [0x77f980]
mov ecx, dword [0x77f984]
mov edx, dword [0x77f988]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
jmp 0x595d77
mov eax, dword [esp + 0x7c]
lea edx, [0x668c44]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
cmp ecx, edx
jne 0x595c02
mov edx, dword [0x77f068]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x595bfa
mov eax, dword [0x77f980]
mov ecx, dword [0x77f984]
mov edx, dword [0x77f988]
mov ebx, eax
mov eax, 1
jmp 0x595ce9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
lea edx, [0x668ab8]
cmp ecx, edx
jne 0x595c51
mov edx, dword [0x77f05c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x595c49
mov eax, dword [0x77f9b0]
mov ecx, dword [0x77f9b4]
mov edx, dword [0x77f9b8]
mov ebx, eax
mov eax, 1
jmp 0x595ce9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
lea edx, [0x668adc]
cmp ecx, edx
jne 0x595c9d
mov edx, dword [0x77f060]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x595c95
mov eax, dword [0x77f9c0]
mov ecx, dword [0x77f9c4]
mov edx, dword [0x77f9c8]
mov ebx, eax
mov eax, 1
jmp 0x595ce9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
lea edx, [0x668b00]
cmp ecx, edx
jne 0x595ce1
mov edx, dword [0x77f064]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x595ce1
mov eax, dword [0x77f9d0]
mov ecx, dword [0x77f9d4]
mov edx, dword [0x77f9d8]
mov ebx, eax
mov eax, 1
jmp 0x595ce9
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
test al, al
je 0x595dbf
mov eax, dword [0x77f970]
mov ebp, dword [0x77f974]
mov esi, dword [0x77f978]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5fb8e0]
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 + 0x1c]
test eax, eax
jne 0x595d88
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
jmp 0x596205
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x88], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0x74
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov dword [eax + 4], 0x20
lea ecx, [0x620818]
mov dword [eax], ecx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046a9f4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6681c0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc0], eax
add esp, 0x74
ret
cmp edx, 0x4bcec15d
jne 0x596234
lea edx, [0x5fb220]
cmp ecx, edx
jne 0x596234
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
lea eax, [0x5fd1a0]
mov dword [esp], eax
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x5fd1a0]
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 + 0x1c]
test eax, eax
jne 0x595efa
mov eax, dword [0x77f950]
mov ecx, dword [0x77f954]
mov ebx, dword [0x77f958]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
lea edi, [esp + 0x98]
mov eax, esi
lea esi, [0x783a80]
call fcn.0046aeb6
jmp 0x596205
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x8c]
mov edx, eax
xor eax, eax
call fcn.0046a9f4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xbc], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc0], ecx
add esp, 0x74
ret
cmp edx, 0x8c7bd38d
jne 0x5961be
lea edx, [0x60b2a0]
cmp ecx, edx
jne 0x596234
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.crypto_x509.oidFromNamedCurve
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test al, al
je 0x59614e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x7c]
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 0x5960de
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call sym.crypto_elliptic.Marshal
mov eax, dword [0x77f970]
mov ecx, dword [0x77f974]
mov edx, dword [0x77f978]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x5fb8e0]
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 + 0x1c]
test eax, eax
jne 0x5960a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebx
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
jmp 0x596205
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x88], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0x74
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 0x27
lea ecx, [0x623425]
mov dword [eax], ecx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046a9f4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6681c0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
add esp, 0x74
ret
lea eax, [0x5fa0e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax + 4], 0x20
lea ecx, [0x620818]
mov dword [eax], ecx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046a9f4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6681c0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], eax
add esp, 0x74
ret
cmp edx, 0xc0d9e4a4
jne 0x596234
lea edx, [0x5f8440]
cmp ecx, edx
jne 0x596234
mov eax, dword [0x77f990]
mov ecx, dword [0x77f994]
mov ebx, dword [0x77f998]
mov edi, dword [esp + 0x7c]
mov edx, dword [edi]
mov ebp, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov eax, esi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0x74
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
lea eax, [0x6229d4]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x50]
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 + 0x60], ecx
lea edi, [esp + 0x8c]
mov edx, eax
xor eax, eax
call fcn.0046a9f4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc0], eax
add esp, 0x74
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.marshalPublicKey